@distilled.cloud/azure 0.9.0 → 0.10.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 (140) hide show
  1. package/lib/services/app.d.ts +551 -0
  2. package/lib/services/app.d.ts.map +1 -1
  3. package/lib/services/app.js +788 -0
  4. package/lib/services/app.js.map +1 -1
  5. package/lib/services/applicationinsights.d.ts +56 -85
  6. package/lib/services/applicationinsights.d.ts.map +1 -1
  7. package/lib/services/applicationinsights.js +56 -120
  8. package/lib/services/applicationinsights.js.map +1 -1
  9. package/lib/services/authorization.d.ts +61 -243
  10. package/lib/services/authorization.d.ts.map +1 -1
  11. package/lib/services/authorization.js +61 -303
  12. package/lib/services/authorization.js.map +1 -1
  13. package/lib/services/automation.d.ts +764 -1010
  14. package/lib/services/automation.d.ts.map +1 -1
  15. package/lib/services/automation.js +764 -1070
  16. package/lib/services/automation.js.map +1 -1
  17. package/lib/services/azure-kusto.d.ts +440 -166
  18. package/lib/services/azure-kusto.d.ts.map +1 -1
  19. package/lib/services/azure-kusto.js +440 -166
  20. package/lib/services/azure-kusto.js.map +1 -1
  21. package/lib/services/batch.d.ts +1 -1
  22. package/lib/services/batch.js +1 -1
  23. package/lib/services/batch.js.map +1 -1
  24. package/lib/services/cognitiveservices.d.ts +2 -0
  25. package/lib/services/cognitiveservices.d.ts.map +1 -1
  26. package/lib/services/cognitiveservices.js +3 -1
  27. package/lib/services/cognitiveservices.js.map +1 -1
  28. package/lib/services/computelimit.d.ts +188 -0
  29. package/lib/services/computelimit.d.ts.map +1 -1
  30. package/lib/services/computelimit.js +236 -0
  31. package/lib/services/computelimit.js.map +1 -1
  32. package/lib/services/containerinstance.d.ts +210 -1291
  33. package/lib/services/containerinstance.d.ts.map +1 -1
  34. package/lib/services/containerinstance.js +250 -1355
  35. package/lib/services/containerinstance.js.map +1 -1
  36. package/lib/services/databricks.d.ts +111 -187
  37. package/lib/services/databricks.d.ts.map +1 -1
  38. package/lib/services/databricks.js +111 -220
  39. package/lib/services/databricks.js.map +1 -1
  40. package/lib/services/desktopvirtualization.d.ts +51 -575
  41. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  42. package/lib/services/desktopvirtualization.js +56 -590
  43. package/lib/services/desktopvirtualization.js.map +1 -1
  44. package/lib/services/imagebuilder.d.ts +129 -15
  45. package/lib/services/imagebuilder.d.ts.map +1 -1
  46. package/lib/services/imagebuilder.js +129 -15
  47. package/lib/services/imagebuilder.js.map +1 -1
  48. package/lib/services/index.d.ts +2 -0
  49. package/lib/services/index.d.ts.map +1 -1
  50. package/lib/services/index.js +2 -0
  51. package/lib/services/index.js.map +1 -1
  52. package/lib/services/managednetworkfabric.d.ts +4283 -693
  53. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  54. package/lib/services/managednetworkfabric.js +4833 -828
  55. package/lib/services/managednetworkfabric.js.map +1 -1
  56. package/lib/services/monitor.d.ts +81 -73
  57. package/lib/services/monitor.d.ts.map +1 -1
  58. package/lib/services/monitor.js +91 -88
  59. package/lib/services/monitor.js.map +1 -1
  60. package/lib/services/monitoringservice.d.ts +149 -0
  61. package/lib/services/monitoringservice.d.ts.map +1 -0
  62. package/lib/services/monitoringservice.js +216 -0
  63. package/lib/services/monitoringservice.js.map +1 -0
  64. package/lib/services/network.d.ts +4513 -3857
  65. package/lib/services/network.d.ts.map +1 -1
  66. package/lib/services/network.js +4544 -4056
  67. package/lib/services/network.js.map +1 -1
  68. package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
  69. package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
  70. package/lib/services/orbitalplanetarycomputer.js +183 -0
  71. package/lib/services/orbitalplanetarycomputer.js.map +1 -0
  72. package/lib/services/recoveryservicesbackup.d.ts +24 -312
  73. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  74. package/lib/services/recoveryservicesbackup.js +24 -312
  75. package/lib/services/recoveryservicesbackup.js.map +1 -1
  76. package/lib/services/redhatopenshift.d.ts +9 -11
  77. package/lib/services/redhatopenshift.d.ts.map +1 -1
  78. package/lib/services/redhatopenshift.js +9 -11
  79. package/lib/services/redhatopenshift.js.map +1 -1
  80. package/lib/services/reservations.d.ts +159 -239
  81. package/lib/services/reservations.d.ts.map +1 -1
  82. package/lib/services/reservations.js +159 -369
  83. package/lib/services/reservations.js.map +1 -1
  84. package/lib/services/resourcegraph.d.ts +64 -30
  85. package/lib/services/resourcegraph.d.ts.map +1 -1
  86. package/lib/services/resourcegraph.js +74 -30
  87. package/lib/services/resourcegraph.js.map +1 -1
  88. package/lib/services/resources.d.ts +549 -3331
  89. package/lib/services/resources.d.ts.map +1 -1
  90. package/lib/services/resources.js +1029 -4846
  91. package/lib/services/resources.js.map +1 -1
  92. package/lib/services/search.d.ts +9 -2
  93. package/lib/services/search.d.ts.map +1 -1
  94. package/lib/services/search.js +9 -2
  95. package/lib/services/search.js.map +1 -1
  96. package/lib/services/sql.d.ts +4008 -2495
  97. package/lib/services/sql.d.ts.map +1 -1
  98. package/lib/services/sql.js +4208 -2521
  99. package/lib/services/sql.js.map +1 -1
  100. package/lib/services/storage.d.ts +4 -20
  101. package/lib/services/storage.d.ts.map +1 -1
  102. package/lib/services/storage.js +4 -20
  103. package/lib/services/storage.js.map +1 -1
  104. package/lib/services/storageactions.d.ts +18 -0
  105. package/lib/services/storageactions.d.ts.map +1 -1
  106. package/lib/services/storageactions.js +28 -0
  107. package/lib/services/storageactions.js.map +1 -1
  108. package/lib/services/storagecache.d.ts +288 -752
  109. package/lib/services/storagecache.d.ts.map +1 -1
  110. package/lib/services/storagecache.js +312 -930
  111. package/lib/services/storagecache.js.map +1 -1
  112. package/package.json +4 -4
  113. package/src/services/app.ts +1014 -0
  114. package/src/services/applicationinsights.ts +56 -169
  115. package/src/services/authorization.ts +65 -397
  116. package/src/services/automation.ts +1179 -1686
  117. package/src/services/azure-kusto.ts +494 -228
  118. package/src/services/batch.ts +1 -1
  119. package/src/services/cognitiveservices.ts +3 -1
  120. package/src/services/computelimit.ts +310 -0
  121. package/src/services/containerinstance.ts +1393 -3134
  122. package/src/services/databricks.ts +125 -294
  123. package/src/services/desktopvirtualization.ts +83 -859
  124. package/src/services/imagebuilder.ts +129 -21
  125. package/src/services/index.ts +2 -0
  126. package/src/services/managednetworkfabric.ts +7141 -1408
  127. package/src/services/monitor.ts +134 -136
  128. package/src/services/monitoringservice.ts +287 -0
  129. package/src/services/network.ts +5738 -6158
  130. package/src/services/orbitalplanetarycomputer.ts +233 -0
  131. package/src/services/recoveryservicesbackup.ts +26 -456
  132. package/src/services/redhatopenshift.ts +26 -34
  133. package/src/services/reservations.ts +209 -553
  134. package/src/services/resourcegraph.ts +123 -55
  135. package/src/services/resources.ts +1852 -8168
  136. package/src/services/search.ts +9 -2
  137. package/src/services/sql.ts +4552 -2757
  138. package/src/services/storage.ts +4 -22
  139. package/src/services/storageactions.ts +36 -0
  140. package/src/services/storagecache.ts +312 -1303
