@azure/arm-databricks 3.0.0-beta.3 → 3.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/index.js +233 -62
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/outboundNetworkDependenciesEndpointsListSample.js +2 -2
  8. package/dist-esm/src/azureDatabricksManagementClient.d.ts +2 -0
  9. package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -1
  10. package/dist-esm/src/azureDatabricksManagementClient.js +49 -18
  11. package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -1
  12. package/dist-esm/src/index.d.ts +1 -0
  13. package/dist-esm/src/index.d.ts.map +1 -1
  14. package/dist-esm/src/index.js +1 -0
  15. package/dist-esm/src/index.js.map +1 -1
  16. package/dist-esm/src/models/index.d.ts +48 -6
  17. package/dist-esm/src/models/index.d.ts.map +1 -1
  18. package/dist-esm/src/models/index.js +42 -0
  19. package/dist-esm/src/models/index.js.map +1 -1
  20. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  21. package/dist-esm/src/operations/operations.js +19 -7
  22. package/dist-esm/src/operations/operations.js.map +1 -1
  23. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +1 -1
  24. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +1 -1
  25. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  26. package/dist-esm/src/operations/privateEndpointConnections.js +19 -7
  27. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  28. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
  29. package/dist-esm/src/operations/privateLinkResources.js +19 -7
  30. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  31. package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -1
  32. package/dist-esm/src/operations/vNetPeering.js +19 -7
  33. package/dist-esm/src/operations/vNetPeering.js.map +1 -1
  34. package/dist-esm/src/operations/workspaces.d.ts.map +1 -1
  35. package/dist-esm/src/operations/workspaces.js +37 -14
  36. package/dist-esm/src/operations/workspaces.js.map +1 -1
  37. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +1 -1
  38. package/dist-esm/src/pagingHelper.d.ts +13 -0
  39. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  40. package/dist-esm/src/pagingHelper.js +32 -0
  41. package/dist-esm/src/pagingHelper.js.map +1 -0
  42. package/dist-esm/test/databricks_examples.d.ts.map +1 -1
  43. package/dist-esm/test/databricks_examples.js +16 -18
  44. package/dist-esm/test/databricks_examples.js.map +1 -1
  45. package/package.json +14 -10
  46. package/review/arm-databricks.api.md +20 -59
  47. package/src/azureDatabricksManagementClient.ts +60 -20
  48. package/src/index.ts +1 -0
  49. package/src/models/index.ts +48 -6
  50. package/src/operations/operations.ts +21 -8
  51. package/src/operations/outboundNetworkDependenciesEndpoints.ts +1 -1
  52. package/src/operations/privateEndpointConnections.ts +26 -8
  53. package/src/operations/privateLinkResources.ts +26 -8
  54. package/src/operations/vNetPeering.ts +27 -13
  55. package/src/operations/workspaces.ts +46 -17
  56. package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +1 -1
  57. package/src/pagingHelper.ts +39 -0
  58. package/types/arm-databricks.d.ts +60 -7
  59. package/types/tsdoc-metadata.json +1 -1
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { PrivateEndpointConnections } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -60,8 +61,16 @@ export class PrivateEndpointConnectionsImpl
60
61
  [Symbol.asyncIterator]() {
61
62
  return this;
62
63
  },
63
- byPage: () => {
64
- return this.listPagingPage(resourceGroupName, workspaceName, options);
64
+ byPage: (settings?: PageSettings) => {
65
+ if (settings?.maxPageSize) {
66
+ throw new Error("maxPageSize is not supported by this operation.");
67
+ }
68
+ return this.listPagingPage(
69
+ resourceGroupName,
70
+ workspaceName,
71
+ options,
72
+ settings
73
+ );
65
74
  }
66
75
  };
67
76
  }
