@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
@@ -11,8 +11,9 @@ import * as T from "../traits.ts";
11
11
  // Input Schema
12
12
  export const AccessConnectorsCreateOrUpdateInput =
13
13
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
- resourceGroupName: Schema.String.pipe(T.PathParam()),
15
14
  subscriptionId: Schema.String.pipe(T.PathParam()),
15
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
16
+ connectorName: Schema.String.pipe(T.PathParam()),
16
17
  "api-version": Schema.String,
17
18
  }).pipe(
18
19
  T.Http({
@@ -36,9 +37,10 @@ export type AccessConnectorsCreateOrUpdateOutput =
36
37
  /**
37
38
  * Creates or updates Azure Databricks Access Connector.
38
39
  *
39
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
40
40
  * @param api-version - The API version to use for this operation.
41
41
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
42
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
43
+ * @param connectorName - The name of the Azure Databricks Access Connector.
42
44
  */
43
45
  export const AccessConnectorsCreateOrUpdate =
44
46
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -48,8 +50,9 @@ export const AccessConnectorsCreateOrUpdate =
48
50
  // Input Schema
49
51
  export const AccessConnectorsDeleteInput =
50
52
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
51
- resourceGroupName: Schema.String.pipe(T.PathParam()),
52
53
  subscriptionId: Schema.String.pipe(T.PathParam()),
54
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
55
+ connectorName: Schema.String.pipe(T.PathParam()),
53
56
  "api-version": Schema.String,
54
57
  }).pipe(
55
58
  T.Http({
@@ -70,9 +73,10 @@ export type AccessConnectorsDeleteOutput =
70
73
  /**
71
74
  * Deletes the Azure Databricks Access Connector.
72
75
  *
73
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
74
76
  * @param api-version - The API version to use for this operation.
75
77
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
78
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
79
+ * @param connectorName - The name of the Azure Databricks Access Connector.
76
80
  */
77
81
  export const AccessConnectorsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
78
82
  () => ({
@@ -83,8 +87,9 @@ export const AccessConnectorsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
83
87
  // Input Schema
84
88
  export const AccessConnectorsGetInput =
85
89
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
86
- resourceGroupName: Schema.String.pipe(T.PathParam()),
87
90
  subscriptionId: Schema.String.pipe(T.PathParam()),
91
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
92
+ connectorName: Schema.String.pipe(T.PathParam()),
88
93
  "api-version": Schema.String,
89
94
  }).pipe(
90
95
  T.Http({
@@ -106,9 +111,10 @@ export type AccessConnectorsGetOutput = typeof AccessConnectorsGetOutput.Type;
106
111
  /**
107
112
  * Gets an Azure Databricks Access Connector.
108
113
  *
109
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
110
114
  * @param api-version - The API version to use for this operation.
111
115
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
116
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
117
+ * @param connectorName - The name of the Azure Databricks Access Connector.
112
118
  */
113
119
  export const AccessConnectorsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
114
120
  inputSchema: AccessConnectorsGetInput,
@@ -117,8 +123,8 @@ export const AccessConnectorsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
117
123
  // Input Schema
118
124
  export const AccessConnectorsListByResourceGroupInput =
119
125
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
120
- resourceGroupName: Schema.String.pipe(T.PathParam()),
121
126
  subscriptionId: Schema.String.pipe(T.PathParam()),
127
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
122
128
  "api-version": Schema.String,
123
129
  }).pipe(
124
130
  T.Http({
@@ -132,13 +138,11 @@ export type AccessConnectorsListByResourceGroupInput =
132
138
  // Output Schema
133
139
  export const AccessConnectorsListByResourceGroupOutput =
134
140
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
135
- value: Schema.optional(
136
- Schema.Array(
137
- Schema.Struct({
138
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
139
- location: Schema.String,
140
- }),
141
- ),
141
+ value: Schema.Array(
142
+ Schema.Struct({
143
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
144
+ location: Schema.String,
145
+ }),
142
146
  ),
143
147
  nextLink: Schema.optional(Schema.String),
144
148
  });
@@ -149,9 +153,9 @@ export type AccessConnectorsListByResourceGroupOutput =
149
153
  /**
150
154
  * Gets all the Azure Databricks Access Connectors within a resource group.
151
155
  *
152
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
153
156
  * @param api-version - The API version to use for this operation.
154
157
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
158
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
155
159
  */
156
160
  export const AccessConnectorsListByResourceGroup =
157
161
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -175,13 +179,11 @@ export type AccessConnectorsListBySubscriptionInput =
175
179
  // Output Schema
176
180
  export const AccessConnectorsListBySubscriptionOutput =
177
181
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
178
- value: Schema.optional(
179
- Schema.Array(
180
- Schema.Struct({
181
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
182
- location: Schema.String,
183
- }),
184
- ),
182
+ value: Schema.Array(
183
+ Schema.Struct({
184
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
185
+ location: Schema.String,
186
+ }),
185
187
  ),
186
188
  nextLink: Schema.optional(Schema.String),
187
189
  });
@@ -203,8 +205,9 @@ export const AccessConnectorsListBySubscription =
203
205
  // Input Schema
204
206
  export const AccessConnectorsUpdateInput =
205
207
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
206
- resourceGroupName: Schema.String.pipe(T.PathParam()),
207
208
  subscriptionId: Schema.String.pipe(T.PathParam()),
209
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
210
+ connectorName: Schema.String.pipe(T.PathParam()),
208
211
  "api-version": Schema.String,
209
212
  }).pipe(
210
213
  T.Http({
@@ -228,9 +231,10 @@ export type AccessConnectorsUpdateOutput =
228
231
  /**
229
232
  * Updates an Azure Databricks Access Connector.
230
233
  *
231
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
232
234
  * @param api-version - The API version to use for this operation.
233
235
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
236
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
237
+ * @param connectorName - The name of the Azure Databricks Access Connector.
234
238
  */
235
239
  export const AccessConnectorsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
236
240
  () => ({
@@ -269,7 +273,7 @@ export type OperationsListOutput = typeof OperationsListOutput.Type;
269
273
 
270
274
  // The operation
271
275
  /**
272
- * Lists all of the available RP operations.
276
+ * List the operations for the provider
273
277
  *
274
278
  * @param api-version - The API version to use for this operation.
275
279
  */
@@ -280,8 +284,9 @@ export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
280
284
  // Input Schema
281
285
  export const OutboundNetworkDependenciesEndpointsListInput =
282
286
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
283
- resourceGroupName: Schema.String.pipe(T.PathParam()),
284
287
  subscriptionId: Schema.String.pipe(T.PathParam()),
288
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
289
+ workspaceName: Schema.String.pipe(T.PathParam()),
285
290
  "api-version": Schema.String,
286
291
  }).pipe(
287
292
  T.Http({
@@ -325,9 +330,10 @@ export type OutboundNetworkDependenciesEndpointsListOutput =
325
330
  *
326
331
  * 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
327
332
  *
328
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
329
333
  * @param api-version - The API version to use for this operation.
330
334
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
335
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
336
+ * @param workspaceName - The name of the workspace.
331
337
  */
332
338
  export const OutboundNetworkDependenciesEndpointsList =
333
339
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -337,8 +343,10 @@ export const OutboundNetworkDependenciesEndpointsList =
337
343
  // Input Schema
338
344
  export const PrivateEndpointConnectionsCreateInput =
339
345
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
340
- resourceGroupName: Schema.String.pipe(T.PathParam()),
341
346
  subscriptionId: Schema.String.pipe(T.PathParam()),
347
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
348
+ workspaceName: Schema.String.pipe(T.PathParam()),
349
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
342
350
  "api-version": Schema.String,
343
351
  }).pipe(
344
352
  T.Http({
@@ -351,38 +359,7 @@ export type PrivateEndpointConnectionsCreateInput =
351
359
 
352
360
  // Output Schema
353
361
  export const PrivateEndpointConnectionsCreateOutput =
354
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
355
- id: Schema.optional(Schema.String),
356
- name: Schema.optional(Schema.String),
357
- type: Schema.optional(Schema.String),
358
- properties: Schema.Struct({
359
- privateEndpoint: Schema.optional(
360
- Schema.Struct({
361
- id: Schema.optional(Schema.String),
362
- }),
363
- ),
364
- groupIds: Schema.optional(Schema.Array(Schema.String)),
365
- privateLinkServiceConnectionState: Schema.Struct({
366
- status: Schema.Literals([
367
- "Pending",
368
- "Approved",
369
- "Rejected",
370
- "Disconnected",
371
- ]),
372
- description: Schema.optional(Schema.String),
373
- actionsRequired: Schema.optional(Schema.String),
374
- }),
375
- provisioningState: Schema.optional(
376
- Schema.Literals([
377
- "Succeeded",
378
- "Creating",
379
- "Updating",
380
- "Deleting",
381
- "Failed",
382
- ]),
383
- ),
384
- }),
385
- });
362
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
386
363
  export type PrivateEndpointConnectionsCreateOutput =
387
364
  typeof PrivateEndpointConnectionsCreateOutput.Type;
388
365
 
@@ -392,9 +369,11 @@ export type PrivateEndpointConnectionsCreateOutput =
392
369
  *
393
370
  * Update the status of a private endpoint connection with the specified name
394
371
  *
395
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
396
372
  * @param api-version - The API version to use for this operation.
397
373
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
374
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
375
+ * @param workspaceName - The name of the workspace.
376
+ * @param privateEndpointConnectionName - The name of the private endpoint connection
398
377
  */
399
378
  export const PrivateEndpointConnectionsCreate =
400
379
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -404,8 +383,10 @@ export const PrivateEndpointConnectionsCreate =
404
383
  // Input Schema
405
384
  export const PrivateEndpointConnectionsDeleteInput =
406
385
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
407
- resourceGroupName: Schema.String.pipe(T.PathParam()),
408
386
  subscriptionId: Schema.String.pipe(T.PathParam()),
387
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
388
+ workspaceName: Schema.String.pipe(T.PathParam()),
389
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
409
390
  "api-version": Schema.String,
410
391
  }).pipe(
411
392
  T.Http({
@@ -428,9 +409,11 @@ export type PrivateEndpointConnectionsDeleteOutput =
428
409
  *
429
410
  * Remove private endpoint connection with the specified name
430
411
  *
431
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
432
412
  * @param api-version - The API version to use for this operation.
433
413
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
414
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
415
+ * @param workspaceName - The name of the workspace.
416
+ * @param privateEndpointConnectionName - The name of the private endpoint connection
434
417
  */
435
418
  export const PrivateEndpointConnectionsDelete =
436
419
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -440,8 +423,10 @@ export const PrivateEndpointConnectionsDelete =
440
423
  // Input Schema
441
424
  export const PrivateEndpointConnectionsGetInput =
442
425
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
443
- resourceGroupName: Schema.String.pipe(T.PathParam()),
444
426
  subscriptionId: Schema.String.pipe(T.PathParam()),
427
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
428
+ workspaceName: Schema.String.pipe(T.PathParam()),
429
+ privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
445
430
  "api-version": Schema.String,
446
431
  }).pipe(
447
432
  T.Http({
@@ -454,38 +439,7 @@ export type PrivateEndpointConnectionsGetInput =
454
439
 
455
440
  // Output Schema
456
441
  export const PrivateEndpointConnectionsGetOutput =
457
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
458
- id: Schema.optional(Schema.String),
459
- name: Schema.optional(Schema.String),
460
- type: Schema.optional(Schema.String),
461
- properties: Schema.Struct({
462
- privateEndpoint: Schema.optional(
463
- Schema.Struct({
464
- id: Schema.optional(Schema.String),
465
- }),
466
- ),
467
- groupIds: Schema.optional(Schema.Array(Schema.String)),
468
- privateLinkServiceConnectionState: Schema.Struct({
469
- status: Schema.Literals([
470
- "Pending",
471
- "Approved",
472
- "Rejected",
473
- "Disconnected",
474
- ]),
475
- description: Schema.optional(Schema.String),
476
- actionsRequired: Schema.optional(Schema.String),
477
- }),
478
- provisioningState: Schema.optional(
479
- Schema.Literals([
480
- "Succeeded",
481
- "Creating",
482
- "Updating",
483
- "Deleting",
484
- "Failed",
485
- ]),
486
- ),
487
- }),
488
- });
442
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
489
443
  export type PrivateEndpointConnectionsGetOutput =
490
444
  typeof PrivateEndpointConnectionsGetOutput.Type;
491
445
 
@@ -495,9 +449,11 @@ export type PrivateEndpointConnectionsGetOutput =
495
449
  *
496
450
  * Get a private endpoint connection properties for a workspace
497
451
  *
498
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
499
452
  * @param api-version - The API version to use for this operation.
500
453
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
454
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
455
+ * @param workspaceName - The name of the workspace.
456
+ * @param privateEndpointConnectionName - The name of the private endpoint connection
501
457
  */
502
458
  export const PrivateEndpointConnectionsGet =
503
459
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -507,8 +463,9 @@ export const PrivateEndpointConnectionsGet =
507
463
  // Input Schema
508
464
  export const PrivateEndpointConnectionsListInput =
509
465
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
510
- resourceGroupName: Schema.String.pipe(T.PathParam()),
511
466
  subscriptionId: Schema.String.pipe(T.PathParam()),
467
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
468
+ workspaceName: Schema.String.pipe(T.PathParam()),
512
469
  "api-version": Schema.String,
513
470
  }).pipe(
514
471
  T.Http({
@@ -522,42 +479,7 @@ export type PrivateEndpointConnectionsListInput =
522
479
  // Output Schema
523
480
  export const PrivateEndpointConnectionsListOutput =
524
481
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
525
- value: Schema.optional(
526
- Schema.Array(
527
- Schema.Struct({
528
- id: Schema.optional(Schema.String),
529
- name: Schema.optional(Schema.String),
530
- type: Schema.optional(Schema.String),
531
- properties: Schema.Struct({
532
- privateEndpoint: Schema.optional(
533
- Schema.Struct({
534
- id: Schema.optional(Schema.String),
535
- }),
536
- ),
537
- groupIds: Schema.optional(Schema.Array(Schema.String)),
538
- privateLinkServiceConnectionState: Schema.Struct({
539
- status: Schema.Literals([
540
- "Pending",
541
- "Approved",
542
- "Rejected",
543
- "Disconnected",
544
- ]),
545
- description: Schema.optional(Schema.String),
546
- actionsRequired: Schema.optional(Schema.String),
547
- }),
548
- provisioningState: Schema.optional(
549
- Schema.Literals([
550
- "Succeeded",
551
- "Creating",
552
- "Updating",
553
- "Deleting",
554
- "Failed",
555
- ]),
556
- ),
557
- }),
558
- }),
559
- ),
560
- ),
482
+ value: Schema.Array(Schema.Struct({})),
561
483
  nextLink: Schema.optional(Schema.String),
562
484
  });
563
485
  export type PrivateEndpointConnectionsListOutput =
@@ -569,9 +491,10 @@ export type PrivateEndpointConnectionsListOutput =
569
491
  *
570
492
  * List private endpoint connections of the workspace
571
493
  *
572
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
573
494
  * @param api-version - The API version to use for this operation.
574
495
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
496
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
497
+ * @param workspaceName - The name of the workspace.
575
498
  */
576
499
  export const PrivateEndpointConnectionsList =
577
500
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -581,8 +504,10 @@ export const PrivateEndpointConnectionsList =
581
504
  // Input Schema
582
505
  export const PrivateLinkResourcesGetInput =
583
506
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
584
- resourceGroupName: Schema.String.pipe(T.PathParam()),
585
507
  subscriptionId: Schema.String.pipe(T.PathParam()),
508
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
509
+ workspaceName: Schema.String.pipe(T.PathParam()),
510
+ groupId: Schema.String.pipe(T.PathParam()),
586
511
  "api-version": Schema.String,
587
512
  }).pipe(
588
513
  T.Http({
@@ -595,11 +520,7 @@ export type PrivateLinkResourcesGetInput =
595
520
 
596
521
  // Output Schema
597
522
  export const PrivateLinkResourcesGetOutput =
598
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
599
- id: Schema.optional(Schema.String),
600
- name: Schema.optional(Schema.String),
601
- type: Schema.optional(Schema.String),
602
- });
523
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
603
524
  export type PrivateLinkResourcesGetOutput =
604
525
  typeof PrivateLinkResourcesGetOutput.Type;
605
526
 
@@ -609,9 +530,11 @@ export type PrivateLinkResourcesGetOutput =
609
530
  *
610
531
  * Get the specified private link resource for the given group id (sub-resource)
611
532
  *
612
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
613
533
  * @param api-version - The API version to use for this operation.
614
534
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
535
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
536
+ * @param workspaceName - The name of the workspace.
537
+ * @param groupId - The name of the private link resource
615
538
  */
616
539
  export const PrivateLinkResourcesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
617
540
  () => ({
@@ -622,8 +545,9 @@ export const PrivateLinkResourcesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
622
545
  // Input Schema
623
546
  export const PrivateLinkResourcesListInput =
624
547
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
625
- resourceGroupName: Schema.String.pipe(T.PathParam()),
626
548
  subscriptionId: Schema.String.pipe(T.PathParam()),
549
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
550
+ workspaceName: Schema.String.pipe(T.PathParam()),
627
551
  "api-version": Schema.String,
628
552
  }).pipe(
629
553
  T.Http({
@@ -637,15 +561,7 @@ export type PrivateLinkResourcesListInput =
637
561
  // Output Schema
638
562
  export const PrivateLinkResourcesListOutput =
639
563
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
640
- value: Schema.optional(
641
- Schema.Array(
642
- Schema.Struct({
643
- id: Schema.optional(Schema.String),
644
- name: Schema.optional(Schema.String),
645
- type: Schema.optional(Schema.String),
646
- }),
647
- ),
648
- ),
564
+ value: Schema.Array(Schema.Struct({})),
649
565
  nextLink: Schema.optional(Schema.String),
650
566
  });
651
567
  export type PrivateLinkResourcesListOutput =
@@ -657,9 +573,10 @@ export type PrivateLinkResourcesListOutput =
657
573
  *
658
574
  * List private link resources for a given workspace
659
575
  *
660
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
661
576
  * @param api-version - The API version to use for this operation.
662
577
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
578
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
579
+ * @param workspaceName - The name of the workspace.
663
580
  */
664
581
  export const PrivateLinkResourcesList = /*@__PURE__*/ /*#__PURE__*/ API.make(
665
582
  () => ({
@@ -670,8 +587,10 @@ export const PrivateLinkResourcesList = /*@__PURE__*/ /*#__PURE__*/ API.make(
670
587
  // Input Schema
671
588
  export const VNetPeeringCreateOrUpdateInput =
672
589
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
673
- resourceGroupName: Schema.String.pipe(T.PathParam()),
674
590
  subscriptionId: Schema.String.pipe(T.PathParam()),
591
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
592
+ workspaceName: Schema.String.pipe(T.PathParam()),
593
+ peeringName: Schema.String.pipe(T.PathParam()),
675
594
  "api-version": Schema.String,
676
595
  }).pipe(
677
596
  T.Http({
@@ -684,41 +603,7 @@ export type VNetPeeringCreateOrUpdateInput =
684
603
 
685
604
  // Output Schema
686
605
  export const VNetPeeringCreateOrUpdateOutput =
687
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
688
- properties: Schema.Struct({
689
- allowVirtualNetworkAccess: Schema.optional(Schema.Boolean),
690
- allowForwardedTraffic: Schema.optional(Schema.Boolean),
691
- allowGatewayTransit: Schema.optional(Schema.Boolean),
692
- useRemoteGateways: Schema.optional(Schema.Boolean),
693
- databricksVirtualNetwork: Schema.optional(
694
- Schema.Struct({
695
- id: Schema.optional(Schema.String),
696
- }),
697
- ),
698
- databricksAddressSpace: Schema.optional(
699
- Schema.Struct({
700
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
701
- }),
702
- ),
703
- remoteVirtualNetwork: Schema.Struct({
704
- id: Schema.optional(Schema.String),
705
- }),
706
- remoteAddressSpace: Schema.optional(
707
- Schema.Struct({
708
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
709
- }),
710
- ),
711
- peeringState: Schema.optional(
712
- Schema.Literals(["Initiated", "Connected", "Disconnected"]),
713
- ),
714
- provisioningState: Schema.optional(
715
- Schema.Literals(["Succeeded", "Updating", "Deleting", "Failed"]),
716
- ),
717
- }),
718
- name: Schema.optional(Schema.String),
719
- id: Schema.optional(Schema.String),
720
- type: Schema.optional(Schema.String),
721
- });
606
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
722
607
  export type VNetPeeringCreateOrUpdateOutput =
723
608
  typeof VNetPeeringCreateOrUpdateOutput.Type;
724
609
 
@@ -726,9 +611,11 @@ export type VNetPeeringCreateOrUpdateOutput =
726
611
  /**
727
612
  * Creates vNet Peering for workspace.
728
613
  *
729
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
730
614
  * @param api-version - The API version to use for this operation.
731
615
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
616
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
617
+ * @param workspaceName - The name of the workspace.
618
+ * @param peeringName - The name of the workspace vNet peering.
732
619
  */
733
620
  export const vNetPeeringCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
734
621
  () => ({
@@ -739,8 +626,10 @@ export const vNetPeeringCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
739
626
  // Input Schema
740
627
  export const VNetPeeringDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
741
628
  {
742
- resourceGroupName: Schema.String.pipe(T.PathParam()),
743
629
  subscriptionId: Schema.String.pipe(T.PathParam()),
630
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
631
+ workspaceName: Schema.String.pipe(T.PathParam()),
632
+ peeringName: Schema.String.pipe(T.PathParam()),
744
633
  "api-version": Schema.String,
745
634
  },
746
635
  ).pipe(
@@ -759,9 +648,11 @@ export type VNetPeeringDeleteOutput = typeof VNetPeeringDeleteOutput.Type;
759
648
  /**
760
649
  * Deletes the workspace vNetPeering.
761
650
  *
762
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
763
651
  * @param api-version - The API version to use for this operation.
764
652
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
653
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
654
+ * @param workspaceName - The name of the workspace.
655
+ * @param peeringName - The name of the workspace vNet peering.
765
656
  */
766
657
  export const vNetPeeringDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
767
658
  inputSchema: VNetPeeringDeleteInput,
@@ -769,8 +660,10 @@ export const vNetPeeringDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
769
660
  }));
770
661
  // Input Schema
771
662
  export const VNetPeeringGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
772
- resourceGroupName: Schema.String.pipe(T.PathParam()),
773
663
  subscriptionId: Schema.String.pipe(T.PathParam()),
664
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
665
+ workspaceName: Schema.String.pipe(T.PathParam()),
666
+ peeringName: Schema.String.pipe(T.PathParam()),
774
667
  "api-version": Schema.String,
775
668
  }).pipe(
776
669
  T.Http({
@@ -781,50 +674,20 @@ export const VNetPeeringGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
781
674
  export type VNetPeeringGetInput = typeof VNetPeeringGetInput.Type;
782
675
 
783
676
  // Output Schema
784
- export const VNetPeeringGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
785
- properties: Schema.Struct({
786
- allowVirtualNetworkAccess: Schema.optional(Schema.Boolean),
787
- allowForwardedTraffic: Schema.optional(Schema.Boolean),
788
- allowGatewayTransit: Schema.optional(Schema.Boolean),
789
- useRemoteGateways: Schema.optional(Schema.Boolean),
790
- databricksVirtualNetwork: Schema.optional(
791
- Schema.Struct({
792
- id: Schema.optional(Schema.String),
793
- }),
794
- ),
795
- databricksAddressSpace: Schema.optional(
796
- Schema.Struct({
797
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
798
- }),
799
- ),
800
- remoteVirtualNetwork: Schema.Struct({
801
- id: Schema.optional(Schema.String),
802
- }),
803
- remoteAddressSpace: Schema.optional(
804
- Schema.Struct({
805
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
806
- }),
807
- ),
808
- peeringState: Schema.optional(
809
- Schema.Literals(["Initiated", "Connected", "Disconnected"]),
810
- ),
811
- provisioningState: Schema.optional(
812
- Schema.Literals(["Succeeded", "Updating", "Deleting", "Failed"]),
813
- ),
814
- }),
815
- name: Schema.optional(Schema.String),
816
- id: Schema.optional(Schema.String),
817
- type: Schema.optional(Schema.String),
818
- });
677
+ export const VNetPeeringGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
678
+ {},
679
+ );
819
680
  export type VNetPeeringGetOutput = typeof VNetPeeringGetOutput.Type;
820
681
 
821
682
  // The operation
822
683
  /**
823
684
  * Gets the workspace vNet Peering.
824
685
  *
825
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
826
686
  * @param api-version - The API version to use for this operation.
827
687
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
688
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
689
+ * @param workspaceName - The name of the workspace.
690
+ * @param peeringName - The name of the workspace vNet peering.
828
691
  */
829
692
  export const vNetPeeringGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
830
693
  inputSchema: VNetPeeringGetInput,
@@ -833,8 +696,9 @@ export const vNetPeeringGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
833
696
  // Input Schema
834
697
  export const VNetPeeringListByWorkspaceInput =
835
698
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
836
- resourceGroupName: Schema.String.pipe(T.PathParam()),
837
699
  subscriptionId: Schema.String.pipe(T.PathParam()),
700
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
701
+ workspaceName: Schema.String.pipe(T.PathParam()),
838
702
  "api-version": Schema.String,
839
703
  }).pipe(
840
704
  T.Http({
@@ -848,45 +712,7 @@ export type VNetPeeringListByWorkspaceInput =
848
712
  // Output Schema
849
713
  export const VNetPeeringListByWorkspaceOutput =
850
714
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
851
- value: Schema.optional(
852
- Schema.Array(
853
- Schema.Struct({
854
- properties: Schema.Struct({
855
- allowVirtualNetworkAccess: Schema.optional(Schema.Boolean),
856
- allowForwardedTraffic: Schema.optional(Schema.Boolean),
857
- allowGatewayTransit: Schema.optional(Schema.Boolean),
858
- useRemoteGateways: Schema.optional(Schema.Boolean),
859
- databricksVirtualNetwork: Schema.optional(
860
- Schema.Struct({
861
- id: Schema.optional(Schema.String),
862
- }),
863
- ),
864
- databricksAddressSpace: Schema.optional(
865
- Schema.Struct({
866
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
867
- }),
868
- ),
869
- remoteVirtualNetwork: Schema.Struct({
870
- id: Schema.optional(Schema.String),
871
- }),
872
- remoteAddressSpace: Schema.optional(
873
- Schema.Struct({
874
- addressPrefixes: Schema.optional(Schema.Array(Schema.String)),
875
- }),
876
- ),
877
- peeringState: Schema.optional(
878
- Schema.Literals(["Initiated", "Connected", "Disconnected"]),
879
- ),
880
- provisioningState: Schema.optional(
881
- Schema.Literals(["Succeeded", "Updating", "Deleting", "Failed"]),
882
- ),
883
- }),
884
- name: Schema.optional(Schema.String),
885
- id: Schema.optional(Schema.String),
886
- type: Schema.optional(Schema.String),
887
- }),
888
- ),
889
- ),
715
+ value: Schema.Array(Schema.Struct({})),
890
716
  nextLink: Schema.optional(Schema.String),
891
717
  });
892
718
  export type VNetPeeringListByWorkspaceOutput =
@@ -896,9 +722,10 @@ export type VNetPeeringListByWorkspaceOutput =
896
722
  /**
897
723
  * Lists the workspace vNet Peerings.
898
724
  *
899
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
900
725
  * @param api-version - The API version to use for this operation.
901
726
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
727
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
728
+ * @param workspaceName - The name of the workspace.
902
729
  */
903
730
  export const vNetPeeringListByWorkspace = /*@__PURE__*/ /*#__PURE__*/ API.make(
904
731
  () => ({
@@ -909,8 +736,9 @@ export const vNetPeeringListByWorkspace = /*@__PURE__*/ /*#__PURE__*/ API.make(
909
736
  // Input Schema
910
737
  export const WorkspacesCreateOrUpdateInput =
911
738
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
912
- resourceGroupName: Schema.String.pipe(T.PathParam()),
913
739
  subscriptionId: Schema.String.pipe(T.PathParam()),
740
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
741
+ workspaceName: Schema.String.pipe(T.PathParam()),
914
742
  "api-version": Schema.String,
915
743
  }).pipe(
916
744
  T.Http({
@@ -934,9 +762,10 @@ export type WorkspacesCreateOrUpdateOutput =
934
762
  /**
935
763
  * Creates a new workspace.
936
764
  *
937
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
938
765
  * @param api-version - The API version to use for this operation.
939
766
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
767
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
768
+ * @param workspaceName - The name of the workspace.
940
769
  */
941
770
  export const WorkspacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
942
771
  () => ({
@@ -946,8 +775,9 @@ export const WorkspacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
946
775
  );
947
776
  // Input Schema
948
777
  export const WorkspacesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
949
- resourceGroupName: Schema.String.pipe(T.PathParam()),
950
778
  subscriptionId: Schema.String.pipe(T.PathParam()),
779
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
780
+ workspaceName: Schema.String.pipe(T.PathParam()),
951
781
  "api-version": Schema.String,
952
782
  forceDeletion: Schema.optional(Schema.Boolean),
953
783
  }).pipe(
@@ -966,9 +796,10 @@ export type WorkspacesDeleteOutput = typeof WorkspacesDeleteOutput.Type;
966
796
  /**
967
797
  * Deletes the workspace.
968
798
  *
969
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
970
799
  * @param api-version - The API version to use for this operation.
971
800
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
801
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
802
+ * @param workspaceName - The name of the workspace.
972
803
  * @param forceDeletion - Optional parameter to retain default unity catalog data. By default the data will retained if Uc is enabled on the workspace.
973
804
  */
974
805
  export const WorkspacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -977,8 +808,9 @@ export const WorkspacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
977
808
  }));
978
809
  // Input Schema
979
810
  export const WorkspacesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
980
- resourceGroupName: Schema.String.pipe(T.PathParam()),
981
811
  subscriptionId: Schema.String.pipe(T.PathParam()),
812
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
813
+ workspaceName: Schema.String.pipe(T.PathParam()),
982
814
  "api-version": Schema.String,
983
815
  }).pipe(
984
816
  T.Http({
@@ -999,9 +831,10 @@ export type WorkspacesGetOutput = typeof WorkspacesGetOutput.Type;
999
831
  /**
1000
832
  * Gets the workspace.
1001
833
  *
1002
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1003
834
  * @param api-version - The API version to use for this operation.
1004
835
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
836
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
837
+ * @param workspaceName - The name of the workspace.
1005
838
  */
1006
839
  export const WorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1007
840
  inputSchema: WorkspacesGetInput,
@@ -1010,8 +843,8 @@ export const WorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1010
843
  // Input Schema
1011
844
  export const WorkspacesListByResourceGroupInput =
1012
845
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1013
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1014
846
  subscriptionId: Schema.String.pipe(T.PathParam()),
847
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1015
848
  "api-version": Schema.String,
1016
849
  }).pipe(
1017
850
  T.Http({
@@ -1025,13 +858,11 @@ export type WorkspacesListByResourceGroupInput =
1025
858
  // Output Schema
1026
859
  export const WorkspacesListByResourceGroupOutput =
1027
860
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1028
- value: Schema.optional(
1029
- Schema.Array(
1030
- Schema.Struct({
1031
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1032
- location: Schema.String,
1033
- }),
1034
- ),
861
+ value: Schema.Array(
862
+ Schema.Struct({
863
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
864
+ location: Schema.String,
865
+ }),
1035
866
  ),
1036
867
  nextLink: Schema.optional(Schema.String),
1037
868
  });
@@ -1042,9 +873,9 @@ export type WorkspacesListByResourceGroupOutput =
1042
873
  /**
1043
874
  * Gets all the workspaces within a resource group.
1044
875
  *
1045
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1046
876
  * @param api-version - The API version to use for this operation.
1047
877
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
878
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1048
879
  */
1049
880
  export const WorkspacesListByResourceGroup =
1050
881
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -1068,13 +899,11 @@ export type WorkspacesListBySubscriptionInput =
1068
899
  // Output Schema
1069
900
  export const WorkspacesListBySubscriptionOutput =
1070
901
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1071
- value: Schema.optional(
1072
- Schema.Array(
1073
- Schema.Struct({
1074
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1075
- location: Schema.String,
1076
- }),
1077
- ),
902
+ value: Schema.Array(
903
+ Schema.Struct({
904
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
905
+ location: Schema.String,
906
+ }),
1078
907
  ),
1079
908
  nextLink: Schema.optional(Schema.String),
1080
909
  });
@@ -1095,8 +924,9 @@ export const WorkspacesListBySubscription =
1095
924
  }));
1096
925
  // Input Schema
1097
926
  export const WorkspacesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1098
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1099
927
  subscriptionId: Schema.String.pipe(T.PathParam()),
928
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
929
+ workspaceName: Schema.String.pipe(T.PathParam()),
1100
930
  "api-version": Schema.String,
1101
931
  }).pipe(
1102
932
  T.Http({
@@ -1119,9 +949,10 @@ export type WorkspacesUpdateOutput = typeof WorkspacesUpdateOutput.Type;
1119
949
  /**
1120
950
  * Updates a workspace.
1121
951
  *
1122
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1123
952
  * @param api-version - The API version to use for this operation.
1124
953
  * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
954
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
955
+ * @param workspaceName - The name of the workspace.
1125
956
  */
1126
957
  export const WorkspacesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1127
958
  inputSchema: WorkspacesUpdateInput,