@@ -10,8 +10,9 @@ import * as T from "../traits.js";
10
10
  // Input Schema
11
11
  export const AccessConnectorsCreateOrUpdateInput =
12
12
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
- resourceGroupName: Schema.String.pipe(T.PathParam()),
14
13
  subscriptionId: Schema.String.pipe(T.PathParam()),
14
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
15
+ connectorName: Schema.String.pipe(T.PathParam()),
15
16
  "api-version": Schema.String,
16
17
  }).pipe(T.Http({
17
18
  method: "PUT",
@@ -27,9 +28,10 @@ export const AccessConnectorsCreateOrUpdateOutput =
27
28
  /**
28
29
  * Creates or updates Azure Databricks Access Connector.
29
30
  *
30
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
31
31
  * @param api-version - The API version to use for this operation.
32
32
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
33
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
34
+ * @param connectorName - The name of the Azure Databricks Access Connector.
33
35
  */
34
36
  export const AccessConnectorsCreateOrUpdate =
35
37
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -39,8 +41,9 @@ export const AccessConnectorsCreateOrUpdate =
39
41
  // Input Schema
40
42
  export const AccessConnectorsDeleteInput =
41
43
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
42
- resourceGroupName: Schema.String.pipe(T.PathParam()),
43
44
  subscriptionId: Schema.String.pipe(T.PathParam()),
45
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
46
+ connectorName: Schema.String.pipe(T.PathParam()),
44
47
  "api-version": Schema.String,
45
48
  }).pipe(T.Http({
46
49
  method: "DELETE",
@@ -53,9 +56,10 @@ export const AccessConnectorsDeleteOutput =
53
56
  /**
54
57
  * Deletes the Azure Databricks Access Connector.
55
58
  *
56
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
57
59
  * @param api-version - The API version to use for this operation.
58
60
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
61
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
62
+ * @param connectorName - The name of the Azure Databricks Access Connector.
59
63
  */
60
64
  export const AccessConnectorsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
61
65
  inputSchema: AccessConnectorsDeleteInput,
@@ -64,8 +68,9 @@ export const AccessConnectorsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
64
68
  // Input Schema
65
69
  export const AccessConnectorsGetInput =
66
70
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
67
- resourceGroupName: Schema.String.pipe(T.PathParam()),
68
71
  subscriptionId: Schema.String.pipe(T.PathParam()),
72
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
73
+ connectorName: Schema.String.pipe(T.PathParam()),
69
74
  "api-version": Schema.String,
70
75
  }).pipe(T.Http({
71
76
  method: "GET",
@@ -81,9 +86,10 @@ export const AccessConnectorsGetOutput =
81
86
  /**
82
87
  * Gets an Azure Databricks Access Connector.
83
88
  *
84
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
85
89
  * @param api-version - The API version to use for this operation.
86
90
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
91
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
92
+ * @param connectorName - The name of the Azure Databricks Access Connector.
87
93
  */
88
94
  export const AccessConnectorsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
89
95
  inputSchema: AccessConnectorsGetInput,
@@ -92,8 +98,8 @@ export const AccessConnectorsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
92
98
  // Input Schema
93
99
  export const AccessConnectorsListByResourceGroupInput =
94
100
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
95
- resourceGroupName: Schema.String.pipe(T.PathParam()),
96
101
  subscriptionId: Schema.String.pipe(T.PathParam()),
102
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
97
103
  "api-version": Schema.String,
98
104
  }).pipe(T.Http({
99
105
  method: "GET",
@@ -102,19 +108,19 @@ export const AccessConnectorsListByResourceGroupInput =
102
108
  // Output Schema
103
109
  export const AccessConnectorsListByResourceGroupOutput =
104
110
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
105
- value: Schema.optional(Schema.Array(Schema.Struct({
111
+ value: Schema.Array(Schema.Struct({
106
112
  tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
107
113
  location: Schema.String,
108
- }))),
114
+ })),
109
115
  nextLink: Schema.optional(Schema.String),
110
116
  });
111
117
  // The operation
112
118
  /**
113
119
  * Gets all the Azure Databricks Access Connectors within a resource group.
114
120
  *
115
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
116
121
  * @param api-version - The API version to use for this operation.
117
122
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
123
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
118
124
  */
119
125
  export const AccessConnectorsListByResourceGroup =
120
126
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -133,10 +139,10 @@ export const AccessConnectorsListBySubscriptionInput =
133
139
  // Output Schema
134
140
  export const AccessConnectorsListBySubscriptionOutput =
135
141
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
136
- value: Schema.optional(Schema.Array(Schema.Struct({
142
+ value: Schema.Array(Schema.Struct({
137
143
  tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
138
144
  location: Schema.String,
139
- }))),
145
+ })),
140
146
  nextLink: Schema.optional(Schema.String),
141
147
  });
142
148
  // The operation
@@ -154,8 +160,9 @@ export const AccessConnectorsListBySubscription =
154
160
  // Input Schema
155
161
  export const AccessConnectorsUpdateInput =
156
162
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
157
- resourceGroupName: Schema.String.pipe(T.PathParam()),
158
163
  subscriptionId: Schema.String.pipe(T.PathParam()),
164
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
165
+ connectorName: Schema.String.pipe(T.PathParam()),
159
166
  "api-version": Schema.String,
160
167
  }).pipe(T.Http({
161
168
  method: "PATCH",
@@ -171,9 +178,10 @@ export const AccessConnectorsUpdateOutput =
171
178
  /**
172
179
  * Updates an Azure Databricks Access Connector.
173
180
  *
174
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
175
181
  * @param api-version - The API version to use for this operation.
176
182
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
183
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
184
+ * @param connectorName - The name of the Azure Databricks Access Connector.
177
185
  */
178
186
  export const AccessConnectorsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
179
187
  inputSchema: AccessConnectorsUpdateInput,
@@ -198,7 +206,7 @@ export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
198
206
  });
199
207
  // The operation
200
208
  /**
201
- * Lists all of the available RP operations.
209
+ * List the operations for the provider
202
210
  *
203
211
  * @param api-version - The API version to use for this operation.
204
212
  */
@@ -209,8 +217,9 @@ export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
209
217
  // Input Schema
210
218
  export const OutboundNetworkDependenciesEndpointsListInput =
211
219
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
212
- resourceGroupName: Schema.String.pipe(T.PathParam()),
213
220
  subscriptionId: Schema.String.pipe(T.PathParam()),
221
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
222
+ workspaceName: Schema.String.pipe(T.PathParam()),
214
223
  "api-version": Schema.String,
215
224
  }).pipe(T.Http({
216
225
  method: "GET",
@@ -236,9 +245,10 @@ export const OutboundNetworkDependenciesEndpointsListOutput =
236
245
  *
237
246
  * Gets the list of endpoints that VNET Injected Workspace calls Azure Databricks Control Plane. You must configure outbound access with these endpoints. For more information, see https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/udr
238
247
  *
239
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
240
248
  * @param api-version - The API version to use for this operation.
241
249
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
250
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
251
+ * @param workspaceName - The name of the workspace.
242
252
  */
243
253
  export const OutboundNetworkDependenciesEndpointsList =
244
254
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -248,8 +258,10 @@ export const OutboundNetworkDependenciesEndpointsList =
248
258
  // Input Schema
249
259
  export const PrivateEndpointConnectionsCreateInput =
250
260
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
251
- resourceGroupName: Schema.String.pipe(T.PathParam()),
252
261
  subscriptionId: Schema.String.pipe(T.PathParam()),
262
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
263
+ workspaceName: Schema.String.pipe(T.PathParam()),
264
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
253
265
  "api-version": Schema.String,
254
266
  }).pipe(T.Http({
255
267
  method: "PUT",
@@ -257,43 +269,18 @@ export const PrivateEndpointConnectionsCreateInput =
257
269
  }));
258
270
  // Output Schema
259
271
  export const PrivateEndpointConnectionsCreateOutput =
260
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
261
- id: Schema.optional(Schema.String),
262
- name: Schema.optional(Schema.String),
263
- type: Schema.optional(Schema.String),
264
- properties: Schema.Struct({
265
- privateEndpoint: Schema.optional(Schema.Struct({
266
- id: Schema.optional(Schema.String),
267
- })),
268
- groupIds: Schema.optional(Schema.Array(Schema.String)),
269
- privateLinkServiceConnectionState: Schema.Struct({
270
- status: Schema.Literals([
271
- "Pending",
272
- "Approved",
273
- "Rejected",
274
- "Disconnected",
275
- ]),
276
- description: Schema.optional(Schema.String),
277
- actionsRequired: Schema.optional(Schema.String),
278
- }),
279
- provisioningState: Schema.optional(Schema.Literals([
280
- "Succeeded",
281
- "Creating",
282
- "Updating",
283
- "Deleting",
284
- "Failed",
285
- ])),
286
- }),
287
- });
272
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
288
273
  // The operation