@@ -69,11 +78,18 @@ export class PrivateEndpointConnectionsImpl
69
78
  private async *listPagingPage(
70
79
  resourceGroupName: string,
71
80
  workspaceName: string,
72
- options?: PrivateEndpointConnectionsListOptionalParams
81
+ options?: PrivateEndpointConnectionsListOptionalParams,
82
+ settings?: PageSettings
73
83
  ): AsyncIterableIterator<PrivateEndpointConnection[]> {
74
- let result = await this._list(resourceGroupName, workspaceName, options);
75
- yield result.value || [];
76
- let continuationToken = result.nextLink;
84
+ let result: PrivateEndpointConnectionsListResponse;
85
+ let continuationToken = settings?.continuationToken;
86
+ if (!continuationToken) {
87
+ result = await this._list(resourceGroupName, workspaceName, options);
88
+ let page = result.value || [];
89
+ continuationToken = result.nextLink;
90
+ setContinuationToken(page, continuationToken);
91
+ yield page;
92
+ }
77
93
  while (continuationToken) {
78
94
  result = await this._listNext(
79
95
  resourceGroupName,
@@ -82,7 +98,9 @@ export class PrivateEndpointConnectionsImpl
82
98
  options
83
99
  );
84
100
  continuationToken = result.nextLink;
85
- yield result.value || [];
101
+ let page = result.value || [];
102
+ setContinuationToken(page, continuationToken);
103
+ yield page;
86
104
  }
87
105
  }
88
106
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { PrivateLinkResources } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -54,8 +55,16 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
54
55
  [Symbol.asyncIterator]() {
55
56
  return this;
56
57
  },
57
- byPage: () => {
58
- return this.listPagingPage(resourceGroupName, workspaceName, options);
58
+ byPage: (settings?: PageSettings) => {
59
+ if (settings?.maxPageSize) {
60
+ throw new Error("maxPageSize is not supported by this operation.");
61
+ }
62
+ return this.listPagingPage(
63
+ resourceGroupName,
64
+ workspaceName,
65
+ options,
66
+ settings
67
+ );
59
68
  }
60
69
  };
61
70
  }
@@ -63,11 +72,18 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
63
72
  private async *listPagingPage(
64
73
  resourceGroupName: string,
65
74
  workspaceName: string,
66
- options?: PrivateLinkResourcesListOptionalParams
75
+ options?: PrivateLinkResourcesListOptionalParams,
76
+ settings?: PageSettings
67
77
  ): AsyncIterableIterator<GroupIdInformation[]> {
68
- let result = await this._list(resourceGroupName, workspaceName, options);
69
- yield result.value || [];
70
- let continuationToken = result.nextLink;
78
+ let result: PrivateLinkResourcesListResponse;
79
+ let continuationToken = settings?.continuationToken;
80
+ if (!continuationToken) {
81
+ result = await this._list(resourceGroupName, workspaceName, options);
82
+ let page = result.value || [];
83
+ continuationToken = result.nextLink;
84
+ setContinuationToken(page, continuationToken);
85
+ yield page;
86
+ }
71
87
  while (continuationToken) {
72
88
  result = await this._listNext(
73
89
  resourceGroupName,
@@ -76,7 +92,9 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
76
92
  options
77
93
  );
78
94
  continuationToken = result.nextLink;
79
- yield result.value || [];
95
+ let page = result.value || [];
96
+ setContinuationToken(page, continuationToken);
97
+ yield page;
80
98
  }
81
99
  }
82
100
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { VNetPeering } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -18,12 +19,12 @@ import {
18
19
  VirtualNetworkPeering,
19
20
  VNetPeeringListByWorkspaceNextOptionalParams,
20
21
  VNetPeeringListByWorkspaceOptionalParams,
22
+ VNetPeeringListByWorkspaceResponse,
21
23
  VNetPeeringGetOptionalParams,
22
24
  VNetPeeringGetResponse,
23
25
  VNetPeeringDeleteOptionalParams,
24
26
  VNetPeeringCreateOrUpdateOptionalParams,
25
27
  VNetPeeringCreateOrUpdateResponse,
26
- VNetPeeringListByWorkspaceResponse,
27
28
  VNetPeeringListByWorkspaceNextResponse
28
29
  } from "../models";
29
30
 
