@distilled.cloud/azure 0.8.0 → 0.10.0

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 (151) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts +24 -24
  6. package/lib/retry.d.ts +2 -2
  7. package/lib/retry.d.ts.map +1 -1
  8. package/lib/retry.js +2 -2
  9. package/lib/retry.js.map +1 -1
  10. package/lib/services/app.d.ts +551 -0
  11. package/lib/services/app.d.ts.map +1 -1
  12. package/lib/services/app.js +788 -0
  13. package/lib/services/app.js.map +1 -1
  14. package/lib/services/applicationinsights.d.ts +56 -85
  15. package/lib/services/applicationinsights.d.ts.map +1 -1
  16. package/lib/services/applicationinsights.js +56 -120
  17. package/lib/services/applicationinsights.js.map +1 -1
  18. package/lib/services/authorization.d.ts +61 -243
  19. package/lib/services/authorization.d.ts.map +1 -1
  20. package/lib/services/authorization.js +61 -303
  21. package/lib/services/authorization.js.map +1 -1
  22. package/lib/services/automation.d.ts +764 -1010
  23. package/lib/services/automation.d.ts.map +1 -1
  24. package/lib/services/automation.js +764 -1070
  25. package/lib/services/automation.js.map +1 -1
  26. package/lib/services/azure-kusto.d.ts +440 -166
  27. package/lib/services/azure-kusto.d.ts.map +1 -1
  28. package/lib/services/azure-kusto.js +440 -166
  29. package/lib/services/azure-kusto.js.map +1 -1
  30. package/lib/services/batch.d.ts +1 -1
  31. package/lib/services/batch.js +1 -1
  32. package/lib/services/batch.js.map +1 -1
  33. package/lib/services/cognitiveservices.d.ts +2 -0
  34. package/lib/services/cognitiveservices.d.ts.map +1 -1
  35. package/lib/services/cognitiveservices.js +3 -1
  36. package/lib/services/cognitiveservices.js.map +1 -1
  37. package/lib/services/computelimit.d.ts +188 -0
  38. package/lib/services/computelimit.d.ts.map +1 -1
  39. package/lib/services/computelimit.js +236 -0
  40. package/lib/services/computelimit.js.map +1 -1
  41. package/lib/services/containerinstance.d.ts +210 -1291
  42. package/lib/services/containerinstance.d.ts.map +1 -1
  43. package/lib/services/containerinstance.js +250 -1355
  44. package/lib/services/containerinstance.js.map +1 -1
  45. package/lib/services/databricks.d.ts +111 -187
  46. package/lib/services/databricks.d.ts.map +1 -1
  47. package/lib/services/databricks.js +111 -220
  48. package/lib/services/databricks.js.map +1 -1
  49. package/lib/services/desktopvirtualization.d.ts +51 -575
  50. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  51. package/lib/services/desktopvirtualization.js +56 -590
  52. package/lib/services/desktopvirtualization.js.map +1 -1
  53. package/lib/services/imagebuilder.d.ts +129 -15
  54. package/lib/services/imagebuilder.d.ts.map +1 -1
  55. package/lib/services/imagebuilder.js +129 -15
  56. package/lib/services/imagebuilder.js.map +1 -1
  57. package/lib/services/index.d.ts +2 -0
  58. package/lib/services/index.d.ts.map +1 -1
  59. package/lib/services/index.js +2 -0
  60. package/lib/services/index.js.map +1 -1
  61. package/lib/services/managednetworkfabric.d.ts +4283 -693
  62. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  63. package/lib/services/managednetworkfabric.js +4833 -828
  64. package/lib/services/managednetworkfabric.js.map +1 -1
  65. package/lib/services/monitor.d.ts +81 -73
  66. package/lib/services/monitor.d.ts.map +1 -1
  67. package/lib/services/monitor.js +91 -88
  68. package/lib/services/monitor.js.map +1 -1
  69. package/lib/services/monitoringservice.d.ts +149 -0
  70. package/lib/services/monitoringservice.d.ts.map +1 -0
  71. package/lib/services/monitoringservice.js +216 -0
  72. package/lib/services/monitoringservice.js.map +1 -0
  73. package/lib/services/network.d.ts +4513 -3857
  74. package/lib/services/network.d.ts.map +1 -1
  75. package/lib/services/network.js +4544 -4056
  76. package/lib/services/network.js.map +1 -1
  77. package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
  78. package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
  79. package/lib/services/orbitalplanetarycomputer.js +183 -0
  80. package/lib/services/orbitalplanetarycomputer.js.map +1 -0
  81. package/lib/services/recoveryservicesbackup.d.ts +24 -312
  82. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  83. package/lib/services/recoveryservicesbackup.js +24 -312
  84. package/lib/services/recoveryservicesbackup.js.map +1 -1
  85. package/lib/services/redhatopenshift.d.ts +9 -11
  86. package/lib/services/redhatopenshift.d.ts.map +1 -1
  87. package/lib/services/redhatopenshift.js +9 -11
  88. package/lib/services/redhatopenshift.js.map +1 -1
  89. package/lib/services/reservations.d.ts +159 -239
  90. package/lib/services/reservations.d.ts.map +1 -1
  91. package/lib/services/reservations.js +159 -369
  92. package/lib/services/reservations.js.map +1 -1
  93. package/lib/services/resourcegraph.d.ts +64 -30
  94. package/lib/services/resourcegraph.d.ts.map +1 -1
  95. package/lib/services/resourcegraph.js +74 -30
  96. package/lib/services/resourcegraph.js.map +1 -1
  97. package/lib/services/resources.d.ts +549 -3331
  98. package/lib/services/resources.d.ts.map +1 -1
  99. package/lib/services/resources.js +1029 -4846
  100. package/lib/services/resources.js.map +1 -1
  101. package/lib/services/search.d.ts +9 -2
  102. package/lib/services/search.d.ts.map +1 -1
  103. package/lib/services/search.js +9 -2
  104. package/lib/services/search.js.map +1 -1
  105. package/lib/services/sql.d.ts +4008 -2495
  106. package/lib/services/sql.d.ts.map +1 -1
  107. package/lib/services/sql.js +4208 -2521
  108. package/lib/services/sql.js.map +1 -1
  109. package/lib/services/storage.d.ts +4 -20
  110. package/lib/services/storage.d.ts.map +1 -1
  111. package/lib/services/storage.js +4 -20
  112. package/lib/services/storage.js.map +1 -1
  113. package/lib/services/storageactions.d.ts +18 -0
  114. package/lib/services/storageactions.d.ts.map +1 -1
  115. package/lib/services/storageactions.js +28 -0
  116. package/lib/services/storageactions.js.map +1 -1
  117. package/lib/services/storagecache.d.ts +288 -752
  118. package/lib/services/storagecache.d.ts.map +1 -1
  119. package/lib/services/storagecache.js +312 -930
  120. package/lib/services/storagecache.js.map +1 -1
  121. package/package.json +4 -4
  122. package/src/credentials.ts +2 -2
  123. package/src/retry.ts +2 -2
  124. package/src/services/app.ts +1014 -0
  125. package/src/services/applicationinsights.ts +56 -169
  126. package/src/services/authorization.ts +65 -397
  127. package/src/services/automation.ts +1179 -1686
  128. package/src/services/azure-kusto.ts +494 -228
  129. package/src/services/batch.ts +1 -1
  130. package/src/services/cognitiveservices.ts +3 -1
  131. package/src/services/computelimit.ts +310 -0
  132. package/src/services/containerinstance.ts +1393 -3134
  133. package/src/services/databricks.ts +125 -294
  134. package/src/services/desktopvirtualization.ts +83 -859
  135. package/src/services/imagebuilder.ts +129 -21
  136. package/src/services/index.ts +2 -0
  137. package/src/services/managednetworkfabric.ts +7141 -1408
  138. package/src/services/monitor.ts +134 -136
  139. package/src/services/monitoringservice.ts +287 -0
  140. package/src/services/network.ts +5738 -6158
  141. package/src/services/orbitalplanetarycomputer.ts +233 -0
  142. package/src/services/recoveryservicesbackup.ts +26 -456
  143. package/src/services/redhatopenshift.ts +26 -34
  144. package/src/services/reservations.ts +209 -553
  145. package/src/services/resourcegraph.ts +123 -55
  146. package/src/services/resources.ts +1852 -8168
  147. package/src/services/search.ts +9 -2
  148. package/src/services/sql.ts +4552 -2757
  149. package/src/services/storage.ts +4 -22
  150. package/src/services/storageactions.ts +36 -0
  151. package/src/services/storagecache.ts +312 -1303