289
274
  /**
290
275
  * Update private endpoint connection status
291
276
  *
292
277
  * Update the status of a private endpoint connection with the specified name
293
278
  *
294
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
295
279
  * @param api-version - The API version to use for this operation.
296
280
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
281
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
282
+ * @param workspaceName - The name of the workspace.
283
+ * @param privateEndpointConnectionName - The name of the private endpoint connection
297
284
  */
298
285
  export const PrivateEndpointConnectionsCreate =
299
286
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -303,8 +290,10 @@ export const PrivateEndpointConnectionsCreate =
303
290
  // Input Schema
304
291
  export const PrivateEndpointConnectionsDeleteInput =
305
292
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
306
- resourceGroupName: Schema.String.pipe(T.PathParam()),
307
293
  subscriptionId: Schema.String.pipe(T.PathParam()),
294
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
295
+ workspaceName: Schema.String.pipe(T.PathParam()),
296
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
308
297
  "api-version": Schema.String,
309
298
  }).pipe(T.Http({
310
299
  method: "DELETE",
@@ -319,9 +308,11 @@ export const PrivateEndpointConnectionsDeleteOutput =
319
308
  *
320
309
  * Remove private endpoint connection with the specified name
321
310
  *
322
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
323
311
  * @param api-version - The API version to use for this operation.
324
312
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
313
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
314
+ * @param workspaceName - The name of the workspace.
315
+ * @param privateEndpointConnectionName - The name of the private endpoint connection
325
316
  */
326
317
  export const PrivateEndpointConnectionsDelete =
327
318
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -331,8 +322,10 @@ export const PrivateEndpointConnectionsDelete =
331
322
  // Input Schema
332
323
  export const PrivateEndpointConnectionsGetInput =
333
324
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
334
- resourceGroupName: Schema.String.pipe(T.PathParam()),
335
325
  subscriptionId: Schema.String.pipe(T.PathParam()),
326
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
327
+ workspaceName: Schema.String.pipe(T.PathParam()),
328
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
336
329
  "api-version": Schema.String,
337
330
  }).pipe(T.Http({
338
331
  method: "GET",
@@ -340,43 +333,18 @@ export const PrivateEndpointConnectionsGetInput =
340
333
  }));
341
334
  // Output Schema
342
335
  export const PrivateEndpointConnectionsGetOutput =
343
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
344
- id: Schema.optional(Schema.String),
345
- name: Schema.optional(Schema.String),
346
- type: Schema.optional(Schema.String),
347
- properties: Schema.Struct({
348
- privateEndpoint: Schema.optional(Schema.Struct({
349
- id: Schema.optional(Schema.String),
350
- })),
351
- groupIds: Schema.optional(Schema.Array(Schema.String)),
352
- privateLinkServiceConnectionState: Schema.Struct({
353
- status: Schema.Literals([
354
- "Pending",
355
- "Approved",
356
- "Rejected",
357
- "Disconnected",
358
- ]),
359
- description: Schema.optional(Schema.String),
360
- actionsRequired: Schema.optional(Schema.String),
361
- }),
362
- provisioningState: Schema.optional(Schema.Literals([
363
- "Succeeded",
364
- "Creating",
365
- "Updating",
366
- "Deleting",
367
- "Failed",
368
- ])),
369
- }),
370
- });
336
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
371
337
  // The operation