@@ -63,11 +64,15 @@ export class VNetPeeringImpl implements VNetPeering {
63
64
  [Symbol.asyncIterator]() {
64
65
  return this;
65
66
  },
66
- byPage: () => {
67
+ byPage: (settings?: PageSettings) => {
68
+ if (settings?.maxPageSize) {
69
+ throw new Error("maxPageSize is not supported by this operation.");
70
+ }
67
71
  return this.listByWorkspacePagingPage(
68
72
  resourceGroupName,
69
73
  workspaceName,
70
- options
74
+ options,
75
+ settings
71
76
  );
72
77
  }
73
78
  };
@@ -76,15 +81,22 @@ export class VNetPeeringImpl implements VNetPeering {
76
81
  private async *listByWorkspacePagingPage(
77
82
  resourceGroupName: string,
78
83
  workspaceName: string,
79
- options?: VNetPeeringListByWorkspaceOptionalParams
84
+ options?: VNetPeeringListByWorkspaceOptionalParams,
85
+ settings?: PageSettings
80
86
  ): AsyncIterableIterator<VirtualNetworkPeering[]> {
81
- let result = await this._listByWorkspace(
82
- resourceGroupName,
83
- workspaceName,
84
- options
85
- );
86
- yield result.value || [];
87
- let continuationToken = result.nextLink;
87
+ let result: VNetPeeringListByWorkspaceResponse;
88
+ let continuationToken = settings?.continuationToken;
89
+ if (!continuationToken) {
90
+ result = await this._listByWorkspace(
91
+ resourceGroupName,
92
+ workspaceName,
93
+ options
94
+ );
95
+ let page = result.value || [];
96
+ continuationToken = result.nextLink;
97
+ setContinuationToken(page, continuationToken);
98
+ yield page;
99
+ }
88
100
  while (continuationToken) {
89
101
  result = await this._listByWorkspaceNext(
90
102
  resourceGroupName,
@@ -93,7 +105,9 @@ export class VNetPeeringImpl implements VNetPeering {
93
105
  options
94
106
  );
95
107
  continuationToken = result.nextLink;
96
- yield result.value || [];
108
+ let page = result.value || [];
109
+ setContinuationToken(page, continuationToken);
110
+ yield page;
97
111
  }
98
112
  }
99
113
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { Workspaces } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -18,8 +19,10 @@ import {
18
19
  Workspace,
19
20
  WorkspacesListByResourceGroupNextOptionalParams,
20
21
  WorkspacesListByResourceGroupOptionalParams,
22
+ WorkspacesListByResourceGroupResponse,
21
23
  WorkspacesListBySubscriptionNextOptionalParams,
22
24
  WorkspacesListBySubscriptionOptionalParams,
25
+ WorkspacesListBySubscriptionResponse,
23
26
  WorkspacesGetOptionalParams,
24
27
  WorkspacesGetResponse,
25
28
  WorkspacesDeleteOptionalParams,
@@ -28,8 +31,6 @@ import {
28
31
  WorkspaceUpdate,
29
32
  WorkspacesUpdateOptionalParams,
30
33
  WorkspacesUpdateResponse,
31
- WorkspacesListByResourceGroupResponse,
32
- WorkspacesListBySubscriptionResponse,
33
34
  WorkspacesListByResourceGroupNextResponse,
34
35
  WorkspacesListBySubscriptionNextResponse
35
36
  } from "../models";
@@ -64,19 +65,33 @@ export class WorkspacesImpl implements Workspaces {
64
65
  [Symbol.asyncIterator]() {
65
66
  return this;
66
67
  },
67
- byPage: () => {
68
- return this.listByResourceGroupPagingPage(resourceGroupName, options);
68
+ byPage: (settings?: PageSettings) => {
69
+ if (settings?.maxPageSize) {
70
+ throw new Error("maxPageSize is not supported by this operation.");
71
+ }
72
+ return this.listByResourceGroupPagingPage(
73
+ resourceGroupName,
74
+ options,
75
+ settings
76
+ );
69
77
  }
70
78
  };
71
79
  }
72
80
 
73
81
  private async *listByResourceGroupPagingPage(
74
82
  resourceGroupName: string,
75
- options?: WorkspacesListByResourceGroupOptionalParams
83
+ options?: WorkspacesListByResourceGroupOptionalParams,
84
+ settings?: PageSettings
76
85
  ): AsyncIterableIterator<Workspace[]> {
77
- let result = await this._listByResourceGroup(resourceGroupName, options);
78
- yield result.value || [];
79
- let continuationToken = result.nextLink;
86
+ let result: WorkspacesListByResourceGroupResponse;
87
+ let continuationToken = settings?.continuationToken;
88
+ if (!continuationToken) {
89
+ result = await this._listByResourceGroup(resourceGroupName, options);
90
+ let page = result.value || [];
91
+ continuationToken = result.nextLink;
92
+ setContinuationToken(page, continuationToken);
93
+ yield page;
94
+ }
80
95
  while (continuationToken) {
81
96
  result = await this._listByResourceGroupNext(
82
97
  resourceGroupName,
@@ -84,7 +99,9 @@ export class WorkspacesImpl implements Workspaces {
84
99
  options
85
100
  );
86
101
  continuationToken = result.nextLink;
87
- yield result.value || [];
102
+ let page = result.value || [];
103
+ setContinuationToken(page, continuationToken);
104
+ yield page;
88
105
  }
89
106
  }
90
107
 
@@ -115,22 +132,34 @@ export class WorkspacesImpl implements Workspaces {
115
132
  [Symbol.asyncIterator]() {
116
133
  return this;
117
134
  },
118
- byPage: () => {
119
- return this.listBySubscriptionPagingPage(options);
135
+ byPage: (settings?: PageSettings) => {
136
+ if (settings?.maxPageSize) {
137
+ throw new Error("maxPageSize is not supported by this operation.");
138
+ }
139
+ return this.listBySubscriptionPagingPage(options, settings);
120
140
  }
121
141
  };
122
142
  }
123
143
 
124
144
  private async *listBySubscriptionPagingPage(
125
- options?: WorkspacesListBySubscriptionOptionalParams
145
+ options?: WorkspacesListBySubscriptionOptionalParams,
146
+ settings?: PageSettings
126
147
  ): AsyncIterableIterator<Workspace[]> {
127
- let result = await this._listBySubscription(options);
128
- yield result.value || [];
129
- let continuationToken = result.nextLink;
148
+ let result: WorkspacesListBySubscriptionResponse;
149
+ let continuationToken = settings?.continuationToken;
150
+ if (!continuationToken) {
151
+ result = await this._listBySubscription(options);
152
+ let page = result.value || [];
153
+ continuationToken = result.nextLink;
154
+ setContinuationToken(page, continuationToken);
155
+ yield page;
156
+ }
130
157
  while (continuationToken) {
131
158
  result = await this._listBySubscriptionNext(continuationToken, options);
132
159
  continuationToken = result.nextLink;
133
- yield result.value || [];
160
+ let page = result.value || [];
161
+ setContinuationToken(page, continuationToken);
162
+ yield page;
134
163
  }
135
164
  }
136
165
 
@@ -16,7 +16,7 @@ export interface OutboundNetworkDependenciesEndpoints {
16
16
  /**
17
17
  * Gets the list of endpoints that VNET Injected Workspace calls Azure Databricks Control Plane. You
18
18
  * must configure outbound access with these endpoints. For more information, see
19
- * https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/udr
19
+ * https://docs.microsoft.com/azure/databricks/administration-guide/cloud-configurations/azure/udr
20
20
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
21
  * @param workspaceName The name of the workspace.
22
22
  * @param options The options parameters.
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export interface PageInfo {
10
+ continuationToken?: string;
11
+ }
12
+
13
+ const pageMap = new WeakMap<object, PageInfo>();
14
+
15
+ /**
16
+ * Given a result page from a pageable operation, returns a
17
+ * continuation token that can be used to begin paging from
18
+ * that point later.
19
+ * @param page A result object from calling .byPage() on a paged operation.
20
+ * @returns The continuation token that can be passed into byPage().
21
+ */
22
+ export function getContinuationToken(page: unknown): string | undefined {
23
+ if (typeof page !== "object" || page === null) {
24
+ return undefined;
25
+ }
26
+ return pageMap.get(page)?.continuationToken;
27
+ }
28
+
29
+ export function setContinuationToken(
30
+ page: unknown,
31
+ continuationToken: string | undefined
32
+ ): void {
33
+ if (typeof page !== "object" || page === null || !continuationToken) {
34
+ return;
35
+ }
36
+ const pageInfo = pageMap.get(page) ?? {};
37
+ pageInfo.continuationToken = continuationToken;
38
+ pageMap.set(page, pageInfo);
39
+ }
@@ -21,6 +21,8 @@ export declare class AzureDatabricksManagementClient extends coreClient.ServiceC
21
21
  * @param options The parameter options
22
22
  */
23
23
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureDatabricksManagementClientOptionalParams);
24
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
25
+ private addCustomApiVersionPolicy;
24
26
  workspaces: Workspaces;
25
27
  operations: Operations;
26
28
  privateLinkResources: PrivateLinkResources;
@@ -174,11 +176,20 @@ export declare interface ErrorResponse {
174
176
  error: ErrorInfo;
175
177
  }
176
178
 
179
+ /**
180
+ * Given a result page from a pageable operation, returns a
181
+ * continuation token that can be used to begin paging from
182
+ * that point later.
183
+ * @param page A result object from calling .byPage() on a paged operation.
184
+ * @returns The continuation token that can be passed into byPage().
185
+ */
186
+ export declare function getContinuationToken(page: unknown): string | undefined;
187
+
177
188
  /** The group information for creating a private endpoint on a workspace */
178
- export declare type GroupIdInformation = Resource & {
189
+ export declare interface GroupIdInformation extends Resource {
179
190
  /** The group id properties. */
180
191
  properties: GroupIdInformationProperties;
181
- };
192
+ }
182
193
 
183
194
  /** The properties for a group information object */
184
195
  export declare interface GroupIdInformationProperties {
@@ -202,87 +213,129 @@ export declare type KeySource = string;
202
213
 
203
214
  /** Known values of {@link CreatedByType} that the service accepts. */
204
215
  export declare enum KnownCreatedByType {
216
+ /** User */
205
217
  User = "User",
218
+ /** Application */
206
219
  Application = "Application",
220
+ /** ManagedIdentity */
207
221
  ManagedIdentity = "ManagedIdentity",
222
+ /** Key */
208
223
  Key = "Key"
209
224
  }
210
225
 
211
226
  /** Known values of {@link CustomParameterType} that the service accepts. */
212
227
  export declare enum KnownCustomParameterType {
228
+ /** Bool */
213
229
  Bool = "Bool",
230
+ /** Object */
214
231
  Object = "Object",
232
+ /** String */
215
233
  String = "String"
216
234
  }
217
235
 
218
236
  /** Known values of {@link EncryptionKeySource} that the service accepts. */
219
237
  export declare enum KnownEncryptionKeySource {
238
+ /** MicrosoftKeyvault */
220
239
  MicrosoftKeyvault = "Microsoft.Keyvault"
221
240
  }
222
241
 
223
242
  /** Known values of {@link KeySource} that the service accepts. */
224
243
  export declare enum KnownKeySource {
244
+ /** Default */
225
245
  Default = "Default",
246
+ /** MicrosoftKeyvault */
226
247
  MicrosoftKeyvault = "Microsoft.Keyvault"
227
248
  }
228
249
 
229
250
  /** Known values of {@link PeeringProvisioningState} that the service accepts. */
230
251
  export declare enum KnownPeeringProvisioningState {
252
+ /** Succeeded */
231
253
  Succeeded = "Succeeded",
254
+ /** Updating */
232
255
  Updating = "Updating",
256
+ /** Deleting */
233
257
  Deleting = "Deleting",
258
+ /** Failed */
234
259
  Failed = "Failed"
235
260
  }
236
261
 
237
262
  /** Known values of {@link PeeringState} that the service accepts. */
238
263
  export declare enum KnownPeeringState {
264
+ /** Initiated */
239
265
  Initiated = "Initiated",
266
+ /** Connected */
240
267
  Connected = "Connected",
268
+ /** Disconnected */
241
269
  Disconnected = "Disconnected"
242
270
  }
243
271
 
244
272
  /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
245
273
  export declare enum KnownPrivateEndpointConnectionProvisioningState {
274
+ /** Succeeded */
246
275
  Succeeded = "Succeeded",
276
+ /** Creating */
247
277
  Creating = "Creating",
278
+ /** Updating */
248
279
  Updating = "Updating",
280
+ /** Deleting */
249
281
  Deleting = "Deleting",
282
+ /** Failed */
250
283
  Failed = "Failed"
251
284
  }
252
285
 
253
286
  /** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
254
287
  export declare enum KnownPrivateLinkServiceConnectionStatus {
288
+ /** Pending */
255
289
  Pending = "Pending",
290
+ /** Approved */
256
291
  Approved = "Approved",
292
+ /** Rejected */
257
293
  Rejected = "Rejected",
294
+ /** Disconnected */
258
295
  Disconnected = "Disconnected"
259
296
  }
260
297
 
261
298
  /** Known values of {@link ProvisioningState} that the service accepts. */
262
299
  export declare enum KnownProvisioningState {
300
+ /** Accepted */
263
301
  Accepted = "Accepted",
302
+ /** Running */
264
303
  Running = "Running",
304
+ /** Ready */
265
305
  Ready = "Ready",
306
+ /** Creating */
266
307
  Creating = "Creating",
308
+ /** Created */
267
309
  Created = "Created",
310
+ /** Deleting */
268
311
  Deleting = "Deleting",
312
+ /** Deleted */
269
313
  Deleted = "Deleted",
314
+ /** Canceled */
270
315
  Canceled = "Canceled",
316
+ /** Failed */
271
317
  Failed = "Failed",
318
+ /** Succeeded */
272
319
  Succeeded = "Succeeded",
320
+ /** Updating */
273
321
  Updating = "Updating"
274
322
  }
275
323
 
276
324
  /** Known values of {@link PublicNetworkAccess} that the service accepts. */
277
325
  export declare enum KnownPublicNetworkAccess {
326
+ /** Enabled */
278
327
  Enabled = "Enabled",
328
+ /** Disabled */
279
329
  Disabled = "Disabled"
280
330
  }
281
331
 
282
332
  /** Known values of {@link RequiredNsgRules} that the service accepts. */
283
333
  export declare enum KnownRequiredNsgRules {
334
+ /** AllRules */
284
335
  AllRules = "AllRules",
336
+ /** NoAzureDatabricksRules */
285
337
  NoAzureDatabricksRules = "NoAzureDatabricksRules",
338
+ /** NoAzureServiceRules */
286
339
  NoAzureServiceRules = "NoAzureServiceRules"
287
340
  }
288
341
 
@@ -367,7 +420,7 @@ export declare interface OutboundNetworkDependenciesEndpoints {
367
420
  /**
368
421
  * Gets the list of endpoints that VNET Injected Workspace calls Azure Databricks Control Plane. You
369
422
  * must configure outbound access with these endpoints. For more information, see
370
- * https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/udr
423
+ * https://docs.microsoft.com/azure/databricks/administration-guide/cloud-configurations/azure/udr
371
424
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
372
425
  * @param workspaceName The name of the workspace.
373
426
  * @param options The options parameters.
@@ -716,14 +769,14 @@ export declare interface SystemData {
716
769
  }
717
770
 
718
771
  /** The resource model definition for a ARM tracked top level resource */
719
- export declare type TrackedResource = Resource & {
772
+ export declare interface TrackedResource extends Resource {
720
773
  /** Resource tags. */
721
774
  tags?: {
722
775
  [propertyName: string]: string;
723
776
  };
724
777
  /** The geo-location where the resource lives */
725
778
  location: string;
726
- };
779
+ }
727
780
 
728
781
  /** Peerings in a VirtualNetwork resource */
729
782
  export declare interface VirtualNetworkPeering {
@@ -884,7 +937,7 @@ export declare interface VNetPeeringListByWorkspaceOptionalParams extends coreCl
884
937
  export declare type VNetPeeringListByWorkspaceResponse = VirtualNetworkPeeringList;
885
938
 
886
939
  /** Information about workspace. */
887
- export declare type Workspace = TrackedResource & {
940
+ export declare interface Workspace extends TrackedResource {
888
941
  /** The SKU of the resource. */
889
942
  sku?: Sku;
890
943
  /**
@@ -937,7 +990,7 @@ export declare type Workspace = TrackedResource & {
937
990
  publicNetworkAccess?: PublicNetworkAccess;
938
991
  /** Gets or sets a value indicating whether data plane (clusters) to control plane communication happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'. 'NoAzureServiceRules' value is for internal use only. */
939
992
  requiredNsgRules?: RequiredNsgRules;
940
- };
993
+ }
941
994
 
942
995
  /** The value which should be used for this field. */
943
996
  export declare interface WorkspaceCustomBooleanParameter {
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.22.1"
8
+ "packageVersion": "7.33.6"
9
9
  }
10
10
  ]
11
11
  }