@azure/arm-databricks 2.0.0 → 3.0.0-beta.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.
Files changed (188) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +66 -82
  4. package/dist/index.js +3186 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/azureDatabricksManagementClient.d.ts +20 -0
  9. package/dist-esm/src/azureDatabricksManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/azureDatabricksManagementClient.js +27 -0
  11. package/dist-esm/src/azureDatabricksManagementClient.js.map +1 -0
  12. package/dist-esm/src/azureDatabricksManagementClientContext.d.ts +16 -0
  13. package/dist-esm/src/azureDatabricksManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/azureDatabricksManagementClientContext.js +49 -0
  15. package/dist-esm/src/azureDatabricksManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +839 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/dist-esm/src/models/index.js +94 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +44 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +578 -549
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +17 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/models/parameters.js +77 -51
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/dist-esm/src/operations/index.js +14 -0
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/operations.d.ts +32 -0
  41. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/operations.js +120 -0
  43. package/dist-esm/src/operations/operations.js.map +1 -0
  44. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts +22 -0
  45. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  46. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js +65 -0
  47. package/dist-esm/src/operations/outboundNetworkDependenciesEndpoints.js.map +1 -0
  48. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  49. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  50. package/dist-esm/src/operations/privateEndpointConnections.js +347 -0
  51. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  52. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  53. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  54. package/dist-esm/src/operations/privateLinkResources.js +169 -0
  55. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  56. package/dist-esm/src/operations/vNetPeering.d.ts +81 -0
  57. package/dist-esm/src/operations/vNetPeering.d.ts.map +1 -0
  58. package/dist-esm/src/operations/vNetPeering.js +338 -0
  59. package/dist-esm/src/operations/vNetPeering.js.map +1 -0
  60. package/dist-esm/src/operations/workspaces.d.ts +107 -0
  61. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  62. package/dist-esm/src/operations/workspaces.js +500 -0
  63. package/dist-esm/src/operations/workspaces.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  67. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts +14 -0
  73. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.d.ts.map +1 -0
  74. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js} +2 -9
  75. package/dist-esm/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  77. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  78. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/privateEndpointConnections.js} +2 -2
  79. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  81. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts +56 -0
  85. package/dist-esm/src/operationsInterfaces/vNetPeering.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/vNetPeering.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/vNetPeering.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +71 -0
  89. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  92. package/dist-esm/test/databricks_examples.d.ts +2 -0
  93. package/dist-esm/test/databricks_examples.d.ts.map +1 -0
  94. package/dist-esm/test/databricks_examples.js +100 -0
  95. package/dist-esm/test/databricks_examples.js.map +1 -0
  96. package/package.json +65 -32
  97. package/review/arm-databricks.api.md +742 -0
  98. package/rollup.config.js +181 -30
  99. package/src/azureDatabricksManagementClient.ts +42 -39
  100. package/src/azureDatabricksManagementClientContext.ts +45 -40
  101. package/src/index.ts +13 -0
  102. package/src/lroImpl.ts +34 -0
  103. package/src/models/index.ts +712 -1127
  104. package/src/models/mappers.ts +585 -552
  105. package/src/models/parameters.ts +101 -52
  106. package/src/operations/index.ts +2 -2
  107. package/src/operations/operations.ts +82 -70
  108. package/src/operations/outboundNetworkDependenciesEndpoints.ts +85 -0
  109. package/src/operations/privateEndpointConnections.ts +326 -184
  110. package/src/operations/privateLinkResources.ts +141 -123
  111. package/src/operations/vNetPeering.ts +349 -199
  112. package/src/operations/workspaces.ts +503 -308
  113. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +3 -3
  114. package/src/operationsInterfaces/operations.ts +22 -0
  115. package/src/operationsInterfaces/outboundNetworkDependenciesEndpoints.ts +29 -0
  116. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  117. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  118. package/src/operationsInterfaces/vNetPeering.ts +109 -0
  119. package/src/operationsInterfaces/workspaces.ts +139 -0
  120. package/tsconfig.json +3 -3
  121. package/types/arm-databricks.d.ts +1198 -0
  122. package/types/tsdoc-metadata.json +11 -0
  123. package/dist/arm-databricks.js +0 -2791
  124. package/dist/arm-databricks.js.map +0 -1
  125. package/dist/arm-databricks.min.js +0 -1
  126. package/dist/arm-databricks.min.js.map +0 -1
  127. package/esm/azureDatabricksManagementClient.d.ts +0 -28
  128. package/esm/azureDatabricksManagementClient.d.ts.map +0 -1
  129. package/esm/azureDatabricksManagementClient.js +0 -41
  130. package/esm/azureDatabricksManagementClient.js.map +0 -1
  131. package/esm/azureDatabricksManagementClientContext.d.ts +0 -21
  132. package/esm/azureDatabricksManagementClientContext.d.ts.map +0 -1
  133. package/esm/azureDatabricksManagementClientContext.js +0 -59
  134. package/esm/azureDatabricksManagementClientContext.js.map +0 -1
  135. package/esm/models/index.d.ts +0 -1273
  136. package/esm/models/index.d.ts.map +0 -1
  137. package/esm/models/index.js.map +0 -1
  138. package/esm/models/mappers.d.ts +0 -43
  139. package/esm/models/mappers.d.ts.map +0 -1
  140. package/esm/models/mappers.js.map +0 -1
  141. package/esm/models/operationsMappers.d.ts +0 -2
  142. package/esm/models/operationsMappers.d.ts.map +0 -1
  143. package/esm/models/operationsMappers.js.map +0 -1
  144. package/esm/models/parameters.d.ts +0 -12
  145. package/esm/models/parameters.d.ts.map +0 -1
  146. package/esm/models/parameters.js.map +0 -1
  147. package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
  148. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
  149. package/esm/models/privateEndpointConnectionsMappers.js +0 -9
  150. package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
  151. package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
  152. package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
  153. package/esm/models/privateLinkResourcesMappers.js +0 -9
  154. package/esm/models/privateLinkResourcesMappers.js.map +0 -1
  155. package/esm/models/vNetPeeringMappers.d.ts +0 -2
  156. package/esm/models/vNetPeeringMappers.d.ts.map +0 -1
  157. package/esm/models/vNetPeeringMappers.js +0 -9
  158. package/esm/models/vNetPeeringMappers.js.map +0 -1
  159. package/esm/models/workspacesMappers.d.ts +0 -2
  160. package/esm/models/workspacesMappers.d.ts.map +0 -1
  161. package/esm/models/workspacesMappers.js +0 -9
  162. package/esm/models/workspacesMappers.js.map +0 -1
  163. package/esm/operations/index.d.ts.map +0 -1
  164. package/esm/operations/index.js.map +0 -1
  165. package/esm/operations/operations.d.ts +0 -46
  166. package/esm/operations/operations.d.ts.map +0 -1
  167. package/esm/operations/operations.js +0 -79
  168. package/esm/operations/operations.js.map +0 -1
  169. package/esm/operations/privateEndpointConnections.d.ts +0 -122
  170. package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
  171. package/esm/operations/privateEndpointConnections.js +0 -240
  172. package/esm/operations/privateEndpointConnections.js.map +0 -1
  173. package/esm/operations/privateLinkResources.d.ts +0 -79
  174. package/esm/operations/privateLinkResources.d.ts.map +0 -1
  175. package/esm/operations/privateLinkResources.js +0 -119
  176. package/esm/operations/privateLinkResources.js.map +0 -1
  177. package/esm/operations/vNetPeering.d.ts +0 -115
  178. package/esm/operations/vNetPeering.d.ts.map +0 -1
  179. package/esm/operations/vNetPeering.js +0 -237
  180. package/esm/operations/vNetPeering.js.map +0 -1
  181. package/esm/operations/workspaces.d.ts +0 -156
  182. package/esm/operations/workspaces.d.ts.map +0 -1
  183. package/esm/operations/workspaces.js +0 -337
  184. package/esm/operations/workspaces.js.map +0 -1
  185. package/src/models/privateEndpointConnectionsMappers.ts +0 -43
  186. package/src/models/privateLinkResourcesMappers.ts +0 -43
  187. package/src/models/vNetPeeringMappers.ts +0 -43
  188. package/src/models/workspacesMappers.ts +0 -44