372
338
  /**
373
339
  * Get private endpoint connection
374
340
  *
375
341
  * Get a private endpoint connection properties for a workspace
376
342
  *
377
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
378
343
  * @param api-version - The API version to use for this operation.
379
344
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
345
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
346
+ * @param workspaceName - The name of the workspace.
347
+ * @param privateEndpointConnectionName - The name of the private endpoint connection
380
348
  */
381
349
  export const PrivateEndpointConnectionsGet =
382
350
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -386,8 +354,9 @@ export const PrivateEndpointConnectionsGet =
386
354
  // Input Schema
387
355
  export const PrivateEndpointConnectionsListInput =
388
356
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
389
- resourceGroupName: Schema.String.pipe(T.PathParam()),
390
357
  subscriptionId: Schema.String.pipe(T.PathParam()),
358
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
359
+ workspaceName: Schema.String.pipe(T.PathParam()),
391
360
  "api-version": Schema.String,
392
361
  }).pipe(T.Http({
393
362
  method: "GET",
@@ -396,34 +365,7 @@ export const PrivateEndpointConnectionsListInput =
396
365
  // Output Schema
397
366
  export const PrivateEndpointConnectionsListOutput =
398
367
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
399
- value: Schema.optional(Schema.Array(Schema.Struct({
400
- id: Schema.optional(Schema.String),
401
- name: Schema.optional(Schema.String),
402
- type: Schema.optional(Schema.String),
403
- properties: Schema.Struct({
404
- privateEndpoint: Schema.optional(Schema.Struct({
405
- id: Schema.optional(Schema.String),
406
- })),
407
- groupIds: Schema.optional(Schema.Array(Schema.String)),
408
- privateLinkServiceConnectionState: Schema.Struct({
409
- status: Schema.Literals([
410
- "Pending",
411
- "Approved",
412
- "Rejected",
413
- "Disconnected",
414
- ]),
415
- description: Schema.optional(Schema.String),
416
- actionsRequired: Schema.optional(Schema.String),
417
- }),
418
- provisioningState: Schema.optional(Schema.Literals([
419
- "Succeeded",
420
- "Creating",
421
- "Updating",
422
- "Deleting",
423
- "Failed",
424
- ])),
425
- }),
426
- }))),
368
+ value: Schema.Array(Schema.Struct({})),
427
369
  nextLink: Schema.optional(Schema.String),
428
370
  });
429
371
  // The operation
@@ -432,9 +374,10 @@ export const PrivateEndpointConnectionsListOutput =
432
374
  *
433
375
  * List private endpoint connections of the workspace
434
376
  *
435
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
436
377
  * @param api-version - The API version to use for this operation.
437
378
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
379
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
380
+ * @param workspaceName - The name of the workspace.
438
381
  */
439
382
  export const PrivateEndpointConnectionsList =
440
383
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -444,8 +387,10 @@ export const PrivateEndpointConnectionsList =
444
387
  // Input Schema
445
388
  export const PrivateLinkResourcesGetInput =
446
389
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
447
- resourceGroupName: Schema.String.pipe(T.PathParam()),
448
390
  subscriptionId: Schema.String.pipe(T.PathParam()),
391
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
392
+ workspaceName: Schema.String.pipe(T.PathParam()),
393
+ groupId: Schema.String.pipe(T.PathParam()),
449
394
  "api-version": Schema.String,
450
395
  }).pipe(T.Http({
451
396
  method: "GET",
@@ -453,20 +398,18 @@ export const PrivateLinkResourcesGetInput =
453
398
  }));