@@ -13,7 +13,9 @@ export const WorkbooksCreateOrUpdateInput =
13
13
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
14
  subscriptionId: Schema.String.pipe(T.PathParam()),
15
15
  resourceGroupName: Schema.String.pipe(T.PathParam()),
16
+ resourceName: Schema.String.pipe(T.PathParam()),
16
17
  "api-version": Schema.String,
18
+ sourceId: Schema.optional(Schema.String),
17
19
  }).pipe(
18
20
  T.Http({
19
21
  method: "PUT",
@@ -26,29 +28,8 @@ export type WorkbooksCreateOrUpdateInput =
26
28
  // Output Schema
27
29
  export const WorkbooksCreateOrUpdateOutput =
28
30
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
29
- identity: Schema.optional(
30
- Schema.Struct({
31
- principalId: Schema.optional(Schema.String),
32
- tenantId: Schema.optional(Schema.String),
33
- type: Schema.Literals([
34
- "None",
35
- "SystemAssigned",
36
- "UserAssigned",
37
- "SystemAssigned,UserAssigned",
38
- ]),
39
- userAssignedIdentities: Schema.optional(
40
- Schema.Record(
41
- Schema.String,
42
- Schema.Struct({
43
- principalId: Schema.optional(Schema.String),
44
- clientId: Schema.optional(Schema.String),
45
- }),
46
- ),
47
- ),
48
- }),
49
- ),
50
- kind: Schema.optional(Schema.Literals(["shared"])),
51
- etag: Schema.optional(Schema.String),
31
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
32
+ location: Schema.String,
52
33
  });
53
34
  export type WorkbooksCreateOrUpdateOutput =
54
35
  typeof WorkbooksCreateOrUpdateOutput.Type;
@@ -57,9 +38,11 @@ export type WorkbooksCreateOrUpdateOutput =
57
38
  /**
58
39
  * Create a new workbook.
59
40
  *
41
+ * @param api-version - The API version to use for this operation.
60
42
  * @param subscriptionId - The ID of the target subscription.
61
43
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
62
- * @param api-version - The API version to use for this operation.
44
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
45
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
63
46
  */
64
47
  export const WorkbooksCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
65
48
  () => ({
@@ -71,6 +54,7 @@ export const WorkbooksCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
71
54
  export const WorkbooksDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
72
55
  subscriptionId: Schema.String.pipe(T.PathParam()),
73
56
  resourceGroupName: Schema.String.pipe(T.PathParam()),
57
+ resourceName: Schema.String.pipe(T.PathParam()),
74
58
  "api-version": Schema.String,
75
59
  }).pipe(
76
60
  T.Http({
@@ -88,9 +72,10 @@ export type WorkbooksDeleteOutput = typeof WorkbooksDeleteOutput.Type;
88
72
  /**
89
73
  * Delete a workbook.
90
74
  *
75
+ * @param api-version - The API version to use for this operation.
91
76
  * @param subscriptionId - The ID of the target subscription.
92
77
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
93
- * @param api-version - The API version to use for this operation.
78
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
94
79
  */
95
80
  export const WorkbooksDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
96
81
  inputSchema: WorkbooksDeleteInput,
@@ -100,7 +85,9 @@ export const WorkbooksDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
100
85
  export const WorkbooksGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
101
86
  subscriptionId: Schema.String.pipe(T.PathParam()),
102
87
  resourceGroupName: Schema.String.pipe(T.PathParam()),
88
+ resourceName: Schema.String.pipe(T.PathParam()),
103
89
  "api-version": Schema.String,
90
+ canFetchContent: Schema.optional(Schema.Boolean),
104
91
  }).pipe(
105
92
  T.Http({
106
93
  method: "GET",
@@ -111,29 +98,8 @@ export type WorkbooksGetInput = typeof WorkbooksGetInput.Type;
111
98
 
112
99
  // Output Schema
113
100
  export const WorkbooksGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
114
- identity: Schema.optional(
115
- Schema.Struct({
116
- principalId: Schema.optional(Schema.String),
117
- tenantId: Schema.optional(Schema.String),
118
- type: Schema.Literals([
119
- "None",
120
- "SystemAssigned",
121
- "UserAssigned",
122
- "SystemAssigned,UserAssigned",
123
- ]),
124
- userAssignedIdentities: Schema.optional(
125
- Schema.Record(
126
- Schema.String,
127
- Schema.Struct({
128
- principalId: Schema.optional(Schema.String),
129
- clientId: Schema.optional(Schema.String),
130
- }),
131
- ),
132
- ),
133
- }),
134
- ),
135
- kind: Schema.optional(Schema.Literals(["shared"])),
136
- etag: Schema.optional(Schema.String),
101
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
102
+ location: Schema.String,
137
103
  });
138
104
  export type WorkbooksGetOutput = typeof WorkbooksGetOutput.Type;
139
105
 
@@ -141,9 +107,11 @@ export type WorkbooksGetOutput = typeof WorkbooksGetOutput.Type;
141
107
  /**
142
108
  * Get a single workbook by its resourceName.
143
109
  *
110
+ * @param api-version - The API version to use for this operation.
144
111
  * @param subscriptionId - The ID of the target subscription.
145
112
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
146
- * @param api-version - The API version to use for this operation.
113
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
114
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
147
115
  */
148
116
  export const WorkbooksGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
149
117
  inputSchema: WorkbooksGetInput,
@@ -155,6 +123,10 @@ export const WorkbooksListByResourceGroupInput =
155
123
  subscriptionId: Schema.String.pipe(T.PathParam()),
156
124
  resourceGroupName: Schema.String.pipe(T.PathParam()),
157
125
  "api-version": Schema.String,
126
+ category: Schema.Literals(["workbook", "TSG", "performance", "retention"]),
127
+ tags: Schema.optional(Schema.String),
128
+ sourceId: Schema.optional(Schema.String),
129
+ canFetchContent: Schema.optional(Schema.Boolean),
158
130
  }).pipe(
159
131
  T.Http({
160
132
  method: "GET",
@@ -170,29 +142,8 @@ export const WorkbooksListByResourceGroupOutput =
170
142
  value: Schema.optional(
171
143
  Schema.Array(
172
144
  Schema.Struct({
173
- identity: Schema.optional(
174
- Schema.Struct({
175
- principalId: Schema.optional(Schema.String),
176
- tenantId: Schema.optional(Schema.String),
177
- type: Schema.Literals([
178
- "None",
179
- "SystemAssigned",
180
- "UserAssigned",
181
- "SystemAssigned,UserAssigned",
182
- ]),
183
- userAssignedIdentities: Schema.optional(
184
- Schema.Record(
185
- Schema.String,
186
- Schema.Struct({
187
- principalId: Schema.optional(Schema.String),
188
- clientId: Schema.optional(Schema.String),
189
- }),
190
- ),
191
- ),
192
- }),
193
- ),
194
- kind: Schema.optional(Schema.Literals(["shared"])),
195
- etag: Schema.optional(Schema.String),
145
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
146
+ location: Schema.String,
196
147
  }),
197
148
  ),
198
149
  ),
@@ -205,9 +156,13 @@ export type WorkbooksListByResourceGroupOutput =
205
156
  /**
206
157
  * Get all Workbooks defined within a specified resource group and category.
207
158
  *
159
+ * @param api-version - The API version to use for this operation.
208
160
  * @param subscriptionId - The ID of the target subscription.
209
161
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
210
- * @param api-version - The API version to use for this operation.
162
+ * @param category - Category of workbook to return.
163
+ * @param tags - Tags presents on each workbook returned.
164
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
165
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
211
166
  */
212
167
  export const WorkbooksListByResourceGroup =
213
168
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -219,6 +174,9 @@ export const WorkbooksListBySubscriptionInput =
219
174
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
220
175
  subscriptionId: Schema.String.pipe(T.PathParam()),
221
176
  "api-version": Schema.String,
177
+ category: Schema.Literals(["workbook", "TSG", "performance", "retention"]),
178
+ tags: Schema.optional(Schema.String),
179
+ canFetchContent: Schema.optional(Schema.Boolean),
222
180
  }).pipe(
223
181
  T.Http({
224
182
  method: "GET",
@@ -234,29 +192,8 @@ export const WorkbooksListBySubscriptionOutput =
234
192
  value: Schema.optional(
235
193
  Schema.Array(
236
194
  Schema.Struct({
237
- identity: Schema.optional(
238
- Schema.Struct({
239
- principalId: Schema.optional(Schema.String),
240
- tenantId: Schema.optional(Schema.String),
241
- type: Schema.Literals([
242
- "None",
243
- "SystemAssigned",
244
- "UserAssigned",
245
- "SystemAssigned,UserAssigned",
246
- ]),
247
- userAssignedIdentities: Schema.optional(
248
- Schema.Record(
249
- Schema.String,
250
- Schema.Struct({
251
- principalId: Schema.optional(Schema.String),
252
- clientId: Schema.optional(Schema.String),
253
- }),
254
- ),
255
- ),
256
- }),
257
- ),
258
- kind: Schema.optional(Schema.Literals(["shared"])),
259
- etag: Schema.optional(Schema.String),
195
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
196
+ location: Schema.String,
260
197
  }),
261
198
  ),
262
199
  ),
@@ -269,8 +206,11 @@ export type WorkbooksListBySubscriptionOutput =
269
206
  /**
270
207
  * Get all Workbooks defined within a specified subscription and category.
271
208
  *
272
- * @param subscriptionId - The ID of the target subscription.
273
209
  * @param api-version - The API version to use for this operation.
210
+ * @param subscriptionId - The ID of the target subscription.
211
+ * @param category - Category of workbook to return.
212
+ * @param tags - Tags presents on each workbook returned.
213
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
274
214
  */
275
215
  export const WorkbooksListBySubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(
276
216
  () => ({
@@ -283,6 +223,8 @@ export const WorkbooksRevisionGetInput =
283
223
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
284
224
  subscriptionId: Schema.String.pipe(T.PathParam()),
285
225
  resourceGroupName: Schema.String.pipe(T.PathParam()),
226
+ resourceName: Schema.String.pipe(T.PathParam()),
227
+ revisionId: Schema.String.pipe(T.PathParam()),
286
228
  "api-version": Schema.String,
287
229
  }).pipe(
288
230
  T.Http({
@@ -295,29 +237,8 @@ export type WorkbooksRevisionGetInput = typeof WorkbooksRevisionGetInput.Type;
295
237
  // Output Schema
296
238
  export const WorkbooksRevisionGetOutput =
297
239
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
298
- identity: Schema.optional(
299
- Schema.Struct({
300
- principalId: Schema.optional(Schema.String),
301
- tenantId: Schema.optional(Schema.String),
302
- type: Schema.Literals([
303
- "None",
304
- "SystemAssigned",
305
- "UserAssigned",
306
- "SystemAssigned,UserAssigned",
307
- ]),
308
- userAssignedIdentities: Schema.optional(
309
- Schema.Record(
310
- Schema.String,
311
- Schema.Struct({
312
- principalId: Schema.optional(Schema.String),
313
- clientId: Schema.optional(Schema.String),
314
- }),
315
- ),
316
- ),
317
- }),
318
- ),
319
- kind: Schema.optional(Schema.Literals(["shared"])),
320
- etag: Schema.optional(Schema.String),
240
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
241
+ location: Schema.String,
321
242
  });
322
243
  export type WorkbooksRevisionGetOutput = typeof WorkbooksRevisionGetOutput.Type;
323
244
 
@@ -325,9 +246,11 @@ export type WorkbooksRevisionGetOutput = typeof WorkbooksRevisionGetOutput.Type;
325
246
  /**
326
247
  * Get a single workbook revision defined by its revisionId.
327
248
  *
249
+ * @param api-version - The API version to use for this operation.
328
250
  * @param subscriptionId - The ID of the target subscription.
329
251
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
330
- * @param api-version - The API version to use for this operation.
252
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
253
+ * @param revisionId - The id of the workbook's revision.
331
254
  */
332
255
  export const WorkbooksRevisionGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
333
256
  () => ({
@@ -340,6 +263,7 @@ export const WorkbooksRevisionsListInput =
340
263
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
341
264
  subscriptionId: Schema.String.pipe(T.PathParam()),
342
265
  resourceGroupName: Schema.String.pipe(T.PathParam()),
266
+ resourceName: Schema.String.pipe(T.PathParam()),
343
267
  "api-version": Schema.String,
344
268
  }).pipe(
345
269
  T.Http({
@@ -356,29 +280,8 @@ export const WorkbooksRevisionsListOutput =
356
280
  value: Schema.optional(
357
281
  Schema.Array(
358
282
  Schema.Struct({
359
- identity: Schema.optional(
360
- Schema.Struct({
361
- principalId: Schema.optional(Schema.String),
362
- tenantId: Schema.optional(Schema.String),
363
- type: Schema.Literals([
364
- "None",
365
- "SystemAssigned",
366
- "UserAssigned",
367
- "SystemAssigned,UserAssigned",
368
- ]),
369
- userAssignedIdentities: Schema.optional(
370
- Schema.Record(
371
- Schema.String,
372
- Schema.Struct({
373
- principalId: Schema.optional(Schema.String),
374
- clientId: Schema.optional(Schema.String),
375
- }),
376
- ),
377
- ),
378
- }),
379
- ),
380
- kind: Schema.optional(Schema.Literals(["shared"])),
381
- etag: Schema.optional(Schema.String),
283
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
284
+ location: Schema.String,
382
285
  }),
383
286
  ),
384
287
  ),
@@ -391,9 +294,10 @@ export type WorkbooksRevisionsListOutput =
391
294
  /**
392
295
  * Get the revisions for the workbook defined by its resourceName.
393
296
  *
297
+ * @param api-version - The API version to use for this operation.
394
298
  * @param subscriptionId - The ID of the target subscription.
395
299
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
396
- * @param api-version - The API version to use for this operation.
300
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
397
301
  */
398
302
  export const WorkbooksRevisionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(
399
303
  () => ({
@@ -405,7 +309,9 @@ export const WorkbooksRevisionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(
405
309
  export const WorkbooksUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
406
310
  subscriptionId: Schema.String.pipe(T.PathParam()),
407
311
  resourceGroupName: Schema.String.pipe(T.PathParam()),
312
+ resourceName: Schema.String.pipe(T.PathParam()),
408
313
  "api-version": Schema.String,
314
+ sourceId: Schema.optional(Schema.String),
409
315
  }).pipe(
410
316
  T.Http({
411
317
  method: "PATCH",
@@ -416,29 +322,8 @@ export type WorkbooksUpdateInput = typeof WorkbooksUpdateInput.Type;
416
322
 
417
323
  // Output Schema
418
324
  export const WorkbooksUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
419
- identity: Schema.optional(
420
- Schema.Struct({
421
- principalId: Schema.optional(Schema.String),
422
- tenantId: Schema.optional(Schema.String),
423
- type: Schema.Literals([
424
- "None",
425
- "SystemAssigned",
426
- "UserAssigned",
427
- "SystemAssigned,UserAssigned",
428
- ]),
429
- userAssignedIdentities: Schema.optional(
430
- Schema.Record(
431
- Schema.String,
432
- Schema.Struct({
433
- principalId: Schema.optional(Schema.String),
434
- clientId: Schema.optional(Schema.String),
435
- }),
436
- ),
437
- ),
438
- }),
439
- ),
440
- kind: Schema.optional(Schema.Literals(["shared"])),
441
- etag: Schema.optional(Schema.String),
325
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
326
+ location: Schema.String,
442
327
  });
443
328
  export type WorkbooksUpdateOutput = typeof WorkbooksUpdateOutput.Type;
444
329
 
@@ -446,9 +331,11 @@ export type WorkbooksUpdateOutput = typeof WorkbooksUpdateOutput.Type;
446
331
  /**
447
332
  * Updates a workbook that has already been added.
448
333
  *
334
+ * @param api-version - The API version to use for this operation.
449
335
  * @param subscriptionId - The ID of the target subscription.
450
336
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
451
- * @param api-version - The API version to use for this operation.
337
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
338
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
452
339
  */
453
340
  export const WorkbooksUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
454
341
  inputSchema: WorkbooksUpdateInput,