@@ -1,2791 +0,0 @@
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
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmDatabricks = {}), global.msRestAzure, global.msRest));
12
- }(this, (function (exports, msRestAzure, msRest) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- var __assign = function() {
44
- __assign = Object.assign || function __assign(t) {
45
- for (var s, i = 1, n = arguments.length; i < n; i++) {
46
- s = arguments[i];
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
- }
49
- return t;
50
- };
51
- return __assign.apply(this, arguments);
52
- };
53
-
54
- /*
55
- * Copyright (c) Microsoft Corporation.
56
- * Licensed under the MIT License.
57
- *
58
- * Code generated by Microsoft (R) AutoRest Code Generator.
59
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
60
- */
61
-
62
- var index = /*#__PURE__*/Object.freeze({
63
- __proto__: null
64
- });
65
-
66
- /*
67
- * Copyright (c) Microsoft Corporation.
68
- * Licensed under the MIT License.
69
- *
70
- * Code generated by Microsoft (R) AutoRest Code Generator.
71
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
72
- */
73
- var CloudError = msRestAzure.CloudErrorMapper;
74
- var BaseResource = msRestAzure.BaseResourceMapper;
75
- var WorkspaceCustomStringParameter = {
76
- serializedName: "WorkspaceCustomStringParameter",
77
- type: {
78
- name: "Composite",
79
- className: "WorkspaceCustomStringParameter",
80
- modelProperties: {
81
- type: {
82
- serializedName: "type",
83
- type: {
84
- name: "String"
85
- }
86
- },
87
- value: {
88
- required: true,
89
- serializedName: "value",
90
- type: {
91
- name: "String"
92
- }
93
- }
94
- }
95
- }
96
- };
97
- var WorkspaceCustomBooleanParameter = {
98
- serializedName: "WorkspaceCustomBooleanParameter",
99
- type: {
100
- name: "Composite",
101
- className: "WorkspaceCustomBooleanParameter",
102
- modelProperties: {
103
- type: {
104
- serializedName: "type",
105
- type: {
106
- name: "String"
107
- }
108
- },
109
- value: {
110
- required: true,
111
- serializedName: "value",
112
- type: {
113
- name: "Boolean"
114
- }
115
- }
116
- }
117
- }
118
- };
119
- var Encryption = {
120
- serializedName: "Encryption",
121
- type: {
122
- name: "Composite",
123
- className: "Encryption",
124
- modelProperties: {
125
- keySource: {
126
- serializedName: "keySource",
127
- defaultValue: 'Default',
128
- type: {
129
- name: "String"
130
- }
131
- },
132
- keyName: {
133
- serializedName: "KeyName",
134
- type: {
135
- name: "String"
136
- }
137
- },
138
- keyVersion: {
139
- serializedName: "keyversion",
140
- type: {
141
- name: "String"
142
- }
143
- },
144
- keyVaultUri: {
145
- serializedName: "keyvaulturi",
146
- type: {
147
- name: "String"
148
- }
149
- }
150
- }
151
- }
152
- };
153
- var WorkspaceEncryptionParameter = {
154
- serializedName: "WorkspaceEncryptionParameter",
155
- type: {
156
- name: "Composite",
157
- className: "WorkspaceEncryptionParameter",
158
- modelProperties: {
159
- type: {
160
- serializedName: "type",
161
- type: {
162
- name: "String"
163
- }
164
- },
165
- value: {
166
- serializedName: "value",
167
- type: {
168
- name: "Composite",
169
- className: "Encryption"
170
- }
171
- }
172
- }
173
- }
174
- };
175
- var WorkspaceCustomObjectParameter = {
176
- serializedName: "WorkspaceCustomObjectParameter",
177
- type: {
178
- name: "Composite",
179
- className: "WorkspaceCustomObjectParameter",
180
- modelProperties: {
181
- type: {
182
- serializedName: "type",
183
- type: {
184
- name: "String"
185
- }
186
- },
187
- value: {
188
- required: true,
189
- serializedName: "value",
190
- type: {
191
- name: "Object"
192
- }
193
- }
194
- }
195
- }
196
- };
197
- var WorkspaceCustomParameters = {
198
- serializedName: "WorkspaceCustomParameters",
199
- type: {
200
- name: "Composite",
201
- className: "WorkspaceCustomParameters",
202
- modelProperties: {
203
- amlWorkspaceId: {
204
- serializedName: "amlWorkspaceId",
205
- type: {
206
- name: "Composite",
207
- className: "WorkspaceCustomStringParameter"
208
- }
209
- },
210
- customVirtualNetworkId: {
211
- serializedName: "customVirtualNetworkId",
212
- type: {
213
- name: "Composite",
214
- className: "WorkspaceCustomStringParameter"
215
- }
216
- },
217
- customPublicSubnetName: {
218
- serializedName: "customPublicSubnetName",
219
- type: {
220
- name: "Composite",
221
- className: "WorkspaceCustomStringParameter"
222
- }
223
- },
224
- customPrivateSubnetName: {
225
- serializedName: "customPrivateSubnetName",
226
- type: {
227
- name: "Composite",
228
- className: "WorkspaceCustomStringParameter"
229
- }
230
- },
231
- enableNoPublicIp: {
232
- serializedName: "enableNoPublicIp",
233
- type: {
234
- name: "Composite",
235
- className: "WorkspaceCustomBooleanParameter"
236
- }
237
- },
238
- loadBalancerBackendPoolName: {
239
- serializedName: "loadBalancerBackendPoolName",
240
- type: {
241
- name: "Composite",
242
- className: "WorkspaceCustomStringParameter"
243
- }
244
- },
245
- loadBalancerId: {
246
- serializedName: "loadBalancerId",
247
- type: {
248
- name: "Composite",
249
- className: "WorkspaceCustomStringParameter"
250
- }
251
- },
252
- natGatewayName: {
253
- serializedName: "natGatewayName",
254
- type: {
255
- name: "Composite",
256
- className: "WorkspaceCustomStringParameter"
257
- }
258
- },
259
- publicIpName: {
260
- serializedName: "publicIpName",
261
- type: {
262
- name: "Composite",
263
- className: "WorkspaceCustomStringParameter"
264
- }
265
- },
266
- prepareEncryption: {
267
- serializedName: "prepareEncryption",
268
- type: {
269
- name: "Composite",
270
- className: "WorkspaceCustomBooleanParameter"
271
- }
272
- },
273
- encryption: {
274
- serializedName: "encryption",
275
- type: {
276
- name: "Composite",
277
- className: "WorkspaceEncryptionParameter"
278
- }
279
- },
280
- requireInfrastructureEncryption: {
281
- serializedName: "requireInfrastructureEncryption",
282
- type: {
283
- name: "Composite",
284
- className: "WorkspaceCustomBooleanParameter"
285
- }
286
- },
287
- storageAccountName: {
288
- serializedName: "storageAccountName",
289
- type: {
290
- name: "Composite",
291
- className: "WorkspaceCustomStringParameter"
292
- }
293
- },
294
- storageAccountSkuName: {
295
- serializedName: "storageAccountSkuName",
296
- type: {
297
- name: "Composite",
298
- className: "WorkspaceCustomStringParameter"
299
- }
300
- },
301
- vnetAddressPrefix: {
302
- serializedName: "vnetAddressPrefix",
303
- type: {
304
- name: "Composite",
305
- className: "WorkspaceCustomStringParameter"
306
- }
307
- },
308
- resourceTags: {
309
- readOnly: true,
310
- serializedName: "resourceTags",
311
- type: {
312
- name: "Composite",
313
- className: "WorkspaceCustomObjectParameter"
314
- }
315
- }
316
- }
317
- }
318
- };
319
- var WorkspaceProviderAuthorization = {
320
- serializedName: "WorkspaceProviderAuthorization",
321
- type: {
322
- name: "Composite",
323
- className: "WorkspaceProviderAuthorization",
324
- modelProperties: {
325
- principalId: {
326
- required: true,
327
- serializedName: "principalId",
328
- type: {
329
- name: "Uuid"
330
- }
331
- },
332
- roleDefinitionId: {
333
- required: true,
334
- serializedName: "roleDefinitionId",
335
- type: {
336
- name: "Uuid"
337
- }
338
- }
339
- }
340
- }
341
- };
342
- var CreatedBy = {
343
- serializedName: "CreatedBy",
344
- type: {
345
- name: "Composite",
346
- className: "CreatedBy",
347
- modelProperties: {
348
- oid: {
349
- readOnly: true,
350
- serializedName: "oid",
351
- type: {
352
- name: "Uuid"
353
- }
354
- },
355
- puid: {
356
- readOnly: true,
357
- serializedName: "puid",
358
- type: {
359
- name: "String"
360
- }
361
- },
362
- applicationId: {
363
- readOnly: true,
364
- serializedName: "applicationId",
365
- type: {
366
- name: "Uuid"
367
- }
368
- }
369
- }
370
- }
371
- };
372
- var ManagedIdentityConfiguration = {
373
- serializedName: "ManagedIdentityConfiguration",
374
- type: {
375
- name: "Composite",
376
- className: "ManagedIdentityConfiguration",
377
- modelProperties: {
378
- principalId: {
379
- readOnly: true,
380
- serializedName: "principalId",
381
- type: {
382
- name: "Uuid"
383
- }
384
- },
385
- tenantId: {
386
- readOnly: true,
387
- serializedName: "tenantId",
388
- type: {
389
- name: "Uuid"
390
- }
391
- },
392
- type: {
393
- readOnly: true,
394
- serializedName: "type",
395
- type: {
396
- name: "String"
397
- }
398
- }
399
- }
400
- }
401
- };
402
- var EncryptionV2KeyVaultProperties = {
403
- serializedName: "EncryptionV2_keyVaultProperties",
404
- type: {
405
- name: "Composite",
406
- className: "EncryptionV2KeyVaultProperties",
407
- modelProperties: {
408
- keyVaultUri: {
409
- required: true,
410
- serializedName: "keyVaultUri",
411
- type: {
412
- name: "String"
413
- }
414
- },
415
- keyName: {
416
- required: true,
417
- serializedName: "keyName",
418
- type: {
419
- name: "String"
420
- }
421
- },
422
- keyVersion: {
423
- required: true,
424
- serializedName: "keyVersion",
425
- type: {
426
- name: "String"
427
- }
428
- }
429
- }
430
- }
431
- };
432
- var EncryptionV2 = {
433
- serializedName: "EncryptionV2",
434
- type: {
435
- name: "Composite",
436
- className: "EncryptionV2",
437
- modelProperties: {
438
- keySource: {
439
- required: true,
440
- isConstant: true,
441
- serializedName: "keySource",
442
- defaultValue: 'Microsoft.Keyvault',
443
- type: {
444
- name: "String"
445
- }
446
- },
447
- keyVaultProperties: {
448
- serializedName: "keyVaultProperties",
449
- type: {
450
- name: "Composite",
451
- className: "EncryptionV2KeyVaultProperties"
452
- }
453
- }
454
- }
455
- }
456
- };
457
- var EncryptionEntitiesDefinition = {
458
- serializedName: "EncryptionEntitiesDefinition",
459
- type: {
460
- name: "Composite",
461
- className: "EncryptionEntitiesDefinition",
462
- modelProperties: {
463
- managedServices: {
464
- serializedName: "managedServices",
465
- type: {
466
- name: "Composite",
467
- className: "EncryptionV2"
468
- }
469
- }
470
- }
471
- }
472
- };
473
- var WorkspacePropertiesEncryption = {
474
- serializedName: "WorkspaceProperties_encryption",
475
- type: {
476
- name: "Composite",
477
- className: "WorkspacePropertiesEncryption",
478
- modelProperties: {
479
- entities: {
480
- required: true,
481
- serializedName: "entities",
482
- defaultValue: {},
483
- type: {
484
- name: "Composite",
485
- className: "EncryptionEntitiesDefinition"
486
- }
487
- }
488
- }
489
- }
490
- };
491
- var PrivateEndpoint = {
492
- serializedName: "PrivateEndpoint",
493
- type: {
494
- name: "Composite",
495
- className: "PrivateEndpoint",
496
- modelProperties: {
497
- id: {
498
- readOnly: true,
499
- serializedName: "id",
500
- type: {
501
- name: "String"
502
- }
503
- }
504
- }
505
- }
506
- };
507
- var PrivateLinkServiceConnectionState = {
508
- serializedName: "PrivateLinkServiceConnectionState",
509
- type: {
510
- name: "Composite",
511
- className: "PrivateLinkServiceConnectionState",
512
- modelProperties: {
513
- status: {
514
- required: true,
515
- serializedName: "status",
516
- type: {
517
- name: "String"
518
- }
519
- },
520
- description: {
521
- serializedName: "description",
522
- type: {
523
- name: "String"
524
- }
525
- },
526
- actionRequired: {
527
- serializedName: "actionRequired",
528
- type: {
529
- name: "String"
530
- }
531
- }
532
- }
533
- }
534
- };
535
- var PrivateEndpointConnectionProperties = {
536
- serializedName: "PrivateEndpointConnectionProperties",
537
- type: {
538
- name: "Composite",
539
- className: "PrivateEndpointConnectionProperties",
540
- modelProperties: {
541
- privateEndpoint: {
542
- serializedName: "privateEndpoint",
543
- type: {
544
- name: "Composite",
545
- className: "PrivateEndpoint"
546
- }
547
- },
548
- privateLinkServiceConnectionState: {
549
- required: true,
550
- serializedName: "privateLinkServiceConnectionState",
551
- type: {
552
- name: "Composite",
553
- className: "PrivateLinkServiceConnectionState"
554
- }
555
- },
556
- provisioningState: {
557
- serializedName: "provisioningState",
558
- type: {
559
- name: "String"
560
- }
561
- }
562
- }
563
- }
564
- };
565
- var PrivateEndpointConnection = {
566
- serializedName: "PrivateEndpointConnection",
567
- type: {
568
- name: "Composite",
569
- className: "PrivateEndpointConnection",
570
- modelProperties: {
571
- id: {
572
- readOnly: true,
573
- serializedName: "id",
574
- type: {
575
- name: "String"
576
- }
577
- },
578
- name: {
579
- readOnly: true,
580
- serializedName: "name",
581
- type: {
582
- name: "String"
583
- }
584
- },
585
- type: {
586
- readOnly: true,
587
- serializedName: "type",
588
- type: {
589
- name: "String"
590
- }
591
- },
592
- properties: {
593
- required: true,
594
- serializedName: "properties",
595
- type: {
596
- name: "Composite",
597
- className: "PrivateEndpointConnectionProperties"
598
- }
599
- }
600
- }
601
- }
602
- };
603
- var Sku = {
604
- serializedName: "Sku",
605
- type: {
606
- name: "Composite",
607
- className: "Sku",
608
- modelProperties: {
609
- name: {
610
- required: true,
611
- serializedName: "name",
612
- type: {
613
- name: "String"
614
- }
615
- },
616
- tier: {
617
- serializedName: "tier",
618
- type: {
619
- name: "String"
620
- }
621
- }
622
- }
623
- }
624
- };
625
- var SystemData = {
626
- serializedName: "systemData",
627
- type: {
628
- name: "Composite",
629
- className: "SystemData",
630
- modelProperties: {
631
- createdBy: {
632
- serializedName: "createdBy",
633
- type: {
634
- name: "String"
635
- }
636
- },
637
- createdByType: {
638
- serializedName: "createdByType",
639
- type: {
640
- name: "String"
641
- }
642
- },
643
- createdAt: {
644
- serializedName: "createdAt",
645
- type: {
646
- name: "DateTime"
647
- }
648
- },
649
- lastModifiedBy: {
650
- serializedName: "lastModifiedBy",
651
- type: {
652
- name: "String"
653
- }
654
- },
655
- lastModifiedByType: {
656
- serializedName: "lastModifiedByType",
657
- type: {
658
- name: "String"
659
- }
660
- },
661
- lastModifiedAt: {
662
- serializedName: "lastModifiedAt",
663
- type: {
664
- name: "DateTime"
665
- }
666
- }
667
- }
668
- }
669
- };
670
- var Resource = {
671
- serializedName: "Resource",
672
- type: {
673
- name: "Composite",
674
- className: "Resource",
675
- modelProperties: {
676
- id: {
677
- readOnly: true,
678
- serializedName: "id",
679
- type: {
680
- name: "String"
681
- }
682
- },
683
- name: {
684
- readOnly: true,
685
- serializedName: "name",
686
- type: {
687
- name: "String"
688
- }
689
- },
690
- type: {
691
- readOnly: true,
692
- serializedName: "type",
693
- type: {
694
- name: "String"
695
- }
696
- }
697
- }
698
- }
699
- };
700
- var TrackedResource = {
701
- serializedName: "TrackedResource",
702
- type: {
703
- name: "Composite",
704
- className: "TrackedResource",
705
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
706
- serializedName: "tags",
707
- type: {
708
- name: "Dictionary",
709
- value: {
710
- type: {
711
- name: "String"
712
- }
713
- }
714
- }
715
- }, location: {
716
- required: true,
717
- serializedName: "location",
718
- type: {
719
- name: "String"
720
- }
721
- } })
722
- }
723
- };
724
- var Workspace = {
725
- serializedName: "Workspace",
726
- type: {
727
- name: "Composite",
728
- className: "Workspace",
729
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { managedResourceGroupId: {
730
- required: true,
731
- serializedName: "properties.managedResourceGroupId",
732
- type: {
733
- name: "String"
734
- }
735
- }, parameters: {
736
- serializedName: "properties.parameters",
737
- type: {
738
- name: "Composite",
739
- className: "WorkspaceCustomParameters"
740
- }
741
- }, provisioningState: {
742
- readOnly: true,
743
- serializedName: "properties.provisioningState",
744
- type: {
745
- name: "String"
746
- }
747
- }, uiDefinitionUri: {
748
- serializedName: "properties.uiDefinitionUri",
749
- type: {
750
- name: "String"
751
- }
752
- }, authorizations: {
753
- serializedName: "properties.authorizations",
754
- type: {
755
- name: "Sequence",
756
- element: {
757
- type: {
758
- name: "Composite",
759
- className: "WorkspaceProviderAuthorization"
760
- }
761
- }
762
- }
763
- }, createdBy: {
764
- serializedName: "properties.createdBy",
765
- type: {
766
- name: "Composite",
767
- className: "CreatedBy"
768
- }
769
- }, updatedBy: {
770
- serializedName: "properties.updatedBy",
771
- type: {
772
- name: "Composite",
773
- className: "CreatedBy"
774
- }
775
- }, createdDateTime: {
776
- serializedName: "properties.createdDateTime",
777
- type: {
778
- name: "DateTime"
779
- }
780
- }, workspaceId: {
781
- readOnly: true,
782
- serializedName: "properties.workspaceId",
783
- type: {
784
- name: "String"
785
- }
786
- }, workspaceUrl: {
787
- readOnly: true,
788
- serializedName: "properties.workspaceUrl",
789
- type: {
790
- name: "String"
791
- }
792
- }, storageAccountIdentity: {
793
- serializedName: "properties.storageAccountIdentity",
794
- type: {
795
- name: "Composite",
796
- className: "ManagedIdentityConfiguration"
797
- }
798
- }, encryption: {
799
- serializedName: "properties.encryption",
800
- type: {
801
- name: "Composite",
802
- className: "WorkspacePropertiesEncryption"
803
- }
804
- }, privateEndpointConnections: {
805
- readOnly: true,
806
- serializedName: "properties.privateEndpointConnections",
807
- type: {
808
- name: "Sequence",
809
- element: {
810
- type: {
811
- name: "Composite",
812
- className: "PrivateEndpointConnection"
813
- }
814
- }
815
- }
816
- }, publicNetworkAccess: {
817
- serializedName: "properties.publicNetworkAccess",
818
- type: {
819
- name: "String"
820
- }
821
- }, requiredNsgRules: {
822
- serializedName: "properties.requiredNsgRules",
823
- type: {
824
- name: "String"
825
- }
826
- }, sku: {
827
- serializedName: "sku",
828
- type: {
829
- name: "Composite",
830
- className: "Sku"
831
- }
832
- }, systemData: {
833
- readOnly: true,
834
- serializedName: "systemData",
835
- type: {
836
- name: "Composite",
837
- className: "SystemData"
838
- }
839
- } })
840
- }
841
- };
842
- var WorkspaceUpdate = {
843
- serializedName: "WorkspaceUpdate",
844
- type: {
845
- name: "Composite",
846
- className: "WorkspaceUpdate",
847
- modelProperties: {
848
- tags: {
849
- serializedName: "tags",
850
- type: {
851
- name: "Dictionary",
852
- value: {
853
- type: {
854
- name: "String"
855
- }
856
- }
857
- }
858
- }
859
- }
860
- }
861
- };
862
- var ErrorDetail = {
863
- serializedName: "ErrorDetail",
864
- type: {
865
- name: "Composite",
866
- className: "ErrorDetail",
867
- modelProperties: {
868
- code: {
869
- required: true,
870
- serializedName: "code",
871
- type: {
872
- name: "String"
873
- }
874
- },
875
- message: {
876
- required: true,
877
- serializedName: "message",
878
- type: {
879
- name: "String"
880
- }
881
- },
882
- target: {
883
- serializedName: "target",
884
- type: {
885
- name: "String"
886
- }
887
- }
888
- }
889
- }
890
- };
891
- var ErrorInfo = {
892
- serializedName: "ErrorInfo",
893
- type: {
894
- name: "Composite",
895
- className: "ErrorInfo",
896
- modelProperties: {
897
- code: {
898
- required: true,
899
- serializedName: "code",
900
- type: {
901
- name: "String"
902
- }
903
- },
904
- message: {
905
- required: true,
906
- serializedName: "message",
907
- type: {
908
- name: "String"
909
- }
910
- },
911
- details: {
912
- serializedName: "details",
913
- type: {
914
- name: "Sequence",
915
- element: {
916
- type: {
917
- name: "Composite",
918
- className: "ErrorDetail"
919
- }
920
- }
921
- }
922
- },
923
- innererror: {
924
- serializedName: "innererror",
925
- type: {
926
- name: "String"
927
- }
928
- }
929
- }
930
- }
931
- };
932
- var ErrorResponse = {
933
- serializedName: "ErrorResponse",
934
- type: {
935
- name: "Composite",
936
- className: "ErrorResponse",
937
- modelProperties: {
938
- error: {
939
- required: true,
940
- serializedName: "error",
941
- type: {
942
- name: "Composite",
943
- className: "ErrorInfo"
944
- }
945
- }
946
- }
947
- }
948
- };
949
- var OperationDisplay = {
950
- serializedName: "Operation_display",
951
- type: {
952
- name: "Composite",
953
- className: "OperationDisplay",
954
- modelProperties: {
955
- provider: {
956
- serializedName: "provider",
957
- type: {
958
- name: "String"
959
- }
960
- },
961
- resource: {
962
- serializedName: "resource",
963
- type: {
964
- name: "String"
965
- }
966
- },
967
- operation: {
968
- serializedName: "operation",
969
- type: {
970
- name: "String"
971
- }
972
- }
973
- }
974
- }
975
- };
976
- var Operation = {
977
- serializedName: "Operation",
978
- type: {
979
- name: "Composite",
980
- className: "Operation",
981
- modelProperties: {
982
- name: {
983
- serializedName: "name",
984
- type: {
985
- name: "String"
986
- }
987
- },
988
- display: {
989
- serializedName: "display",
990
- type: {
991
- name: "Composite",
992
- className: "OperationDisplay"
993
- }
994
- }
995
- }
996
- }
997
- };
998
- var GroupIdInformationProperties = {
999
- serializedName: "GroupIdInformationProperties",
1000
- type: {
1001
- name: "Composite",
1002
- className: "GroupIdInformationProperties",
1003
- modelProperties: {
1004
- groupId: {
1005
- serializedName: "groupId",
1006
- type: {
1007
- name: "String"
1008
- }
1009
- },
1010
- requiredMembers: {
1011
- serializedName: "requiredMembers",
1012
- type: {
1013
- name: "Sequence",
1014
- element: {
1015
- type: {
1016
- name: "String"
1017
- }
1018
- }
1019
- }
1020
- },
1021
- requiredZoneNames: {
1022
- serializedName: "requiredZoneNames",
1023
- type: {
1024
- name: "Sequence",
1025
- element: {
1026
- type: {
1027
- name: "String"
1028
- }
1029
- }
1030
- }
1031
- }
1032
- }
1033
- }
1034
- };
1035
- var GroupIdInformation = {
1036
- serializedName: "GroupIdInformation",
1037
- type: {
1038
- name: "Composite",
1039
- className: "GroupIdInformation",
1040
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { properties: {
1041
- required: true,
1042
- serializedName: "properties",
1043
- type: {
1044
- name: "Composite",
1045
- className: "GroupIdInformationProperties"
1046
- }
1047
- } })
1048
- }
1049
- };
1050
- var VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork = {
1051
- serializedName: "VirtualNetworkPeeringPropertiesFormat_databricksVirtualNetwork",
1052
- type: {
1053
- name: "Composite",
1054
- className: "VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork",
1055
- modelProperties: {
1056
- id: {
1057
- serializedName: "id",
1058
- type: {
1059
- name: "String"
1060
- }
1061
- }
1062
- }
1063
- }
1064
- };
1065
- var AddressSpace = {
1066
- serializedName: "AddressSpace",
1067
- type: {
1068
- name: "Composite",
1069
- className: "AddressSpace",
1070
- modelProperties: {
1071
- addressPrefixes: {
1072
- serializedName: "addressPrefixes",
1073
- type: {
1074
- name: "Sequence",
1075
- element: {
1076
- type: {
1077
- name: "String"
1078
- }
1079
- }
1080
- }
1081
- }
1082
- }
1083
- }
1084
- };
1085
- var VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork = {
1086
- serializedName: "VirtualNetworkPeeringPropertiesFormat_remoteVirtualNetwork",
1087
- type: {
1088
- name: "Composite",
1089
- className: "VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork",
1090
- modelProperties: {
1091
- id: {
1092
- serializedName: "id",
1093
- type: {
1094
- name: "String"
1095
- }
1096
- }
1097
- }
1098
- }
1099
- };
1100
- var VirtualNetworkPeering = {
1101
- serializedName: "VirtualNetworkPeering",
1102
- type: {
1103
- name: "Composite",
1104
- className: "VirtualNetworkPeering",
1105
- modelProperties: {
1106
- allowVirtualNetworkAccess: {
1107
- serializedName: "properties.allowVirtualNetworkAccess",
1108
- type: {
1109
- name: "Boolean"
1110
- }
1111
- },
1112
- allowForwardedTraffic: {
1113
- serializedName: "properties.allowForwardedTraffic",
1114
- type: {
1115
- name: "Boolean"
1116
- }
1117
- },
1118
- allowGatewayTransit: {
1119
- serializedName: "properties.allowGatewayTransit",
1120
- type: {
1121
- name: "Boolean"
1122
- }
1123
- },
1124
- useRemoteGateways: {
1125
- serializedName: "properties.useRemoteGateways",
1126
- type: {
1127
- name: "Boolean"
1128
- }
1129
- },
1130
- databricksVirtualNetwork: {
1131
- serializedName: "properties.databricksVirtualNetwork",
1132
- type: {
1133
- name: "Composite",
1134
- className: "VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork"
1135
- }
1136
- },
1137
- databricksAddressSpace: {
1138
- serializedName: "properties.databricksAddressSpace",
1139
- type: {
1140
- name: "Composite",
1141
- className: "AddressSpace"
1142
- }
1143
- },
1144
- remoteVirtualNetwork: {
1145
- required: true,
1146
- serializedName: "properties.remoteVirtualNetwork",
1147
- type: {
1148
- name: "Composite",
1149
- className: "VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork"
1150
- }
1151
- },
1152
- remoteAddressSpace: {
1153
- serializedName: "properties.remoteAddressSpace",
1154
- type: {
1155
- name: "Composite",
1156
- className: "AddressSpace"
1157
- }
1158
- },
1159
- peeringState: {
1160
- readOnly: true,
1161
- serializedName: "properties.peeringState",
1162
- type: {
1163
- name: "String"
1164
- }
1165
- },
1166
- provisioningState: {
1167
- readOnly: true,
1168
- serializedName: "properties.provisioningState",
1169
- type: {
1170
- name: "String"
1171
- }
1172
- },
1173
- name: {
1174
- readOnly: true,
1175
- serializedName: "name",
1176
- type: {
1177
- name: "String"
1178
- }
1179
- },
1180
- id: {
1181
- readOnly: true,
1182
- serializedName: "id",
1183
- type: {
1184
- name: "String"
1185
- }
1186
- },
1187
- type: {
1188
- readOnly: true,
1189
- serializedName: "type",
1190
- type: {
1191
- name: "String"
1192
- }
1193
- }
1194
- }
1195
- }
1196
- };
1197
- var WorkspaceListResult = {
1198
- serializedName: "WorkspaceListResult",
1199
- type: {
1200
- name: "Composite",
1201
- className: "WorkspaceListResult",
1202
- modelProperties: {
1203
- value: {
1204
- serializedName: "",
1205
- type: {
1206
- name: "Sequence",
1207
- element: {
1208
- type: {
1209
- name: "Composite",
1210
- className: "Workspace"
1211
- }
1212
- }
1213
- }
1214
- },
1215
- nextLink: {
1216
- serializedName: "nextLink",
1217
- type: {
1218
- name: "String"
1219
- }
1220
- }
1221
- }
1222
- }
1223
- };
1224
- var OperationListResult = {
1225
- serializedName: "OperationListResult",
1226
- type: {
1227
- name: "Composite",
1228
- className: "OperationListResult",
1229
- modelProperties: {
1230
- value: {
1231
- serializedName: "",
1232
- type: {
1233
- name: "Sequence",
1234
- element: {
1235
- type: {
1236
- name: "Composite",
1237
- className: "Operation"
1238
- }
1239
- }
1240
- }
1241
- },
1242
- nextLink: {
1243
- serializedName: "nextLink",
1244
- type: {
1245
- name: "String"
1246
- }
1247
- }
1248
- }
1249
- }
1250
- };
1251
- var PrivateLinkResourcesList = {
1252
- serializedName: "PrivateLinkResourcesList",
1253
- type: {
1254
- name: "Composite",
1255
- className: "PrivateLinkResourcesList",
1256
- modelProperties: {
1257
- value: {
1258
- serializedName: "",
1259
- type: {
1260
- name: "Sequence",
1261
- element: {
1262
- type: {
1263
- name: "Composite",
1264
- className: "GroupIdInformation"
1265
- }
1266
- }
1267
- }
1268
- },
1269
- nextLink: {
1270
- serializedName: "nextLink",
1271
- type: {
1272
- name: "String"
1273
- }
1274
- }
1275
- }
1276
- }
1277
- };
1278
- var PrivateEndpointConnectionsList = {
1279
- serializedName: "PrivateEndpointConnectionsList",
1280
- type: {
1281
- name: "Composite",
1282
- className: "PrivateEndpointConnectionsList",
1283
- modelProperties: {
1284
- value: {
1285
- serializedName: "",
1286
- type: {
1287
- name: "Sequence",
1288
- element: {
1289
- type: {
1290
- name: "Composite",
1291
- className: "PrivateEndpointConnection"
1292
- }
1293
- }
1294
- }
1295
- },
1296
- nextLink: {
1297
- serializedName: "nextLink",
1298
- type: {
1299
- name: "String"
1300
- }
1301
- }
1302
- }
1303
- }
1304
- };
1305
- var VirtualNetworkPeeringList = {
1306
- serializedName: "VirtualNetworkPeeringList",
1307
- type: {
1308
- name: "Composite",
1309
- className: "VirtualNetworkPeeringList",
1310
- modelProperties: {
1311
- value: {
1312
- serializedName: "",
1313
- type: {
1314
- name: "Sequence",
1315
- element: {
1316
- type: {
1317
- name: "Composite",
1318
- className: "VirtualNetworkPeering"
1319
- }
1320
- }
1321
- }
1322
- },
1323
- nextLink: {
1324
- serializedName: "nextLink",
1325
- type: {
1326
- name: "String"
1327
- }
1328
- }
1329
- }
1330
- }
1331
- };
1332
-
1333
- var mappers = /*#__PURE__*/Object.freeze({
1334
- __proto__: null,
1335
- CloudError: CloudError,
1336
- BaseResource: BaseResource,
1337
- WorkspaceCustomStringParameter: WorkspaceCustomStringParameter,
1338
- WorkspaceCustomBooleanParameter: WorkspaceCustomBooleanParameter,
1339
- Encryption: Encryption,
1340
- WorkspaceEncryptionParameter: WorkspaceEncryptionParameter,
1341
- WorkspaceCustomObjectParameter: WorkspaceCustomObjectParameter,
1342
- WorkspaceCustomParameters: WorkspaceCustomParameters,
1343
- WorkspaceProviderAuthorization: WorkspaceProviderAuthorization,
1344
- CreatedBy: CreatedBy,
1345
- ManagedIdentityConfiguration: ManagedIdentityConfiguration,
1346
- EncryptionV2KeyVaultProperties: EncryptionV2KeyVaultProperties,
1347
- EncryptionV2: EncryptionV2,
1348
- EncryptionEntitiesDefinition: EncryptionEntitiesDefinition,
1349
- WorkspacePropertiesEncryption: WorkspacePropertiesEncryption,
1350
- PrivateEndpoint: PrivateEndpoint,
1351
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1352
- PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
1353
- PrivateEndpointConnection: PrivateEndpointConnection,
1354
- Sku: Sku,
1355
- SystemData: SystemData,
1356
- Resource: Resource,
1357
- TrackedResource: TrackedResource,
1358
- Workspace: Workspace,
1359
- WorkspaceUpdate: WorkspaceUpdate,
1360
- ErrorDetail: ErrorDetail,
1361
- ErrorInfo: ErrorInfo,
1362
- ErrorResponse: ErrorResponse,
1363
- OperationDisplay: OperationDisplay,
1364
- Operation: Operation,
1365
- GroupIdInformationProperties: GroupIdInformationProperties,
1366
- GroupIdInformation: GroupIdInformation,
1367
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
1368
- AddressSpace: AddressSpace,
1369
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
1370
- VirtualNetworkPeering: VirtualNetworkPeering,
1371
- WorkspaceListResult: WorkspaceListResult,
1372
- OperationListResult: OperationListResult,
1373
- PrivateLinkResourcesList: PrivateLinkResourcesList,
1374
- PrivateEndpointConnectionsList: PrivateEndpointConnectionsList,
1375
- VirtualNetworkPeeringList: VirtualNetworkPeeringList
1376
- });
1377
-
1378
- /*
1379
- * Copyright (c) Microsoft Corporation.
1380
- * Licensed under the MIT License.
1381
- *
1382
- * Code generated by Microsoft (R) AutoRest Code Generator.
1383
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1384
- */
1385
-
1386
- var Mappers = /*#__PURE__*/Object.freeze({
1387
- __proto__: null,
1388
- AddressSpace: AddressSpace,
1389
- BaseResource: BaseResource,
1390
- CreatedBy: CreatedBy,
1391
- Encryption: Encryption,
1392
- EncryptionEntitiesDefinition: EncryptionEntitiesDefinition,
1393
- EncryptionV2: EncryptionV2,
1394
- EncryptionV2KeyVaultProperties: EncryptionV2KeyVaultProperties,
1395
- ErrorDetail: ErrorDetail,
1396
- ErrorInfo: ErrorInfo,
1397
- ErrorResponse: ErrorResponse,
1398
- GroupIdInformation: GroupIdInformation,
1399
- GroupIdInformationProperties: GroupIdInformationProperties,
1400
- ManagedIdentityConfiguration: ManagedIdentityConfiguration,
1401
- PrivateEndpoint: PrivateEndpoint,
1402
- PrivateEndpointConnection: PrivateEndpointConnection,
1403
- PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
1404
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1405
- Resource: Resource,
1406
- Sku: Sku,
1407
- SystemData: SystemData,
1408
- TrackedResource: TrackedResource,
1409
- VirtualNetworkPeering: VirtualNetworkPeering,
1410
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
1411
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
1412
- Workspace: Workspace,
1413
- WorkspaceCustomBooleanParameter: WorkspaceCustomBooleanParameter,
1414
- WorkspaceCustomObjectParameter: WorkspaceCustomObjectParameter,
1415
- WorkspaceCustomParameters: WorkspaceCustomParameters,
1416
- WorkspaceCustomStringParameter: WorkspaceCustomStringParameter,
1417
- WorkspaceEncryptionParameter: WorkspaceEncryptionParameter,
1418
- WorkspaceListResult: WorkspaceListResult,
1419
- WorkspacePropertiesEncryption: WorkspacePropertiesEncryption,
1420
- WorkspaceProviderAuthorization: WorkspaceProviderAuthorization,
1421
- WorkspaceUpdate: WorkspaceUpdate
1422
- });
1423
-
1424
- /*
1425
- * Copyright (c) Microsoft Corporation.
1426
- * Licensed under the MIT License.
1427
- *
1428
- * Code generated by Microsoft (R) AutoRest Code Generator.
1429
- * Changes may cause incorrect behavior and will be lost if the code is
1430
- * regenerated.
1431
- */
1432
- var acceptLanguage = {
1433
- parameterPath: "acceptLanguage",
1434
- mapper: {
1435
- serializedName: "accept-language",
1436
- defaultValue: 'en-US',
1437
- type: {
1438
- name: "String"
1439
- }
1440
- }
1441
- };
1442
- var apiVersion0 = {
1443
- parameterPath: "apiVersion",
1444
- mapper: {
1445
- required: true,
1446
- isConstant: true,
1447
- serializedName: "api-version",
1448
- defaultValue: '2021-04-01-preview',
1449
- type: {
1450
- name: "String"
1451
- }
1452
- }
1453
- };
1454
- var apiVersion1 = {
1455
- parameterPath: "apiVersion",
1456
- mapper: {
1457
- required: true,
1458
- isConstant: true,
1459
- serializedName: "api-version",
1460
- defaultValue: '2018-04-01',
1461
- type: {
1462
- name: "String"
1463
- }
1464
- }
1465
- };
1466
- var groupId = {
1467
- parameterPath: "groupId",
1468
- mapper: {
1469
- required: true,
1470
- serializedName: "groupId",
1471
- type: {
1472
- name: "String"
1473
- }
1474
- }
1475
- };
1476
- var nextPageLink = {
1477
- parameterPath: "nextPageLink",
1478
- mapper: {
1479
- required: true,
1480
- serializedName: "nextLink",
1481
- type: {
1482
- name: "String"
1483
- }
1484
- },
1485
- skipEncoding: true
1486
- };
1487
- var peeringName = {
1488
- parameterPath: "peeringName",
1489
- mapper: {
1490
- required: true,
1491
- serializedName: "peeringName",
1492
- type: {
1493
- name: "String"
1494
- }
1495
- }
1496
- };
1497
- var privateEndpointConnectionName = {
1498
- parameterPath: "privateEndpointConnectionName",
1499
- mapper: {
1500
- required: true,
1501
- serializedName: "privateEndpointConnectionName",
1502
- type: {
1503
- name: "String"
1504
- }
1505
- }
1506
- };
1507
- var resourceGroupName = {
1508
- parameterPath: "resourceGroupName",
1509
- mapper: {
1510
- required: true,
1511
- serializedName: "resourceGroupName",
1512
- constraints: {
1513
- MaxLength: 90,
1514
- MinLength: 1,
1515
- Pattern: /^[-\w\._\(\)]+$/
1516
- },
1517
- type: {
1518
- name: "String"
1519
- }
1520
- }
1521
- };
1522
- var subscriptionId = {
1523
- parameterPath: "subscriptionId",
1524
- mapper: {
1525
- required: true,
1526
- serializedName: "subscriptionId",
1527
- type: {
1528
- name: "String"
1529
- }
1530
- }
1531
- };
1532
- var workspaceName = {
1533
- parameterPath: "workspaceName",
1534
- mapper: {
1535
- required: true,
1536
- serializedName: "workspaceName",
1537
- constraints: {
1538
- MaxLength: 64,
1539
- MinLength: 3
1540
- },
1541
- type: {
1542
- name: "String"
1543
- }
1544
- }
1545
- };
1546
-
1547
- /*
1548
- * Copyright (c) Microsoft Corporation.
1549
- * Licensed under the MIT License.
1550
- *
1551
- * Code generated by Microsoft (R) AutoRest Code Generator.
1552
- * Changes may cause incorrect behavior and will be lost if the code is
1553
- * regenerated.
1554
- */
1555
- /** Class representing a Workspaces. */
1556
- var Workspaces = /** @class */ (function () {
1557
- /**
1558
- * Create a Workspaces.
1559
- * @param {AzureDatabricksManagementClientContext} client Reference to the service client.
1560
- */
1561
- function Workspaces(client) {
1562
- this.client = client;
1563
- }
1564
- Workspaces.prototype.get = function (resourceGroupName, workspaceName, options, callback) {
1565
- return this.client.sendOperationRequest({
1566
- resourceGroupName: resourceGroupName,
1567
- workspaceName: workspaceName,
1568
- options: options
1569
- }, getOperationSpec, callback);
1570
- };
1571
- /**
1572
- * Deletes the workspace.
1573
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1574
- * @param workspaceName The name of the workspace.
1575
- * @param [options] The optional parameters
1576
- * @returns Promise<msRest.RestResponse>
1577
- */
1578
- Workspaces.prototype.deleteMethod = function (resourceGroupName, workspaceName, options) {
1579
- return this.beginDeleteMethod(resourceGroupName, workspaceName, options)
1580
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1581
- };
1582
- /**
1583
- * Creates a new workspace.
1584
- * @param parameters Parameters supplied to the create or update a workspace.
1585
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1586
- * @param workspaceName The name of the workspace.
1587
- * @param [options] The optional parameters
1588
- * @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
1589
- */
1590
- Workspaces.prototype.createOrUpdate = function (parameters, resourceGroupName, workspaceName, options) {
1591
- return this.beginCreateOrUpdate(parameters, resourceGroupName, workspaceName, options)
1592
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1593
- };
1594
- /**
1595
- * Updates a workspace.
1596
- * @param parameters The update to the workspace.
1597
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1598
- * @param workspaceName The name of the workspace.
1599
- * @param [options] The optional parameters
1600
- * @returns Promise<Models.WorkspacesUpdateResponse>
1601
- */
1602
- Workspaces.prototype.update = function (parameters, resourceGroupName, workspaceName, options) {
1603
- return this.beginUpdate(parameters, resourceGroupName, workspaceName, options)
1604
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
1605
- };
1606
- Workspaces.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1607
- return this.client.sendOperationRequest({
1608
- resourceGroupName: resourceGroupName,
1609
- options: options
1610
- }, listByResourceGroupOperationSpec, callback);
1611
- };
1612
- Workspaces.prototype.listBySubscription = function (options, callback) {
1613
- return this.client.sendOperationRequest({
1614
- options: options
1615
- }, listBySubscriptionOperationSpec, callback);
1616
- };
1617
- /**
1618
- * Deletes the workspace.
1619
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1620
- * @param workspaceName The name of the workspace.
1621
- * @param [options] The optional parameters
1622
- * @returns Promise<msRestAzure.LROPoller>
1623
- */
1624
- Workspaces.prototype.beginDeleteMethod = function (resourceGroupName, workspaceName, options) {
1625
- return this.client.sendLRORequest({
1626
- resourceGroupName: resourceGroupName,
1627
- workspaceName: workspaceName,
1628
- options: options
1629
- }, beginDeleteMethodOperationSpec, options);
1630
- };
1631
- /**
1632
- * Creates a new workspace.
1633
- * @param parameters Parameters supplied to the create or update a workspace.
1634
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1635
- * @param workspaceName The name of the workspace.
1636
- * @param [options] The optional parameters
1637
- * @returns Promise<msRestAzure.LROPoller>
1638
- */
1639
- Workspaces.prototype.beginCreateOrUpdate = function (parameters, resourceGroupName, workspaceName, options) {
1640
- return this.client.sendLRORequest({
1641
- parameters: parameters,
1642
- resourceGroupName: resourceGroupName,
1643
- workspaceName: workspaceName,
1644
- options: options
1645
- }, beginCreateOrUpdateOperationSpec, options);
1646
- };
1647
- /**
1648
- * Updates a workspace.
1649
- * @param parameters The update to the workspace.
1650
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1651
- * @param workspaceName The name of the workspace.
1652
- * @param [options] The optional parameters
1653
- * @returns Promise<msRestAzure.LROPoller>
1654
- */
1655
- Workspaces.prototype.beginUpdate = function (parameters, resourceGroupName, workspaceName, options) {
1656
- return this.client.sendLRORequest({
1657
- parameters: parameters,
1658
- resourceGroupName: resourceGroupName,
1659
- workspaceName: workspaceName,
1660
- options: options
1661
- }, beginUpdateOperationSpec, options);
1662
- };
1663
- Workspaces.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1664
- return this.client.sendOperationRequest({
1665
- nextPageLink: nextPageLink,
1666
- options: options
1667
- }, listByResourceGroupNextOperationSpec, callback);
1668
- };
1669
- Workspaces.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
1670
- return this.client.sendOperationRequest({
1671
- nextPageLink: nextPageLink,
1672
- options: options
1673
- }, listBySubscriptionNextOperationSpec, callback);
1674
- };
1675
- return Workspaces;
1676
- }());
1677
- // Operation Specifications
1678
- var serializer = new msRest.Serializer(Mappers);
1679
- var getOperationSpec = {
1680
- httpMethod: "GET",
1681
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1682
- urlParameters: [
1683
- resourceGroupName,
1684
- workspaceName,
1685
- subscriptionId
1686
- ],
1687
- queryParameters: [
1688
- apiVersion0
1689
- ],
1690
- headerParameters: [
1691
- acceptLanguage
1692
- ],
1693
- responses: {
1694
- 200: {
1695
- bodyMapper: Workspace
1696
- },
1697
- default: {
1698
- bodyMapper: ErrorResponse
1699
- }
1700
- },
1701
- serializer: serializer
1702
- };
1703
- var listByResourceGroupOperationSpec = {
1704
- httpMethod: "GET",
1705
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces",
1706
- urlParameters: [
1707
- resourceGroupName,
1708
- subscriptionId
1709
- ],
1710
- queryParameters: [
1711
- apiVersion0
1712
- ],
1713
- headerParameters: [
1714
- acceptLanguage
1715
- ],
1716
- responses: {
1717
- 200: {
1718
- bodyMapper: WorkspaceListResult
1719
- },
1720
- default: {
1721
- bodyMapper: ErrorResponse
1722
- }
1723
- },
1724
- serializer: serializer
1725
- };
1726
- var listBySubscriptionOperationSpec = {
1727
- httpMethod: "GET",
1728
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces",
1729
- urlParameters: [
1730
- subscriptionId
1731
- ],
1732
- queryParameters: [
1733
- apiVersion0
1734
- ],
1735
- headerParameters: [
1736
- acceptLanguage
1737
- ],
1738
- responses: {
1739
- 200: {
1740
- bodyMapper: WorkspaceListResult
1741
- },
1742
- default: {
1743
- bodyMapper: ErrorResponse
1744
- }
1745
- },
1746
- serializer: serializer
1747
- };
1748
- var beginDeleteMethodOperationSpec = {
1749
- httpMethod: "DELETE",
1750
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1751
- urlParameters: [
1752
- resourceGroupName,
1753
- workspaceName,
1754
- subscriptionId
1755
- ],
1756
- queryParameters: [
1757
- apiVersion0
1758
- ],
1759
- headerParameters: [
1760
- acceptLanguage
1761
- ],
1762
- responses: {
1763
- 200: {},
1764
- 202: {},
1765
- 204: {},
1766
- default: {
1767
- bodyMapper: ErrorResponse
1768
- }
1769
- },
1770
- serializer: serializer
1771
- };
1772
- var beginCreateOrUpdateOperationSpec = {
1773
- httpMethod: "PUT",
1774
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1775
- urlParameters: [
1776
- resourceGroupName,
1777
- workspaceName,
1778
- subscriptionId
1779
- ],
1780
- queryParameters: [
1781
- apiVersion0
1782
- ],
1783
- headerParameters: [
1784
- acceptLanguage
1785
- ],
1786
- requestBody: {
1787
- parameterPath: "parameters",
1788
- mapper: __assign(__assign({}, Workspace), { required: true })
1789
- },
1790
- responses: {
1791
- 200: {
1792
- bodyMapper: Workspace
1793
- },
1794
- 201: {
1795
- bodyMapper: Workspace
1796
- },
1797
- default: {
1798
- bodyMapper: ErrorResponse
1799
- }
1800
- },
1801
- serializer: serializer
1802
- };
1803
- var beginUpdateOperationSpec = {
1804
- httpMethod: "PATCH",
1805
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
1806
- urlParameters: [
1807
- resourceGroupName,
1808
- workspaceName,
1809
- subscriptionId
1810
- ],
1811
- queryParameters: [
1812
- apiVersion0
1813
- ],
1814
- headerParameters: [
1815
- acceptLanguage
1816
- ],
1817
- requestBody: {
1818
- parameterPath: "parameters",
1819
- mapper: __assign(__assign({}, WorkspaceUpdate), { required: true })
1820
- },
1821
- responses: {
1822
- 200: {
1823
- bodyMapper: Workspace
1824
- },
1825
- 202: {},
1826
- default: {
1827
- bodyMapper: ErrorResponse
1828
- }
1829
- },
1830
- serializer: serializer
1831
- };
1832
- var listByResourceGroupNextOperationSpec = {
1833
- httpMethod: "GET",
1834
- baseUrl: "https://management.azure.com",
1835
- path: "{nextLink}",
1836
- urlParameters: [
1837
- nextPageLink
1838
- ],
1839
- queryParameters: [
1840
- apiVersion0
1841
- ],
1842
- headerParameters: [
1843
- acceptLanguage
1844
- ],
1845
- responses: {
1846
- 200: {
1847
- bodyMapper: WorkspaceListResult
1848
- },
1849
- default: {
1850
- bodyMapper: ErrorResponse
1851
- }
1852
- },
1853
- serializer: serializer
1854
- };
1855
- var listBySubscriptionNextOperationSpec = {
1856
- httpMethod: "GET",
1857
- baseUrl: "https://management.azure.com",
1858
- path: "{nextLink}",
1859
- urlParameters: [
1860
- nextPageLink
1861
- ],
1862
- queryParameters: [
1863
- apiVersion0
1864
- ],
1865
- headerParameters: [
1866
- acceptLanguage
1867
- ],
1868
- responses: {
1869
- 200: {
1870
- bodyMapper: WorkspaceListResult
1871
- },
1872
- default: {
1873
- bodyMapper: ErrorResponse
1874
- }
1875
- },
1876
- serializer: serializer
1877
- };
1878
-
1879
- /*
1880
- * Copyright (c) Microsoft Corporation.
1881
- * Licensed under the MIT License.
1882
- *
1883
- * Code generated by Microsoft (R) AutoRest Code Generator.
1884
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1885
- */
1886
-
1887
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1888
- __proto__: null,
1889
- ErrorDetail: ErrorDetail,
1890
- ErrorInfo: ErrorInfo,
1891
- ErrorResponse: ErrorResponse,
1892
- Operation: Operation,
1893
- OperationDisplay: OperationDisplay,
1894
- OperationListResult: OperationListResult
1895
- });
1896
-
1897
- /*
1898
- * Copyright (c) Microsoft Corporation.
1899
- * Licensed under the MIT License.
1900
- *
1901
- * Code generated by Microsoft (R) AutoRest Code Generator.
1902
- * Changes may cause incorrect behavior and will be lost if the code is
1903
- * regenerated.
1904
- */
1905
- /** Class representing a Operations. */
1906
- var Operations = /** @class */ (function () {
1907
- /**
1908
- * Create a Operations.
1909
- * @param {AzureDatabricksManagementClientContext} client Reference to the service client.
1910
- */
1911
- function Operations(client) {
1912
- this.client = client;
1913
- }
1914
- Operations.prototype.list = function (options, callback) {
1915
- return this.client.sendOperationRequest({
1916
- options: options
1917
- }, listOperationSpec, callback);
1918
- };
1919
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
1920
- return this.client.sendOperationRequest({
1921
- nextPageLink: nextPageLink,
1922
- options: options
1923
- }, listNextOperationSpec, callback);
1924
- };
1925
- return Operations;
1926
- }());
1927
- // Operation Specifications
1928
- var serializer$1 = new msRest.Serializer(Mappers$1);
1929
- var listOperationSpec = {
1930
- httpMethod: "GET",
1931
- path: "providers/Microsoft.Databricks/operations",
1932
- queryParameters: [
1933
- apiVersion0
1934
- ],
1935
- headerParameters: [
1936
- acceptLanguage
1937
- ],
1938
- responses: {
1939
- 200: {
1940
- bodyMapper: OperationListResult
1941
- },
1942
- default: {
1943
- bodyMapper: ErrorResponse
1944
- }
1945
- },
1946
- serializer: serializer$1
1947
- };
1948
- var listNextOperationSpec = {
1949
- httpMethod: "GET",
1950
- baseUrl: "https://management.azure.com",
1951
- path: "{nextLink}",
1952
- urlParameters: [
1953
- nextPageLink
1954
- ],
1955
- queryParameters: [
1956
- apiVersion0
1957
- ],
1958
- headerParameters: [
1959
- acceptLanguage
1960
- ],
1961
- responses: {
1962
- 200: {
1963
- bodyMapper: OperationListResult
1964
- },
1965
- default: {
1966
- bodyMapper: ErrorResponse
1967
- }
1968
- },
1969
- serializer: serializer$1
1970
- };
1971
-
1972
- /*
1973
- * Copyright (c) Microsoft Corporation.
1974
- * Licensed under the MIT License.
1975
- *
1976
- * Code generated by Microsoft (R) AutoRest Code Generator.
1977
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1978
- */
1979
-
1980
- var Mappers$2 = /*#__PURE__*/Object.freeze({
1981
- __proto__: null,
1982
- AddressSpace: AddressSpace,
1983
- BaseResource: BaseResource,
1984
- CreatedBy: CreatedBy,
1985
- Encryption: Encryption,
1986
- EncryptionEntitiesDefinition: EncryptionEntitiesDefinition,
1987
- EncryptionV2: EncryptionV2,
1988
- EncryptionV2KeyVaultProperties: EncryptionV2KeyVaultProperties,
1989
- ErrorDetail: ErrorDetail,
1990
- ErrorInfo: ErrorInfo,
1991
- ErrorResponse: ErrorResponse,
1992
- GroupIdInformation: GroupIdInformation,
1993
- GroupIdInformationProperties: GroupIdInformationProperties,
1994
- ManagedIdentityConfiguration: ManagedIdentityConfiguration,
1995
- PrivateEndpoint: PrivateEndpoint,
1996
- PrivateEndpointConnection: PrivateEndpointConnection,
1997
- PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
1998
- PrivateLinkResourcesList: PrivateLinkResourcesList,
1999
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2000
- Resource: Resource,
2001
- Sku: Sku,
2002
- SystemData: SystemData,
2003
- TrackedResource: TrackedResource,
2004
- VirtualNetworkPeering: VirtualNetworkPeering,
2005
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
2006
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
2007
- Workspace: Workspace,
2008
- WorkspaceCustomBooleanParameter: WorkspaceCustomBooleanParameter,
2009
- WorkspaceCustomObjectParameter: WorkspaceCustomObjectParameter,
2010
- WorkspaceCustomParameters: WorkspaceCustomParameters,
2011
- WorkspaceCustomStringParameter: WorkspaceCustomStringParameter,
2012
- WorkspaceEncryptionParameter: WorkspaceEncryptionParameter,
2013
- WorkspacePropertiesEncryption: WorkspacePropertiesEncryption,
2014
- WorkspaceProviderAuthorization: WorkspaceProviderAuthorization
2015
- });
2016
-
2017
- /*
2018
- * Copyright (c) Microsoft Corporation.
2019
- * Licensed under the MIT License.
2020
- *
2021
- * Code generated by Microsoft (R) AutoRest Code Generator.
2022
- * Changes may cause incorrect behavior and will be lost if the code is
2023
- * regenerated.
2024
- */
2025
- /** Class representing a PrivateLinkResources. */
2026
- var PrivateLinkResources = /** @class */ (function () {
2027
- /**
2028
- * Create a PrivateLinkResources.
2029
- * @param {AzureDatabricksManagementClientContext} client Reference to the service client.
2030
- */
2031
- function PrivateLinkResources(client) {
2032
- this.client = client;
2033
- }
2034
- PrivateLinkResources.prototype.list = function (resourceGroupName, workspaceName, options, callback) {
2035
- return this.client.sendOperationRequest({
2036
- resourceGroupName: resourceGroupName,
2037
- workspaceName: workspaceName,
2038
- options: options
2039
- }, listOperationSpec$1, callback);
2040
- };
2041
- PrivateLinkResources.prototype.get = function (resourceGroupName, workspaceName, groupId, options, callback) {
2042
- return this.client.sendOperationRequest({
2043
- resourceGroupName: resourceGroupName,
2044
- workspaceName: workspaceName,
2045
- groupId: groupId,
2046
- options: options
2047
- }, getOperationSpec$1, callback);
2048
- };
2049
- PrivateLinkResources.prototype.listNext = function (nextPageLink, options, callback) {
2050
- return this.client.sendOperationRequest({
2051
- nextPageLink: nextPageLink,
2052
- options: options
2053
- }, listNextOperationSpec$1, callback);
2054
- };
2055
- return PrivateLinkResources;
2056
- }());
2057
- // Operation Specifications
2058
- var serializer$2 = new msRest.Serializer(Mappers$2);
2059
- var listOperationSpec$1 = {
2060
- httpMethod: "GET",
2061
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources",
2062
- urlParameters: [
2063
- resourceGroupName,
2064
- workspaceName,
2065
- subscriptionId
2066
- ],
2067
- queryParameters: [
2068
- apiVersion0
2069
- ],
2070
- headerParameters: [
2071
- acceptLanguage
2072
- ],
2073
- responses: {
2074
- 200: {
2075
- bodyMapper: PrivateLinkResourcesList
2076
- },
2077
- default: {
2078
- bodyMapper: ErrorResponse
2079
- }
2080
- },
2081
- serializer: serializer$2
2082
- };
2083
- var getOperationSpec$1 = {
2084
- httpMethod: "GET",
2085
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}",
2086
- urlParameters: [
2087
- resourceGroupName,
2088
- workspaceName,
2089
- subscriptionId,
2090
- groupId
2091
- ],
2092
- queryParameters: [
2093
- apiVersion0
2094
- ],
2095
- headerParameters: [
2096
- acceptLanguage
2097
- ],
2098
- responses: {
2099
- 200: {
2100
- bodyMapper: GroupIdInformation
2101
- },
2102
- default: {
2103
- bodyMapper: ErrorResponse
2104
- }
2105
- },
2106
- serializer: serializer$2
2107
- };
2108
- var listNextOperationSpec$1 = {
2109
- httpMethod: "GET",
2110
- baseUrl: "https://management.azure.com",
2111
- path: "{nextLink}",
2112
- urlParameters: [
2113
- nextPageLink
2114
- ],
2115
- queryParameters: [
2116
- apiVersion0
2117
- ],
2118
- headerParameters: [
2119
- acceptLanguage
2120
- ],
2121
- responses: {
2122
- 200: {
2123
- bodyMapper: PrivateLinkResourcesList
2124
- },
2125
- default: {
2126
- bodyMapper: ErrorResponse
2127
- }
2128
- },
2129
- serializer: serializer$2
2130
- };
2131
-
2132
- /*
2133
- * Copyright (c) Microsoft Corporation.
2134
- * Licensed under the MIT License.
2135
- *
2136
- * Code generated by Microsoft (R) AutoRest Code Generator.
2137
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2138
- */
2139
-
2140
- var Mappers$3 = /*#__PURE__*/Object.freeze({
2141
- __proto__: null,
2142
- AddressSpace: AddressSpace,
2143
- BaseResource: BaseResource,
2144
- CreatedBy: CreatedBy,
2145
- Encryption: Encryption,
2146
- EncryptionEntitiesDefinition: EncryptionEntitiesDefinition,
2147
- EncryptionV2: EncryptionV2,
2148
- EncryptionV2KeyVaultProperties: EncryptionV2KeyVaultProperties,
2149
- ErrorDetail: ErrorDetail,
2150
- ErrorInfo: ErrorInfo,
2151
- ErrorResponse: ErrorResponse,
2152
- GroupIdInformation: GroupIdInformation,
2153
- GroupIdInformationProperties: GroupIdInformationProperties,
2154
- ManagedIdentityConfiguration: ManagedIdentityConfiguration,
2155
- PrivateEndpoint: PrivateEndpoint,
2156
- PrivateEndpointConnection: PrivateEndpointConnection,
2157
- PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
2158
- PrivateEndpointConnectionsList: PrivateEndpointConnectionsList,
2159
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2160
- Resource: Resource,
2161
- Sku: Sku,
2162
- SystemData: SystemData,
2163
- TrackedResource: TrackedResource,
2164
- VirtualNetworkPeering: VirtualNetworkPeering,
2165
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
2166
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
2167
- Workspace: Workspace,
2168
- WorkspaceCustomBooleanParameter: WorkspaceCustomBooleanParameter,
2169
- WorkspaceCustomObjectParameter: WorkspaceCustomObjectParameter,
2170
- WorkspaceCustomParameters: WorkspaceCustomParameters,
2171
- WorkspaceCustomStringParameter: WorkspaceCustomStringParameter,
2172
- WorkspaceEncryptionParameter: WorkspaceEncryptionParameter,
2173
- WorkspacePropertiesEncryption: WorkspacePropertiesEncryption,
2174
- WorkspaceProviderAuthorization: WorkspaceProviderAuthorization
2175
- });
2176
-
2177
- /*
2178
- * Copyright (c) Microsoft Corporation.
2179
- * Licensed under the MIT License.
2180
- *
2181
- * Code generated by Microsoft (R) AutoRest Code Generator.
2182
- * Changes may cause incorrect behavior and will be lost if the code is
2183
- * regenerated.
2184
- */
2185
- /** Class representing a PrivateEndpointConnections. */
2186
- var PrivateEndpointConnections = /** @class */ (function () {
2187
- /**
2188
- * Create a PrivateEndpointConnections.
2189
- * @param {AzureDatabricksManagementClientContext} client Reference to the service client.
2190
- */
2191
- function PrivateEndpointConnections(client) {
2192
- this.client = client;
2193
- }
2194
- PrivateEndpointConnections.prototype.list = function (resourceGroupName, workspaceName, options, callback) {
2195
- return this.client.sendOperationRequest({
2196
- resourceGroupName: resourceGroupName,
2197
- workspaceName: workspaceName,
2198
- options: options
2199
- }, listOperationSpec$2, callback);
2200
- };
2201
- PrivateEndpointConnections.prototype.get = function (resourceGroupName, workspaceName, privateEndpointConnectionName, options, callback) {
2202
- return this.client.sendOperationRequest({
2203
- resourceGroupName: resourceGroupName,
2204
- workspaceName: workspaceName,
2205
- privateEndpointConnectionName: privateEndpointConnectionName,
2206
- options: options
2207
- }, getOperationSpec$2, callback);
2208
- };
2209
- /**
2210
- * Update the status of a private endpoint connection with the specified name
2211
- * @summary Update private endpoint connection status
2212
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2213
- * @param workspaceName The name of the workspace.
2214
- * @param privateEndpointConnectionName The name of the private endpoint connection
2215
- * @param privateEndpointConnection The private endpoint connection with updated properties
2216
- * @param [options] The optional parameters
2217
- * @returns Promise<Models.PrivateEndpointConnectionsCreateResponse>
2218
- */
2219
- PrivateEndpointConnections.prototype.create = function (resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options) {
2220
- return this.beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options)
2221
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2222
- };
2223
- /**
2224
- * Remove private endpoint connection with the specified name
2225
- * @summary Remove private endpoint connection
2226
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2227
- * @param workspaceName The name of the workspace.
2228
- * @param privateEndpointConnectionName The name of the private endpoint connection
2229
- * @param [options] The optional parameters
2230
- * @returns Promise<msRest.RestResponse>
2231
- */
2232
- PrivateEndpointConnections.prototype.deleteMethod = function (resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
2233
- return this.beginDeleteMethod(resourceGroupName, workspaceName, privateEndpointConnectionName, options)
2234
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2235
- };
2236
- /**
2237
- * Update the status of a private endpoint connection with the specified name
2238
- * @summary Update private endpoint connection status
2239
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2240
- * @param workspaceName The name of the workspace.
2241
- * @param privateEndpointConnectionName The name of the private endpoint connection
2242
- * @param privateEndpointConnection The private endpoint connection with updated properties
2243
- * @param [options] The optional parameters
2244
- * @returns Promise<msRestAzure.LROPoller>
2245
- */
2246
- PrivateEndpointConnections.prototype.beginCreate = function (resourceGroupName, workspaceName, privateEndpointConnectionName, privateEndpointConnection, options) {
2247
- return this.client.sendLRORequest({
2248
- resourceGroupName: resourceGroupName,
2249
- workspaceName: workspaceName,
2250
- privateEndpointConnectionName: privateEndpointConnectionName,
2251
- privateEndpointConnection: privateEndpointConnection,
2252
- options: options
2253
- }, beginCreateOperationSpec, options);
2254
- };
2255
- /**
2256
- * Remove private endpoint connection with the specified name
2257
- * @summary Remove private endpoint connection
2258
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2259
- * @param workspaceName The name of the workspace.
2260
- * @param privateEndpointConnectionName The name of the private endpoint connection
2261
- * @param [options] The optional parameters
2262
- * @returns Promise<msRestAzure.LROPoller>
2263
- */
2264
- PrivateEndpointConnections.prototype.beginDeleteMethod = function (resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
2265
- return this.client.sendLRORequest({
2266
- resourceGroupName: resourceGroupName,
2267
- workspaceName: workspaceName,
2268
- privateEndpointConnectionName: privateEndpointConnectionName,
2269
- options: options
2270
- }, beginDeleteMethodOperationSpec$1, options);
2271
- };
2272
- PrivateEndpointConnections.prototype.listNext = function (nextPageLink, options, callback) {
2273
- return this.client.sendOperationRequest({
2274
- nextPageLink: nextPageLink,
2275
- options: options
2276
- }, listNextOperationSpec$2, callback);
2277
- };
2278
- return PrivateEndpointConnections;
2279
- }());
2280
- // Operation Specifications
2281
- var serializer$3 = new msRest.Serializer(Mappers$3);
2282
- var listOperationSpec$2 = {
2283
- httpMethod: "GET",
2284
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections",
2285
- urlParameters: [
2286
- resourceGroupName,
2287
- workspaceName,
2288
- subscriptionId
2289
- ],
2290
- queryParameters: [
2291
- apiVersion0
2292
- ],
2293
- headerParameters: [
2294
- acceptLanguage
2295
- ],
2296
- responses: {
2297
- 200: {
2298
- bodyMapper: PrivateEndpointConnectionsList
2299
- },
2300
- default: {
2301
- bodyMapper: ErrorResponse
2302
- }
2303
- },
2304
- serializer: serializer$3
2305
- };
2306
- var getOperationSpec$2 = {
2307
- httpMethod: "GET",
2308
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2309
- urlParameters: [
2310
- resourceGroupName,
2311
- workspaceName,
2312
- subscriptionId,
2313
- privateEndpointConnectionName
2314
- ],
2315
- queryParameters: [
2316
- apiVersion0
2317
- ],
2318
- headerParameters: [
2319
- acceptLanguage
2320
- ],
2321
- responses: {
2322
- 200: {
2323
- bodyMapper: PrivateEndpointConnection
2324
- },
2325
- default: {
2326
- bodyMapper: ErrorResponse
2327
- }
2328
- },
2329
- serializer: serializer$3
2330
- };
2331
- var beginCreateOperationSpec = {
2332
- httpMethod: "PUT",
2333
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2334
- urlParameters: [
2335
- resourceGroupName,
2336
- workspaceName,
2337
- subscriptionId,
2338
- privateEndpointConnectionName
2339
- ],
2340
- queryParameters: [
2341
- apiVersion0
2342
- ],
2343
- headerParameters: [
2344
- acceptLanguage
2345
- ],
2346
- requestBody: {
2347
- parameterPath: "privateEndpointConnection",
2348
- mapper: __assign(__assign({}, PrivateEndpointConnection), { required: true })
2349
- },
2350
- responses: {
2351
- 200: {
2352
- bodyMapper: PrivateEndpointConnection
2353
- },
2354
- 202: {
2355
- bodyMapper: PrivateEndpointConnection
2356
- },
2357
- default: {
2358
- bodyMapper: ErrorResponse
2359
- }
2360
- },
2361
- serializer: serializer$3
2362
- };
2363
- var beginDeleteMethodOperationSpec$1 = {
2364
- httpMethod: "DELETE",
2365
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
2366
- urlParameters: [
2367
- resourceGroupName,
2368
- workspaceName,
2369
- subscriptionId,
2370
- privateEndpointConnectionName
2371
- ],
2372
- queryParameters: [
2373
- apiVersion0
2374
- ],
2375
- headerParameters: [
2376
- acceptLanguage
2377
- ],
2378
- responses: {
2379
- 200: {},
2380
- 202: {},
2381
- 204: {},
2382
- default: {
2383
- bodyMapper: ErrorResponse
2384
- }
2385
- },
2386
- serializer: serializer$3
2387
- };
2388
- var listNextOperationSpec$2 = {
2389
- httpMethod: "GET",
2390
- baseUrl: "https://management.azure.com",
2391
- path: "{nextLink}",
2392
- urlParameters: [
2393
- nextPageLink
2394
- ],
2395
- queryParameters: [
2396
- apiVersion0
2397
- ],
2398
- headerParameters: [
2399
- acceptLanguage
2400
- ],
2401
- responses: {
2402
- 200: {
2403
- bodyMapper: PrivateEndpointConnectionsList
2404
- },
2405
- default: {
2406
- bodyMapper: ErrorResponse
2407
- }
2408
- },
2409
- serializer: serializer$3
2410
- };
2411
-
2412
- /*
2413
- * Copyright (c) Microsoft Corporation.
2414
- * Licensed under the MIT License.
2415
- *
2416
- * Code generated by Microsoft (R) AutoRest Code Generator.
2417
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
2418
- */
2419
-
2420
- var Mappers$4 = /*#__PURE__*/Object.freeze({
2421
- __proto__: null,
2422
- AddressSpace: AddressSpace,
2423
- BaseResource: BaseResource,
2424
- CreatedBy: CreatedBy,
2425
- Encryption: Encryption,
2426
- EncryptionEntitiesDefinition: EncryptionEntitiesDefinition,
2427
- EncryptionV2: EncryptionV2,
2428
- EncryptionV2KeyVaultProperties: EncryptionV2KeyVaultProperties,
2429
- ErrorDetail: ErrorDetail,
2430
- ErrorInfo: ErrorInfo,
2431
- ErrorResponse: ErrorResponse,
2432
- GroupIdInformation: GroupIdInformation,
2433
- GroupIdInformationProperties: GroupIdInformationProperties,
2434
- ManagedIdentityConfiguration: ManagedIdentityConfiguration,
2435
- PrivateEndpoint: PrivateEndpoint,
2436
- PrivateEndpointConnection: PrivateEndpointConnection,
2437
- PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
2438
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
2439
- Resource: Resource,
2440
- Sku: Sku,
2441
- SystemData: SystemData,
2442
- TrackedResource: TrackedResource,
2443
- VirtualNetworkPeering: VirtualNetworkPeering,
2444
- VirtualNetworkPeeringList: VirtualNetworkPeeringList,
2445
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
2446
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
2447
- Workspace: Workspace,
2448
- WorkspaceCustomBooleanParameter: WorkspaceCustomBooleanParameter,
2449
- WorkspaceCustomObjectParameter: WorkspaceCustomObjectParameter,
2450
- WorkspaceCustomParameters: WorkspaceCustomParameters,
2451
- WorkspaceCustomStringParameter: WorkspaceCustomStringParameter,
2452
- WorkspaceEncryptionParameter: WorkspaceEncryptionParameter,
2453
- WorkspacePropertiesEncryption: WorkspacePropertiesEncryption,
2454
- WorkspaceProviderAuthorization: WorkspaceProviderAuthorization
2455
- });
2456
-
2457
- /*
2458
- * Copyright (c) Microsoft Corporation.
2459
- * Licensed under the MIT License.
2460
- *
2461
- * Code generated by Microsoft (R) AutoRest Code Generator.
2462
- * Changes may cause incorrect behavior and will be lost if the code is
2463
- * regenerated.
2464
- */
2465
- /** Class representing a VNetPeering. */
2466
- var VNetPeering = /** @class */ (function () {
2467
- /**
2468
- * Create a VNetPeering.
2469
- * @param {AzureDatabricksManagementClientContext} client Reference to the service client.
2470
- */
2471
- function VNetPeering(client) {
2472
- this.client = client;
2473
- }
2474
- VNetPeering.prototype.get = function (resourceGroupName, workspaceName, peeringName, options, callback) {
2475
- return this.client.sendOperationRequest({
2476
- resourceGroupName: resourceGroupName,
2477
- workspaceName: workspaceName,
2478
- peeringName: peeringName,
2479
- options: options
2480
- }, getOperationSpec$3, callback);
2481
- };
2482
- /**
2483
- * Deletes the workspace vNetPeering.
2484
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2485
- * @param workspaceName The name of the workspace.
2486
- * @param peeringName The name of the workspace vNet peering.
2487
- * @param [options] The optional parameters
2488
- * @returns Promise<msRest.RestResponse>
2489
- */
2490
- VNetPeering.prototype.deleteMethod = function (resourceGroupName, workspaceName, peeringName, options) {
2491
- return this.beginDeleteMethod(resourceGroupName, workspaceName, peeringName, options)
2492
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2493
- };
2494
- /**
2495
- * Creates vNet Peering for workspace.
2496
- * @param virtualNetworkPeeringParameters Parameters supplied to the create workspace vNet Peering.
2497
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2498
- * @param workspaceName The name of the workspace.
2499
- * @param peeringName The name of the workspace vNet peering.
2500
- * @param [options] The optional parameters
2501
- * @returns Promise<Models.VNetPeeringCreateOrUpdateResponse>
2502
- */
2503
- VNetPeering.prototype.createOrUpdate = function (virtualNetworkPeeringParameters, resourceGroupName, workspaceName, peeringName, options) {
2504
- return this.beginCreateOrUpdate(virtualNetworkPeeringParameters, resourceGroupName, workspaceName, peeringName, options)
2505
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
2506
- };
2507
- VNetPeering.prototype.listByWorkspace = function (resourceGroupName, workspaceName, options, callback) {
2508
- return this.client.sendOperationRequest({
2509
- resourceGroupName: resourceGroupName,
2510
- workspaceName: workspaceName,
2511
- options: options
2512
- }, listByWorkspaceOperationSpec, callback);
2513
- };
2514
- /**
2515
- * Deletes the workspace vNetPeering.
2516
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2517
- * @param workspaceName The name of the workspace.
2518
- * @param peeringName The name of the workspace vNet peering.
2519
- * @param [options] The optional parameters
2520
- * @returns Promise<msRestAzure.LROPoller>
2521
- */
2522
- VNetPeering.prototype.beginDeleteMethod = function (resourceGroupName, workspaceName, peeringName, options) {
2523
- return this.client.sendLRORequest({
2524
- resourceGroupName: resourceGroupName,
2525
- workspaceName: workspaceName,
2526
- peeringName: peeringName,
2527
- options: options
2528
- }, beginDeleteMethodOperationSpec$2, options);
2529
- };
2530
- /**
2531
- * Creates vNet Peering for workspace.
2532
- * @param virtualNetworkPeeringParameters Parameters supplied to the create workspace vNet Peering.
2533
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
2534
- * @param workspaceName The name of the workspace.
2535
- * @param peeringName The name of the workspace vNet peering.
2536
- * @param [options] The optional parameters
2537
- * @returns Promise<msRestAzure.LROPoller>
2538
- */
2539
- VNetPeering.prototype.beginCreateOrUpdate = function (virtualNetworkPeeringParameters, resourceGroupName, workspaceName, peeringName, options) {
2540
- return this.client.sendLRORequest({
2541
- virtualNetworkPeeringParameters: virtualNetworkPeeringParameters,
2542
- resourceGroupName: resourceGroupName,
2543
- workspaceName: workspaceName,
2544
- peeringName: peeringName,
2545
- options: options
2546
- }, beginCreateOrUpdateOperationSpec$1, options);
2547
- };
2548
- VNetPeering.prototype.listByWorkspaceNext = function (nextPageLink, options, callback) {
2549
- return this.client.sendOperationRequest({
2550
- nextPageLink: nextPageLink,
2551
- options: options
2552
- }, listByWorkspaceNextOperationSpec, callback);
2553
- };
2554
- return VNetPeering;
2555
- }());
2556
- // Operation Specifications
2557
- var serializer$4 = new msRest.Serializer(Mappers$4);
2558
- var getOperationSpec$3 = {
2559
- httpMethod: "GET",
2560
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
2561
- urlParameters: [
2562
- resourceGroupName,
2563
- workspaceName,
2564
- subscriptionId,
2565
- peeringName
2566
- ],
2567
- queryParameters: [
2568
- apiVersion1
2569
- ],
2570
- headerParameters: [
2571
- acceptLanguage
2572
- ],
2573
- responses: {
2574
- 200: {
2575
- bodyMapper: VirtualNetworkPeering
2576
- },
2577
- 204: {},
2578
- default: {
2579
- bodyMapper: ErrorResponse
2580
- }
2581
- },
2582
- serializer: serializer$4
2583
- };
2584
- var listByWorkspaceOperationSpec = {
2585
- httpMethod: "GET",
2586
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings",
2587
- urlParameters: [
2588
- resourceGroupName,
2589
- workspaceName,
2590
- subscriptionId
2591
- ],
2592
- queryParameters: [
2593
- apiVersion1
2594
- ],
2595
- headerParameters: [
2596
- acceptLanguage
2597
- ],
2598
- responses: {
2599
- 200: {
2600
- bodyMapper: VirtualNetworkPeeringList
2601
- },
2602
- default: {
2603
- bodyMapper: ErrorResponse
2604
- }
2605
- },
2606
- serializer: serializer$4
2607
- };
2608
- var beginDeleteMethodOperationSpec$2 = {
2609
- httpMethod: "DELETE",
2610
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
2611
- urlParameters: [
2612
- resourceGroupName,
2613
- workspaceName,
2614
- subscriptionId,
2615
- peeringName
2616
- ],
2617
- queryParameters: [
2618
- apiVersion1
2619
- ],
2620
- headerParameters: [
2621
- acceptLanguage
2622
- ],
2623
- responses: {
2624
- 200: {},
2625
- 202: {},
2626
- 204: {},
2627
- default: {
2628
- bodyMapper: ErrorResponse
2629
- }
2630
- },
2631
- serializer: serializer$4
2632
- };
2633
- var beginCreateOrUpdateOperationSpec$1 = {
2634
- httpMethod: "PUT",
2635
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
2636
- urlParameters: [
2637
- resourceGroupName,
2638
- workspaceName,
2639
- subscriptionId,
2640
- peeringName
2641
- ],
2642
- queryParameters: [
2643
- apiVersion1
2644
- ],
2645
- headerParameters: [
2646
- acceptLanguage
2647
- ],
2648
- requestBody: {
2649
- parameterPath: "virtualNetworkPeeringParameters",
2650
- mapper: __assign(__assign({}, VirtualNetworkPeering), { required: true })
2651
- },
2652
- responses: {
2653
- 200: {
2654
- bodyMapper: VirtualNetworkPeering
2655
- },
2656
- 201: {
2657
- bodyMapper: VirtualNetworkPeering
2658
- },
2659
- default: {
2660
- bodyMapper: ErrorResponse
2661
- }
2662
- },
2663
- serializer: serializer$4
2664
- };
2665
- var listByWorkspaceNextOperationSpec = {
2666
- httpMethod: "GET",
2667
- baseUrl: "https://management.azure.com",
2668
- path: "{nextLink}",
2669
- urlParameters: [
2670
- nextPageLink
2671
- ],
2672
- queryParameters: [
2673
- apiVersion1
2674
- ],
2675
- headerParameters: [
2676
- acceptLanguage
2677
- ],
2678
- responses: {
2679
- 200: {
2680
- bodyMapper: VirtualNetworkPeeringList
2681
- },
2682
- default: {
2683
- bodyMapper: ErrorResponse
2684
- }
2685
- },
2686
- serializer: serializer$4
2687
- };
2688
-
2689
- /*
2690
- * Copyright (c) Microsoft Corporation.
2691
- * Licensed under the MIT License.
2692
- *
2693
- * Code generated by Microsoft (R) AutoRest Code Generator.
2694
- * Changes may cause incorrect behavior and will be lost if the code is
2695
- * regenerated.
2696
- */
2697
- var packageName = "@azure/arm-databricks";
2698
- var packageVersion = "2.0.0";
2699
- var AzureDatabricksManagementClientContext = /** @class */ (function (_super) {
2700
- __extends(AzureDatabricksManagementClientContext, _super);
2701
- /**
2702
- * Initializes a new instance of the AzureDatabricksManagementClient class.
2703
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
2704
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
2705
- * more information about these credentials, see
2706
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
2707
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
2708
- * @azure/ms-rest-browserauth are also supported.
2709
- * @param subscriptionId The ID of the target subscription.
2710
- * @param [options] The parameter options
2711
- */
2712
- function AzureDatabricksManagementClientContext(credentials, subscriptionId, options) {
2713
- var _this = this;
2714
- if (credentials == undefined) {
2715
- throw new Error('\'credentials\' cannot be null.');
2716
- }
2717
- if (subscriptionId == undefined) {
2718
- throw new Error('\'subscriptionId\' cannot be null.');
2719
- }
2720
- if (!options) {
2721
- options = {};
2722
- }
2723
- if (!options.userAgent) {
2724
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
2725
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
2726
- }
2727
- _this = _super.call(this, credentials, options) || this;
2728
- _this.acceptLanguage = 'en-US';
2729
- _this.longRunningOperationRetryTimeout = 30;
2730
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
2731
- _this.requestContentType = "application/json; charset=utf-8";
2732
- _this.credentials = credentials;
2733
- _this.subscriptionId = subscriptionId;
2734
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
2735
- _this.acceptLanguage = options.acceptLanguage;
2736
- }
2737
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
2738
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
2739
- }
2740
- return _this;
2741
- }
2742
- return AzureDatabricksManagementClientContext;
2743
- }(msRestAzure.AzureServiceClient));
2744
-
2745
- /*
2746
- * Copyright (c) Microsoft Corporation.
2747
- * Licensed under the MIT License.
2748
- *
2749
- * Code generated by Microsoft (R) AutoRest Code Generator.
2750
- * Changes may cause incorrect behavior and will be lost if the code is
2751
- * regenerated.
2752
- */
2753
- var AzureDatabricksManagementClient = /** @class */ (function (_super) {
2754
- __extends(AzureDatabricksManagementClient, _super);
2755
- /**
2756
- * Initializes a new instance of the AzureDatabricksManagementClient class.
2757
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
2758
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
2759
- * more information about these credentials, see
2760
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
2761
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
2762
- * @azure/ms-rest-browserauth are also supported.
2763
- * @param subscriptionId The ID of the target subscription.
2764
- * @param [options] The parameter options
2765
- */
2766
- function AzureDatabricksManagementClient(credentials, subscriptionId, options) {
2767
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
2768
- _this.workspaces = new Workspaces(_this);
2769
- _this.operations = new Operations(_this);
2770
- _this.privateLinkResources = new PrivateLinkResources(_this);
2771
- _this.privateEndpointConnections = new PrivateEndpointConnections(_this);
2772
- _this.vNetPeering = new VNetPeering(_this);
2773
- return _this;
2774
- }
2775
- return AzureDatabricksManagementClient;
2776
- }(AzureDatabricksManagementClientContext));
2777
-
2778
- exports.AzureDatabricksManagementClient = AzureDatabricksManagementClient;
2779
- exports.AzureDatabricksManagementClientContext = AzureDatabricksManagementClientContext;
2780
- exports.AzureDatabricksManagementMappers = mappers;
2781
- exports.AzureDatabricksManagementModels = index;
2782
- exports.Operations = Operations;
2783
- exports.PrivateEndpointConnections = PrivateEndpointConnections;
2784
- exports.PrivateLinkResources = PrivateLinkResources;
2785
- exports.VNetPeering = VNetPeering;
2786
- exports.Workspaces = Workspaces;
2787
-
2788
- Object.defineProperty(exports, '__esModule', { value: true });
2789
-
2790
- })));
2791
- //# sourceMappingURL=arm-databricks.js.map