454
399
  // Output Schema
455
400
  export const PrivateLinkResourcesGetOutput =
456
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
457
- id: Schema.optional(Schema.String),
458
- name: Schema.optional(Schema.String),
459
- type: Schema.optional(Schema.String),
460
- });
401
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
461
402
  // The operation
462
403
  /**
463
404
  * Get the specified private link resource
464
405
  *
465
406
  * Get the specified private link resource for the given group id (sub-resource)
466
407
  *
467
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
468
408
  * @param api-version - The API version to use for this operation.
469
409
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
410
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
411
+ * @param workspaceName - The name of the workspace.
412
+ * @param groupId - The name of the private link resource
470
413
  */
471
414
  export const PrivateLinkResourcesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
472
415
  inputSchema: PrivateLinkResourcesGetInput,
@@ -475,8 +418,9 @@ export const PrivateLinkResourcesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
475
418
  // Input Schema
476
419
  export const PrivateLinkResourcesListInput =
477
420
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
478
- resourceGroupName: Schema.String.pipe(T.PathParam()),
479
421
  subscriptionId: Schema.String.pipe(T.PathParam()),
422
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
423
+ workspaceName: Schema.String.pipe(T.PathParam()),
480
424
  "api-version": Schema.String,
481
425
  }).pipe(T.Http({
482
426
  method: "GET",
@@ -485,11 +429,7 @@ export const PrivateLinkResourcesListInput =
485
429
  // Output Schema
486
430
  export const PrivateLinkResourcesListOutput =
487
431
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
488
- value: Schema.optional(Schema.Array(Schema.Struct({
489
- id: Schema.optional(Schema.String),
490
- name: Schema.optional(Schema.String),
491
- type: Schema.optional(Schema.String),
492
- }))),
432
+ value: Schema.Array(Schema.Struct({})),
493
433
  nextLink: Schema.optional(Schema.String),
494
434
  });
495
435
  // The operation
@@ -498,9 +438,10 @@ export const PrivateLinkResourcesListOutput =
498
438
  *
499
439
  * List private link resources for a given workspace
500
440
  *
501
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
502
441
  * @param api-version - The API version to use for this operation.
503
442
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
443
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
444
+ * @param workspaceName - The name of the workspace.
504
445
  */
505
446
  export const PrivateLinkResourcesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
506
447
  inputSchema: PrivateLinkResourcesListInput,
@@ -509,8 +450,10 @@ export const PrivateLinkResourcesList = /*@__PURE__*/ /*#__PURE__*/ API.make(()
509
450
  // Input Schema
510
451
  export const VNetPeeringCreateOrUpdateInput =
511
452
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
512
- resourceGroupName: Schema.String.pipe(T.PathParam()),
513
453
  subscriptionId: Schema.String.pipe(T.PathParam()),
454
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
455
+ workspaceName: Schema.String.pipe(T.PathParam()),
456
+ peeringName: Schema.String.pipe(T.PathParam()),
514
457
  "api-version": Schema.String,
515
458
  }).pipe(T.Http({
516
459
  method: "PUT",
@@ -518,38 +461,16 @@ export const VNetPeeringCreateOrUpdateInput =
518
461
  }));
