@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,337 +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
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/workspacesMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a Workspaces. */
14
- var Workspaces = /** @class */ (function () {
15
- /**
16
- * Create a Workspaces.
17
- * @param {AzureDatabricksManagementClientContext} client Reference to the service client.
18
- */
19
- function Workspaces(client) {
20
- this.client = client;
21
- }
22
- Workspaces.prototype.get = function (resourceGroupName, workspaceName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- workspaceName: workspaceName,
26
- options: options
27
- }, getOperationSpec, callback);
28
- };
29
- /**
30
- * Deletes the workspace.
31
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
- * @param workspaceName The name of the workspace.
33
- * @param [options] The optional parameters
34
- * @returns Promise<msRest.RestResponse>
35
- */
36
- Workspaces.prototype.deleteMethod = function (resourceGroupName, workspaceName, options) {
37
- return this.beginDeleteMethod(resourceGroupName, workspaceName, options)
38
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
39
- };
40
- /**
41
- * Creates a new workspace.
42
- * @param parameters Parameters supplied to the create or update a workspace.
43
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
- * @param workspaceName The name of the workspace.
45
- * @param [options] The optional parameters
46
- * @returns Promise<Models.WorkspacesCreateOrUpdateResponse>
47
- */
48
- Workspaces.prototype.createOrUpdate = function (parameters, resourceGroupName, workspaceName, options) {
49
- return this.beginCreateOrUpdate(parameters, resourceGroupName, workspaceName, options)
50
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
51
- };
52
- /**
53
- * Updates a workspace.
54
- * @param parameters The update to the workspace.
55
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
56
- * @param workspaceName The name of the workspace.
57
- * @param [options] The optional parameters
58
- * @returns Promise<Models.WorkspacesUpdateResponse>
59
- */
60
- Workspaces.prototype.update = function (parameters, resourceGroupName, workspaceName, options) {
61
- return this.beginUpdate(parameters, resourceGroupName, workspaceName, options)
62
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
63
- };
64
- Workspaces.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
65
- return this.client.sendOperationRequest({
66
- resourceGroupName: resourceGroupName,
67
- options: options
68
- }, listByResourceGroupOperationSpec, callback);
69
- };
70
- Workspaces.prototype.listBySubscription = function (options, callback) {
71
- return this.client.sendOperationRequest({
72
- options: options
73
- }, listBySubscriptionOperationSpec, callback);
74
- };
75
- /**
76
- * Deletes the workspace.
77
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
- * @param workspaceName The name of the workspace.
79
- * @param [options] The optional parameters
80
- * @returns Promise<msRestAzure.LROPoller>
81
- */
82
- Workspaces.prototype.beginDeleteMethod = function (resourceGroupName, workspaceName, options) {
83
- return this.client.sendLRORequest({
84
- resourceGroupName: resourceGroupName,
85
- workspaceName: workspaceName,
86
- options: options
87
- }, beginDeleteMethodOperationSpec, options);
88
- };
89
- /**
90
- * Creates a new workspace.
91
- * @param parameters Parameters supplied to the create or update a workspace.
92
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
- * @param workspaceName The name of the workspace.
94
- * @param [options] The optional parameters
95
- * @returns Promise<msRestAzure.LROPoller>
96
- */
97
- Workspaces.prototype.beginCreateOrUpdate = function (parameters, resourceGroupName, workspaceName, options) {
98
- return this.client.sendLRORequest({
99
- parameters: parameters,
100
- resourceGroupName: resourceGroupName,
101
- workspaceName: workspaceName,
102
- options: options
103
- }, beginCreateOrUpdateOperationSpec, options);
104
- };
105
- /**
106
- * Updates a workspace.
107
- * @param parameters The update to the workspace.
108
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
- * @param workspaceName The name of the workspace.
110
- * @param [options] The optional parameters
111
- * @returns Promise<msRestAzure.LROPoller>
112
- */
113
- Workspaces.prototype.beginUpdate = function (parameters, resourceGroupName, workspaceName, options) {
114
- return this.client.sendLRORequest({
115
- parameters: parameters,
116
- resourceGroupName: resourceGroupName,
117
- workspaceName: workspaceName,
118
- options: options
119
- }, beginUpdateOperationSpec, options);
120
- };
121
- Workspaces.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
122
- return this.client.sendOperationRequest({
123
- nextPageLink: nextPageLink,
124
- options: options
125
- }, listByResourceGroupNextOperationSpec, callback);
126
- };
127
- Workspaces.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
128
- return this.client.sendOperationRequest({
129
- nextPageLink: nextPageLink,
130
- options: options
131
- }, listBySubscriptionNextOperationSpec, callback);
132
- };
133
- return Workspaces;
134
- }());
135
- export { Workspaces };
136
- // Operation Specifications
137
- var serializer = new msRest.Serializer(Mappers);
138
- var getOperationSpec = {
139
- httpMethod: "GET",
140
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
141
- urlParameters: [
142
- Parameters.resourceGroupName,
143
- Parameters.workspaceName,
144
- Parameters.subscriptionId
145
- ],
146
- queryParameters: [
147
- Parameters.apiVersion0
148
- ],
149
- headerParameters: [
150
- Parameters.acceptLanguage
151
- ],
152
- responses: {
153
- 200: {
154
- bodyMapper: Mappers.Workspace
155
- },
156
- default: {
157
- bodyMapper: Mappers.ErrorResponse
158
- }
159
- },
160
- serializer: serializer
161
- };
162
- var listByResourceGroupOperationSpec = {
163
- httpMethod: "GET",
164
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces",
165
- urlParameters: [
166
- Parameters.resourceGroupName,
167
- Parameters.subscriptionId
168
- ],
169
- queryParameters: [
170
- Parameters.apiVersion0
171
- ],
172
- headerParameters: [
173
- Parameters.acceptLanguage
174
- ],
175
- responses: {
176
- 200: {
177
- bodyMapper: Mappers.WorkspaceListResult
178
- },
179
- default: {
180
- bodyMapper: Mappers.ErrorResponse
181
- }
182
- },
183
- serializer: serializer
184
- };
185
- var listBySubscriptionOperationSpec = {
186
- httpMethod: "GET",
187
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Databricks/workspaces",
188
- urlParameters: [
189
- Parameters.subscriptionId
190
- ],
191
- queryParameters: [
192
- Parameters.apiVersion0
193
- ],
194
- headerParameters: [
195
- Parameters.acceptLanguage
196
- ],
197
- responses: {
198
- 200: {
199
- bodyMapper: Mappers.WorkspaceListResult
200
- },
201
- default: {
202
- bodyMapper: Mappers.ErrorResponse
203
- }
204
- },
205
- serializer: serializer
206
- };
207
- var beginDeleteMethodOperationSpec = {
208
- httpMethod: "DELETE",
209
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
210
- urlParameters: [
211
- Parameters.resourceGroupName,
212
- Parameters.workspaceName,
213
- Parameters.subscriptionId
214
- ],
215
- queryParameters: [
216
- Parameters.apiVersion0
217
- ],
218
- headerParameters: [
219
- Parameters.acceptLanguage
220
- ],
221
- responses: {
222
- 200: {},
223
- 202: {},
224
- 204: {},
225
- default: {
226
- bodyMapper: Mappers.ErrorResponse
227
- }
228
- },
229
- serializer: serializer
230
- };
231
- var beginCreateOrUpdateOperationSpec = {
232
- httpMethod: "PUT",
233
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
234
- urlParameters: [
235
- Parameters.resourceGroupName,
236
- Parameters.workspaceName,
237
- Parameters.subscriptionId
238
- ],
239
- queryParameters: [
240
- Parameters.apiVersion0
241
- ],
242
- headerParameters: [
243
- Parameters.acceptLanguage
244
- ],
245
- requestBody: {
246
- parameterPath: "parameters",
247
- mapper: __assign(__assign({}, Mappers.Workspace), { required: true })
248
- },
249
- responses: {
250
- 200: {
251
- bodyMapper: Mappers.Workspace
252
- },
253
- 201: {
254
- bodyMapper: Mappers.Workspace
255
- },
256
- default: {
257
- bodyMapper: Mappers.ErrorResponse
258
- }
259
- },
260
- serializer: serializer
261
- };
262
- var beginUpdateOperationSpec = {
263
- httpMethod: "PATCH",
264
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}",
265
- urlParameters: [
266
- Parameters.resourceGroupName,
267
- Parameters.workspaceName,
268
- Parameters.subscriptionId
269
- ],
270
- queryParameters: [
271
- Parameters.apiVersion0
272
- ],
273
- headerParameters: [
274
- Parameters.acceptLanguage
275
- ],
276
- requestBody: {
277
- parameterPath: "parameters",
278
- mapper: __assign(__assign({}, Mappers.WorkspaceUpdate), { required: true })
279
- },
280
- responses: {
281
- 200: {
282
- bodyMapper: Mappers.Workspace
283
- },
284
- 202: {},
285
- default: {
286
- bodyMapper: Mappers.ErrorResponse
287
- }
288
- },
289
- serializer: serializer
290
- };
291
- var listByResourceGroupNextOperationSpec = {
292
- httpMethod: "GET",
293
- baseUrl: "https://management.azure.com",
294
- path: "{nextLink}",
295
- urlParameters: [
296
- Parameters.nextPageLink
297
- ],
298
- queryParameters: [
299
- Parameters.apiVersion0
300
- ],
301
- headerParameters: [
302
- Parameters.acceptLanguage
303
- ],
304
- responses: {
305
- 200: {
306
- bodyMapper: Mappers.WorkspaceListResult
307
- },
308
- default: {
309
- bodyMapper: Mappers.ErrorResponse
310
- }
311
- },
312
- serializer: serializer
313
- };
314
- var listBySubscriptionNextOperationSpec = {
315
- httpMethod: "GET",
316
- baseUrl: "https://management.azure.com",
317
- path: "{nextLink}",
318
- urlParameters: [
319
- Parameters.nextPageLink
320
- ],
321
- queryParameters: [
322
- Parameters.apiVersion0
323
- ],
324
- headerParameters: [
325
- Parameters.acceptLanguage
326
- ],
327
- responses: {
328
- 200: {
329
- bodyMapper: Mappers.WorkspaceListResult
330
- },
331
- default: {
332
- bodyMapper: Mappers.ErrorResponse
333
- }
334
- },
335
- serializer: serializer
336
- };
337
- //# sourceMappingURL=workspaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../src/operations/workspaces.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA8C;QACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,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IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,43 +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
-
9
- export {
10
- AddressSpace,
11
- BaseResource,
12
- CreatedBy,
13
- Encryption,
14
- EncryptionEntitiesDefinition,
15
- EncryptionV2,
16
- EncryptionV2KeyVaultProperties,
17
- ErrorDetail,
18
- ErrorInfo,
19
- ErrorResponse,
20
- GroupIdInformation,
21
- GroupIdInformationProperties,
22
- ManagedIdentityConfiguration,
23
- PrivateEndpoint,
24
- PrivateEndpointConnection,
25
- PrivateEndpointConnectionProperties,
26
- PrivateEndpointConnectionsList,
27
- PrivateLinkServiceConnectionState,
28
- Resource,
29
- Sku,
30
- SystemData,
31
- TrackedResource,
32
- VirtualNetworkPeering,
33
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
34
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
35
- Workspace,
36
- WorkspaceCustomBooleanParameter,
37
- WorkspaceCustomObjectParameter,
38
- WorkspaceCustomParameters,
39
- WorkspaceCustomStringParameter,
40
- WorkspaceEncryptionParameter,
41
- WorkspacePropertiesEncryption,
42
- WorkspaceProviderAuthorization
43
- } from "../models/mappers";
@@ -1,43 +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
-
9
- export {
10
- AddressSpace,
11
- BaseResource,
12
- CreatedBy,
13
- Encryption,
14
- EncryptionEntitiesDefinition,
15
- EncryptionV2,
16
- EncryptionV2KeyVaultProperties,
17
- ErrorDetail,
18
- ErrorInfo,
19
- ErrorResponse,
20
- GroupIdInformation,
21
- GroupIdInformationProperties,
22
- ManagedIdentityConfiguration,
23
- PrivateEndpoint,
24
- PrivateEndpointConnection,
25
- PrivateEndpointConnectionProperties,
26
- PrivateLinkResourcesList,
27
- PrivateLinkServiceConnectionState,
28
- Resource,
29
- Sku,
30
- SystemData,
31
- TrackedResource,
32
- VirtualNetworkPeering,
33
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
34
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
35
- Workspace,
36
- WorkspaceCustomBooleanParameter,
37
- WorkspaceCustomObjectParameter,
38
- WorkspaceCustomParameters,
39
- WorkspaceCustomStringParameter,
40
- WorkspaceEncryptionParameter,
41
- WorkspacePropertiesEncryption,
42
- WorkspaceProviderAuthorization
43
- } from "../models/mappers";
@@ -1,43 +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
-
9
- export {
10
- AddressSpace,
11
- BaseResource,
12
- CreatedBy,
13
- Encryption,
14
- EncryptionEntitiesDefinition,
15
- EncryptionV2,
16
- EncryptionV2KeyVaultProperties,
17
- ErrorDetail,
18
- ErrorInfo,
19
- ErrorResponse,
20
- GroupIdInformation,
21
- GroupIdInformationProperties,
22
- ManagedIdentityConfiguration,
23
- PrivateEndpoint,
24
- PrivateEndpointConnection,
25
- PrivateEndpointConnectionProperties,
26
- PrivateLinkServiceConnectionState,
27
- Resource,
28
- Sku,
29
- SystemData,
30
- TrackedResource,
31
- VirtualNetworkPeering,
32
- VirtualNetworkPeeringList,
33
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
34
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
35
- Workspace,
36
- WorkspaceCustomBooleanParameter,
37
- WorkspaceCustomObjectParameter,
38
- WorkspaceCustomParameters,
39
- WorkspaceCustomStringParameter,
40
- WorkspaceEncryptionParameter,
41
- WorkspacePropertiesEncryption,
42
- WorkspaceProviderAuthorization
43
- } from "../models/mappers";
@@ -1,44 +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
-
9
- export {
10
- AddressSpace,
11
- BaseResource,
12
- CreatedBy,
13
- Encryption,
14
- EncryptionEntitiesDefinition,
15
- EncryptionV2,
16
- EncryptionV2KeyVaultProperties,
17
- ErrorDetail,
18
- ErrorInfo,
19
- ErrorResponse,
20
- GroupIdInformation,
21
- GroupIdInformationProperties,
22
- ManagedIdentityConfiguration,
23
- PrivateEndpoint,
24
- PrivateEndpointConnection,
25
- PrivateEndpointConnectionProperties,
26
- PrivateLinkServiceConnectionState,
27
- Resource,
28
- Sku,
29
- SystemData,
30
- TrackedResource,
31
- VirtualNetworkPeering,
32
- VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork,
33
- VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork,
34
- Workspace,
35
- WorkspaceCustomBooleanParameter,
36
- WorkspaceCustomObjectParameter,
37
- WorkspaceCustomParameters,
38
- WorkspaceCustomStringParameter,
39
- WorkspaceEncryptionParameter,
40
- WorkspaceListResult,
41
- WorkspacePropertiesEncryption,
42
- WorkspaceProviderAuthorization,
43
- WorkspaceUpdate
44
- } from "../models/mappers";