519
462
  // Output Schema
520
463
  export const VNetPeeringCreateOrUpdateOutput =
521
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
522
- properties: Schema.Struct({
523
- allowVirtualNetworkAccess: Schema.optional(Schema.Boolean),
524
- allowForwardedTraffic: Schema.optional(Schema.Boolean),
525
- allowGatewayTransit: Schema.optional(Schema.Boolean),
526
- useRemoteGateways: Schema.optional(Schema.Boolean),
527
- databricksVirtualNetwork: Schema.optional(Schema.Struct({
528
- id: Schema.optional(Schema.String),
529
- })),
530
- databricksAddressSpace: Schema.optional(Schema.Struct({
531
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
532
- })),
533
- remoteVirtualNetwork: Schema.Struct({
534
- id: Schema.optional(Schema.String),
535
- }),
536
- remoteAddressSpace: Schema.optional(Schema.Struct({
537
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
538
- })),
539
- peeringState: Schema.optional(Schema.Literals(["Initiated", "Connected", "Disconnected"])),
540
- provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Updating", "Deleting", "Failed"])),
541
- }),
542
- name: Schema.optional(Schema.String),
543
- id: Schema.optional(Schema.String),
544
- type: Schema.optional(Schema.String),
545
- });
464
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
546
465
  // The operation
547
466
  /**
548
467
  * Creates vNet Peering for workspace.
549
468
  *
550
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
551
469
  * @param api-version - The API version to use for this operation.
552
470
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
471
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
472
+ * @param workspaceName - The name of the workspace.
473
+ * @param peeringName - The name of the workspace vNet peering.
553
474
  */
554
475
  export const vNetPeeringCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
555
476
  inputSchema: VNetPeeringCreateOrUpdateInput,
@@ -557,8 +478,10 @@ export const vNetPeeringCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(()
557
478
  }));
558
479
  // Input Schema
559
480
  export const VNetPeeringDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
560
- resourceGroupName: Schema.String.pipe(T.PathParam()),
561
481
  subscriptionId: Schema.String.pipe(T.PathParam()),
482
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
483
+ workspaceName: Schema.String.pipe(T.PathParam()),
484
+ peeringName: Schema.String.pipe(T.PathParam()),
562
485
  "api-version": Schema.String,
563
486
  }).pipe(T.Http({
564
487
  method: "DELETE",
@@ -570,9 +493,11 @@ export const VNetPeeringDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
570
493
  /**
571
494
  * Deletes the workspace vNetPeering.
572
495
  *
573
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
574
496
  * @param api-version - The API version to use for this operation.
575
497
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
498
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
499
+ * @param workspaceName - The name of the workspace.
500
+ * @param peeringName - The name of the workspace vNet peering.
576
501
  */
577
502
  export const vNetPeeringDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
578
503
  inputSchema: VNetPeeringDeleteInput,
@@ -580,46 +505,26 @@ export const vNetPeeringDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
580
505
  }));
581
506
  // Input Schema
582
507
  export const VNetPeeringGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
583
- resourceGroupName: Schema.String.pipe(T.PathParam()),
584
508
  subscriptionId: Schema.String.pipe(T.PathParam()),
509
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
510
+ workspaceName: Schema.String.pipe(T.PathParam()),
511
+ peeringName: Schema.String.pipe(T.PathParam()),
585
512
  "api-version": Schema.String,
586
513
  }).pipe(T.Http({
587
514
  method: "GET",
588
515
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}",
589
516
  }));
590
517
  // Output Schema
591
- export const VNetPeeringGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
592
- properties: Schema.Struct({
593
- allowVirtualNetworkAccess: Schema.optional(Schema.Boolean),
594
- allowForwardedTraffic: Schema.optional(Schema.Boolean),
595
- allowGatewayTransit: Schema.optional(Schema.Boolean),
596
- useRemoteGateways: Schema.optional(Schema.Boolean),
597
- databricksVirtualNetwork: Schema.optional(Schema.Struct({
598
- id: Schema.optional(Schema.String),
599
- })),
600
- databricksAddressSpace: Schema.optional(Schema.Struct({
601
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
602
- })),
603
- remoteVirtualNetwork: Schema.Struct({
604
- id: Schema.optional(Schema.String),
605
- }),
606
- remoteAddressSpace: Schema.optional(Schema.Struct({
607
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
608
- })),
609
- peeringState: Schema.optional(Schema.Literals(["Initiated", "Connected", "Disconnected"])),
610
- provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Updating", "Deleting", "Failed"])),
611
- }),
612
- name: Schema.optional(Schema.String),
613
- id: Schema.optional(Schema.String),
614
- type: Schema.optional(Schema.String),
615
- });
518
+ export const VNetPeeringGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
616
519
  // The operation
617
520
  /**
618
521
  * Gets the workspace vNet Peering.
619
522
  *
620
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
621
523
  * @param api-version - The API version to use for this operation.
622
524
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
525
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
526
+ * @param workspaceName - The name of the workspace.
527
+ * @param peeringName - The name of the workspace vNet peering.
623
528
  */
624
529
  export const vNetPeeringGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
625
530
  inputSchema: VNetPeeringGetInput,
@@ -628,8 +533,9 @@ export const vNetPeeringGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
628
533
  // Input Schema
629
534
  export const VNetPeeringListByWorkspaceInput =
630
535
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
631
- resourceGroupName: Schema.String.pipe(T.PathParam()),
632
536
  subscriptionId: Schema.String.pipe(T.PathParam()),
537
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
538
+ workspaceName: Schema.String.pipe(T.PathParam()),
633
539
  "api-version": Schema.String,
634
540
  }).pipe(T.Http({
635
541
  method: "GET",
@@ -638,40 +544,17 @@ export const VNetPeeringListByWorkspaceInput =
638
544
  // Output Schema
639
545
  export const VNetPeeringListByWorkspaceOutput =
640
546
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
641
- value: Schema.optional(Schema.Array(Schema.Struct({
642
- properties: Schema.Struct({
643
- allowVirtualNetworkAccess: Schema.optional(Schema.Boolean),
644
- allowForwardedTraffic: Schema.optional(Schema.Boolean),
645
- allowGatewayTransit: Schema.optional(Schema.Boolean),
646
- useRemoteGateways: Schema.optional(Schema.Boolean),
647
- databricksVirtualNetwork: Schema.optional(Schema.Struct({
648
- id: Schema.optional(Schema.String),
649
- })),
650
- databricksAddressSpace: Schema.optional(Schema.Struct({
651
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
652
- })),
653
- remoteVirtualNetwork: Schema.Struct({
654
- id: Schema.optional(Schema.String),
655
- }),
656
- remoteAddressSpace: Schema.optional(Schema.Struct({
657
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
658
- })),
659
- peeringState: Schema.optional(Schema.Literals(["Initiated", "Connected", "Disconnected"])),
660
- provisioningState: Schema.optional(Schema.Literals(["Succeeded", "Updating", "Deleting", "Failed"])),
661
- }),
662
- name: Schema.optional(Schema.String),
663
- id: Schema.optional(Schema.String),
664
- type: Schema.optional(Schema.String),
665
- }))),
547
+ value: Schema.Array(Schema.Struct({})),
666
548
  nextLink: Schema.optional(Schema.String),
667
549
  });
668
550
  // The operation
669
551
  /**
670
552
  * Lists the workspace vNet Peerings.
671
553
  *
672
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
673
554
  * @param api-version - The API version to use for this operation.
674
555
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
556
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
557
+ * @param workspaceName - The name of the workspace.
675
558
  */
676
559
  export const vNetPeeringListByWorkspace = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
677
560
  inputSchema: VNetPeeringListByWorkspaceInput,
@@ -680,8 +563,9 @@ export const vNetPeeringListByWorkspace = /*@__PURE__*/ /*#__PURE__*/ API.make((
680
563
  // Input Schema
681
564
  export const WorkspacesCreateOrUpdateInput =
682
565
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
683
- resourceGroupName: Schema.String.pipe(T.PathParam()),
684
566
  subscriptionId: Schema.String.pipe(T.PathParam()),
567
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
568
+ workspaceName: Schema.String.pipe(T.PathParam()),
685
569
  "api-version": Schema.String,
686
570
  }).pipe(T.Http({
687
571
  method: "PUT",
@@ -697,9 +581,10 @@ export const WorkspacesCreateOrUpdateOutput =
697
581
  /**
698
582
  * Creates a new workspace.
699
583
  *
700
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
701
584
  * @param api-version - The API version to use for this operation.
702
585
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
586
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
587
+ * @param workspaceName - The name of the workspace.
703
588
  */
704
589
  export const WorkspacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
705
590
  inputSchema: WorkspacesCreateOrUpdateInput,
@@ -707,8 +592,9 @@ export const WorkspacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(()
707
592
  }));
708
593
  // Input Schema
709
594
  export const WorkspacesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
710
- resourceGroupName: Schema.String.pipe(T.PathParam()),
711
595
  subscriptionId: Schema.String.pipe(T.PathParam()),
596
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
597
+ workspaceName: Schema.String.pipe(T.PathParam()),
712
598
  "api-version": Schema.String,
713
599
  forceDeletion: Schema.optional(Schema.Boolean),
714
600
  }).pipe(T.Http({
@@ -721,9 +607,10 @@ export const WorkspacesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
721
607
  /**
722
608
  * Deletes the workspace.
723
609
  *
724
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
725
610
  * @param api-version - The API version to use for this operation.
726
611
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
612
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
613
+ * @param workspaceName - The name of the workspace.
727
614
  * @param forceDeletion - Optional parameter to retain default unity catalog data. By default the data will retained if Uc is enabled on the workspace.
728
615
  */
729
616
  export const WorkspacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -732,8 +619,9 @@ export const WorkspacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
732
619
  }));
733
620
  // Input Schema
734
621
  export const WorkspacesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
735
- resourceGroupName: Schema.String.pipe(T.PathParam()),
736
622
  subscriptionId: Schema.String.pipe(T.PathParam()),
623
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
624
+ workspaceName: Schema.String.pipe(T.PathParam()),
737
625
  "api-version": Schema.String,
738
626
  }).pipe(T.Http({
739
627
  method: "GET",
@@ -748,9 +636,10 @@ export const WorkspacesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
748
636
  /**
749
637
  * Gets the workspace.
750
638
  *
751
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
752
639
  * @param api-version - The API version to use for this operation.
753
640
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
641
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
642
+ * @param workspaceName - The name of the workspace.
754
643
  */
755
644
  export const WorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
756
645
  inputSchema: WorkspacesGetInput,
@@ -759,8 +648,8 @@ export const WorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
759
648
  // Input Schema
760
649
  export const WorkspacesListByResourceGroupInput =
761
650
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
762
- resourceGroupName: Schema.String.pipe(T.PathParam()),
763
651
  subscriptionId: Schema.String.pipe(T.PathParam()),
652
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
764
653
  "api-version": Schema.String,
765
654
  }).pipe(T.Http({
766
655
  method: "GET",
@@ -769,19 +658,19 @@ export const WorkspacesListByResourceGroupInput =
769
658
  // Output Schema
770
659
  export const WorkspacesListByResourceGroupOutput =
771
660
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
772
- value: Schema.optional(Schema.Array(Schema.Struct({
661
+ value: Schema.Array(Schema.Struct({
773
662
  tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
774
663
  location: Schema.String,
775
- }))),
664
+ })),
776
665
  nextLink: Schema.optional(Schema.String),
777
666
  });
778
667
  // The operation
779
668
  /**
780
669
  * Gets all the workspaces within a resource group.
781
670
  *
782
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
783
671
  * @param api-version - The API version to use for this operation.
784
672
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
673
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
785
674
  */
786
675
  export const WorkspacesListByResourceGroup =
787
676
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -800,10 +689,10 @@ export const WorkspacesListBySubscriptionInput =
800
689
  // Output Schema
801
690
  export const WorkspacesListBySubscriptionOutput =
802
691
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
803
- value: Schema.optional(Schema.Array(Schema.Struct({
692
+ value: Schema.Array(Schema.Struct({
804
693
  tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
805
694
  location: Schema.String,
806
- }))),
695
+ })),
807
696
  nextLink: Schema.optional(Schema.String),
808
697
  });
809
698
  // The operation
@@ -820,8 +709,9 @@ export const WorkspacesListBySubscription =
820
709
  }));
821
710
  // Input Schema
822
711
  export const WorkspacesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
823
- resourceGroupName: Schema.String.pipe(T.PathParam()),
824
712
  subscriptionId: Schema.String.pipe(T.PathParam()),
713
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
714
+ workspaceName: Schema.String.pipe(T.PathParam()),
825
715
  "api-version": Schema.String,
826
716
  }).pipe(T.Http({
827
717
  method: "PATCH",
@@ -836,9 +726,10 @@ export const WorkspacesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
836
726
  /**
837
727
  * Updates a workspace.
838
728
  *
839
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
840
729
  * @param api-version - The API version to use for this operation.
841
730
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
731
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
732
+ * @param workspaceName - The name of the workspace.
842
733
  */
843
734
  export const WorkspacesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
844
735
  inputSchema: WorkspacesUpdateInput,