@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
@@ -7,13 +7,13 @@
7
7
  import * as Schema from "effect/Schema";
8
8
  import { API } from "../client.ts";
9
9
  import * as T from "../traits.ts";
10
- import { SensitiveString } from "../sensitive.ts";
11
10
 
12
11
  // Input Schema
13
12
  export const AmlFilesystemsArchiveInput =
14
13
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
- resourceGroupName: Schema.String.pipe(T.PathParam()),
16
14
  subscriptionId: Schema.String.pipe(T.PathParam()),
15
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
16
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
17
17
  "api-version": Schema.String,
18
18
  }).pipe(
19
19
  T.Http({
@@ -33,9 +33,10 @@ export type AmlFilesystemsArchiveOutput =
33
33
  /**
34
34
  * Archive data from the AML file system.
35
35
  *
36
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
37
36
  * @param api-version - The API version to use for this operation.
38
37
  * @param subscriptionId - The ID of the target subscription.
38
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
39
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
39
40
  */
40
41
  export const amlFilesystemsArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(
41
42
  () => ({
@@ -46,8 +47,9 @@ export const amlFilesystemsArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(
46
47
  // Input Schema
47
48
  export const AmlFilesystemsCancelArchiveInput =
48
49
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
49
- resourceGroupName: Schema.String.pipe(T.PathParam()),
50
50
  subscriptionId: Schema.String.pipe(T.PathParam()),
51
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
52
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
51
53
  "api-version": Schema.String,
52
54
  }).pipe(
53
55
  T.Http({
@@ -68,9 +70,10 @@ export type AmlFilesystemsCancelArchiveOutput =
68
70
  /**
69
71
  * Cancel archiving data from the AML file system.
70
72
  *
71
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
72
73
  * @param api-version - The API version to use for this operation.
73
74
  * @param subscriptionId - The ID of the target subscription.
75
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
76
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
74
77
  */
75
78
  export const amlFilesystemsCancelArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(
76
79
  () => ({
@@ -81,8 +84,9 @@ export const amlFilesystemsCancelArchive = /*@__PURE__*/ /*#__PURE__*/ API.make(
81
84
  // Input Schema
82
85
  export const AmlFilesystemsCreateOrUpdateInput =
83
86
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
84
- resourceGroupName: Schema.String.pipe(T.PathParam()),
85
87
  subscriptionId: Schema.String.pipe(T.PathParam()),
88
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
89
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
86
90
  "api-version": Schema.String,
87
91
  }).pipe(
88
92
  T.Http({
@@ -106,9 +110,10 @@ export type AmlFilesystemsCreateOrUpdateOutput =
106
110
  /**
107
111
  * Create or update an AML file system.
108
112
  *
109
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
110
113
  * @param api-version - The API version to use for this operation.
111
114
  * @param subscriptionId - The ID of the target subscription.
115
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
116
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
112
117
  */
113
118
  export const amlFilesystemsCreateOrUpdate =
114
119
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -118,8 +123,9 @@ export const amlFilesystemsCreateOrUpdate =
118
123
  // Input Schema
119
124
  export const AmlFilesystemsDeleteInput =
120
125
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
121
- resourceGroupName: Schema.String.pipe(T.PathParam()),
122
126
  subscriptionId: Schema.String.pipe(T.PathParam()),
127
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
128
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
123
129
  "api-version": Schema.String,
124
130
  }).pipe(
125
131
  T.Http({
@@ -138,9 +144,10 @@ export type AmlFilesystemsDeleteOutput = typeof AmlFilesystemsDeleteOutput.Type;
138
144
  /**
139
145
  * Schedules an AML file system for deletion.
140
146
  *
141
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
142
147
  * @param api-version - The API version to use for this operation.
143
148
  * @param subscriptionId - The ID of the target subscription.
149
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
150
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
144
151
  */
145
152
  export const amlFilesystemsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
146
153
  () => ({
@@ -151,8 +158,9 @@ export const amlFilesystemsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
151
158
  // Input Schema
152
159
  export const AmlFilesystemsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
153
160
  {
154
- resourceGroupName: Schema.String.pipe(T.PathParam()),
155
161
  subscriptionId: Schema.String.pipe(T.PathParam()),
162
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
163
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
156
164
  "api-version": Schema.String,
157
165
  },
158
166
  ).pipe(
@@ -175,9 +183,10 @@ export type AmlFilesystemsGetOutput = typeof AmlFilesystemsGetOutput.Type;
175
183
  /**
176
184
  * Returns an AML file system.
177
185
  *
178
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
179
186
  * @param api-version - The API version to use for this operation.
180
187
  * @param subscriptionId - The ID of the target subscription.
188
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
189
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
181
190
  */
182
191
  export const amlFilesystemsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
183
192
  inputSchema: AmlFilesystemsGetInput,
@@ -199,7 +208,6 @@ export type AmlFilesystemsListInput = typeof AmlFilesystemsListInput.Type;
199
208
  // Output Schema
200
209
  export const AmlFilesystemsListOutput =
201
210
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
202
- nextLink: Schema.optional(Schema.String),
203
211
  value: Schema.optional(
204
212
  Schema.Array(
205
213
  Schema.Struct({
@@ -208,6 +216,7 @@ export const AmlFilesystemsListOutput =
208
216
  }),
209
217
  ),
210
218
  ),
219
+ nextLink: Schema.optional(Schema.String),
211
220
  });
212
221
  export type AmlFilesystemsListOutput = typeof AmlFilesystemsListOutput.Type;
213
222
 
@@ -225,8 +234,8 @@ export const amlFilesystemsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
225
234
  // Input Schema
226
235
  export const AmlFilesystemsListByResourceGroupInput =
227
236
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
228
- resourceGroupName: Schema.String.pipe(T.PathParam()),
229
237
  subscriptionId: Schema.String.pipe(T.PathParam()),
238
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
230
239
  "api-version": Schema.String,
231
240
  }).pipe(
232
241
  T.Http({
@@ -240,7 +249,6 @@ export type AmlFilesystemsListByResourceGroupInput =
240
249
  // Output Schema
241
250
  export const AmlFilesystemsListByResourceGroupOutput =
242
251
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
243
- nextLink: Schema.optional(Schema.String),
244
252
  value: Schema.optional(
245
253
  Schema.Array(
246
254
  Schema.Struct({
@@ -249,6 +257,7 @@ export const AmlFilesystemsListByResourceGroupOutput =
249
257
  }),
250
258
  ),
251
259
  ),
260
+ nextLink: Schema.optional(Schema.String),
252
261
  });
253
262
  export type AmlFilesystemsListByResourceGroupOutput =
254
263
  typeof AmlFilesystemsListByResourceGroupOutput.Type;
@@ -257,9 +266,9 @@ export type AmlFilesystemsListByResourceGroupOutput =
257
266
  /**
258
267
  * Returns all AML file systems the user has access to under a resource group.
259
268
  *
260
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
261
269
  * @param api-version - The API version to use for this operation.
262
270
  * @param subscriptionId - The ID of the target subscription.
271
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
263
272
  */
264
273
  export const amlFilesystemsListByResourceGroup =
265
274
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -269,8 +278,9 @@ export const amlFilesystemsListByResourceGroup =
269
278
  // Input Schema
270
279
  export const AmlFilesystemsUpdateInput =
271
280
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
272
- resourceGroupName: Schema.String.pipe(T.PathParam()),
273
281
  subscriptionId: Schema.String.pipe(T.PathParam()),
282
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
283
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
274
284
  "api-version": Schema.String,
275
285
  }).pipe(
276
286
  T.Http({
@@ -292,9 +302,10 @@ export type AmlFilesystemsUpdateOutput = typeof AmlFilesystemsUpdateOutput.Type;
292
302
  /**
293
303
  * Update an AML file system instance.
294
304
  *
295
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
296
305
  * @param api-version - The API version to use for this operation.
297
306
  * @param subscriptionId - The ID of the target subscription.
307
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
308
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
298
309
  */
299
310
  export const amlFilesystemsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
300
311
  () => ({
@@ -367,7 +378,6 @@ export type AscUsagesListInput = typeof AscUsagesListInput.Type;
367
378
 
368
379
  // Output Schema
369
380
  export const AscUsagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
370
- nextLink: Schema.optional(Schema.String),
371
381
  value: Schema.optional(
372
382
  Schema.Array(
373
383
  Schema.Struct({
@@ -383,6 +393,7 @@ export const AscUsagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
383
393
  }),
384
394
  ),
385
395
  ),
396
+ nextLink: Schema.optional(Schema.String),
386
397
  });
387
398
  export type AscUsagesListOutput = typeof AscUsagesListOutput.Type;
388
399
 
@@ -392,7 +403,7 @@ export type AscUsagesListOutput = typeof AscUsagesListOutput.Type;
392
403
  *
393
404
  * @param api-version - The API version to use for this operation.
394
405
  * @param subscriptionId - The ID of the target subscription.
395
- * @param location - The name of the region to query for usage information.
406
+ * @param location - The name of Azure region.
396
407
  */
397
408
  export const AscUsagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
398
409
  inputSchema: AscUsagesListInput,
@@ -401,8 +412,10 @@ export const AscUsagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
401
412
  // Input Schema
402
413
  export const AutoExportJobsCreateOrUpdateInput =
403
414
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
404
- resourceGroupName: Schema.String.pipe(T.PathParam()),
405
415
  subscriptionId: Schema.String.pipe(T.PathParam()),
416
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
417
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
418
+ autoExportJobName: Schema.String.pipe(T.PathParam()),
406
419
  "api-version": Schema.String,
407
420
  }).pipe(
408
421
  T.Http({
@@ -426,9 +439,11 @@ export type AutoExportJobsCreateOrUpdateOutput =
426
439
  /**
427
440
  * Create or update an auto export job.
428
441
  *
429
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
430
442
  * @param api-version - The API version to use for this operation.
431
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
443
+ * @param subscriptionId - The ID of the target subscription.
444
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
445
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
446
+ * @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
432
447
  */
433
448
  export const autoExportJobsCreateOrUpdate =
434
449
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -438,8 +453,10 @@ export const autoExportJobsCreateOrUpdate =
438
453
  // Input Schema
439
454
  export const AutoExportJobsDeleteInput =
440
455
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
441
- resourceGroupName: Schema.String.pipe(T.PathParam()),
442
456
  subscriptionId: Schema.String.pipe(T.PathParam()),
457
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
458
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
459
+ autoExportJobName: Schema.String.pipe(T.PathParam()),
443
460
  "api-version": Schema.String,
444
461
  }).pipe(
445
462
  T.Http({
@@ -458,9 +475,11 @@ export type AutoExportJobsDeleteOutput = typeof AutoExportJobsDeleteOutput.Type;
458
475
  /**
459
476
  * Schedules an auto export job for deletion.
460
477
  *
461
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
462
478
  * @param api-version - The API version to use for this operation.
463
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
479
+ * @param subscriptionId - The ID of the target subscription.
480
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
481
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
482
+ * @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
464
483
  */
465
484
  export const autoExportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
466
485
  () => ({
@@ -471,8 +490,10 @@ export const autoExportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
471
490
  // Input Schema
472
491
  export const AutoExportJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
473
492
  {
474
- resourceGroupName: Schema.String.pipe(T.PathParam()),
475
493
  subscriptionId: Schema.String.pipe(T.PathParam()),
494
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
495
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
496
+ autoExportJobName: Schema.String.pipe(T.PathParam()),
476
497
  "api-version": Schema.String,
477
498
  },
478
499
  ).pipe(
@@ -495,9 +516,11 @@ export type AutoExportJobsGetOutput = typeof AutoExportJobsGetOutput.Type;
495
516
  /**
496
517
  * Returns an auto export job.
497
518
  *
498
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
499
519
  * @param api-version - The API version to use for this operation.
500
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
520
+ * @param subscriptionId - The ID of the target subscription.
521
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
522
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
523
+ * @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
501
524
  */
502
525
  export const autoExportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
503
526
  inputSchema: AutoExportJobsGetInput,
@@ -506,8 +529,9 @@ export const autoExportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
506
529
  // Input Schema
507
530
  export const AutoExportJobsListByAmlFilesystemInput =
508
531
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
509
- resourceGroupName: Schema.String.pipe(T.PathParam()),
510
532
  subscriptionId: Schema.String.pipe(T.PathParam()),
533
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
534
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
511
535
  "api-version": Schema.String,
512
536
  }).pipe(
513
537
  T.Http({
@@ -521,7 +545,6 @@ export type AutoExportJobsListByAmlFilesystemInput =
521
545
  // Output Schema
522
546
  export const AutoExportJobsListByAmlFilesystemOutput =
523
547
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
524
- nextLink: Schema.optional(Schema.String),
525
548
  value: Schema.optional(
526
549
  Schema.Array(
527
550
  Schema.Struct({
@@ -530,6 +553,7 @@ export const AutoExportJobsListByAmlFilesystemOutput =
530
553
  }),
531
554
  ),
532
555
  ),
556
+ nextLink: Schema.optional(Schema.String),
533
557
  });
534
558
  export type AutoExportJobsListByAmlFilesystemOutput =
535
559
  typeof AutoExportJobsListByAmlFilesystemOutput.Type;
@@ -538,9 +562,10 @@ export type AutoExportJobsListByAmlFilesystemOutput =
538
562
  /**
539
563
  * Returns all the auto export jobs the user has access to under an AML File System.
540
564
  *
541
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
542
565
  * @param api-version - The API version to use for this operation.
543
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
566
+ * @param subscriptionId - The ID of the target subscription.
567
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
568
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
544
569
  */
545
570
  export const autoExportJobsListByAmlFilesystem =
546
571
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -550,8 +575,10 @@ export const autoExportJobsListByAmlFilesystem =
550
575
  // Input Schema
551
576
  export const AutoExportJobsUpdateInput =
552
577
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
553
- resourceGroupName: Schema.String.pipe(T.PathParam()),
554
578
  subscriptionId: Schema.String.pipe(T.PathParam()),
579
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
580
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
581
+ autoExportJobName: Schema.String.pipe(T.PathParam()),
555
582
  "api-version": Schema.String,
556
583
  }).pipe(
557
584
  T.Http({
@@ -573,9 +600,11 @@ export type AutoExportJobsUpdateOutput = typeof AutoExportJobsUpdateOutput.Type;
573
600
  /**
574
601
  * Update an auto export job instance.
575
602
  *
576
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
577
603
  * @param api-version - The API version to use for this operation.
578
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
604
+ * @param subscriptionId - The ID of the target subscription.
605
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
606
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
607
+ * @param autoExportJobName - Name for the auto export job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
579
608
  */
580
609
  export const autoExportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
581
610
  () => ({
@@ -586,8 +615,10 @@ export const autoExportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
586
615
  // Input Schema
587
616
  export const AutoImportJobsCreateOrUpdateInput =
588
617
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
589
- resourceGroupName: Schema.String.pipe(T.PathParam()),
590
618
  subscriptionId: Schema.String.pipe(T.PathParam()),
619
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
620
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
621
+ autoImportJobName: Schema.String.pipe(T.PathParam()),
591
622
  "api-version": Schema.String,
592
623
  }).pipe(
593
624
  T.Http({
@@ -611,9 +642,11 @@ export type AutoImportJobsCreateOrUpdateOutput =
611
642
  /**
612
643
  * Create or update an auto import job.
613
644
  *
614
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
615
645
  * @param api-version - The API version to use for this operation.
616
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
646
+ * @param subscriptionId - The ID of the target subscription.
647
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
648
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
649
+ * @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
617
650
  */
618
651
  export const autoImportJobsCreateOrUpdate =
619
652
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -623,8 +656,10 @@ export const autoImportJobsCreateOrUpdate =
623
656
  // Input Schema
624
657
  export const AutoImportJobsDeleteInput =
625
658
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
626
- resourceGroupName: Schema.String.pipe(T.PathParam()),
627
659
  subscriptionId: Schema.String.pipe(T.PathParam()),
660
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
661
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
662
+ autoImportJobName: Schema.String.pipe(T.PathParam()),
628
663
  "api-version": Schema.String,
629
664
  }).pipe(
630
665
  T.Http({
@@ -643,9 +678,11 @@ export type AutoImportJobsDeleteOutput = typeof AutoImportJobsDeleteOutput.Type;
643
678
  /**
644
679
  * Schedules an auto import job for deletion.
645
680
  *
646
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
647
681
  * @param api-version - The API version to use for this operation.
648
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
682
+ * @param subscriptionId - The ID of the target subscription.
683
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
684
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
685
+ * @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
649
686
  */
650
687
  export const autoImportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
651
688
  () => ({
@@ -656,8 +693,10 @@ export const autoImportJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
656
693
  // Input Schema
657
694
  export const AutoImportJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
658
695
  {
659
- resourceGroupName: Schema.String.pipe(T.PathParam()),
660
696
  subscriptionId: Schema.String.pipe(T.PathParam()),
697
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
698
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
699
+ autoImportJobName: Schema.String.pipe(T.PathParam()),
661
700
  "api-version": Schema.String,
662
701
  },
663
702
  ).pipe(
@@ -680,9 +719,11 @@ export type AutoImportJobsGetOutput = typeof AutoImportJobsGetOutput.Type;
680
719
  /**
681
720
  * Returns an auto import job.
682
721
  *
683
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
684
722
  * @param api-version - The API version to use for this operation.
685
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
723
+ * @param subscriptionId - The ID of the target subscription.
724
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
725
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
726
+ * @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
686
727
  */
687
728
  export const autoImportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
688
729
  inputSchema: AutoImportJobsGetInput,
@@ -691,8 +732,9 @@ export const autoImportJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
691
732
  // Input Schema
692
733
  export const AutoImportJobsListByAmlFilesystemInput =
693
734
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
694
- resourceGroupName: Schema.String.pipe(T.PathParam()),
695
735
  subscriptionId: Schema.String.pipe(T.PathParam()),
736
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
737
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
696
738
  "api-version": Schema.String,
697
739
  }).pipe(
698
740
  T.Http({
@@ -723,9 +765,10 @@ export type AutoImportJobsListByAmlFilesystemOutput =
723
765
  /**
724
766
  * Returns all the auto import jobs the user has access to under an AML File System.
725
767
  *
726
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
727
768
  * @param api-version - The API version to use for this operation.
728
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
769
+ * @param subscriptionId - The ID of the target subscription.
770
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
771
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
729
772
  */
730
773
  export const autoImportJobsListByAmlFilesystem =
731
774
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -735,8 +778,10 @@ export const autoImportJobsListByAmlFilesystem =
735
778
  // Input Schema
736
779
  export const AutoImportJobsUpdateInput =
737
780
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
738
- resourceGroupName: Schema.String.pipe(T.PathParam()),
739
781
  subscriptionId: Schema.String.pipe(T.PathParam()),
782
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
783
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
784
+ autoImportJobName: Schema.String.pipe(T.PathParam()),
740
785
  "api-version": Schema.String,
741
786
  }).pipe(
742
787
  T.Http({
@@ -758,9 +803,11 @@ export type AutoImportJobsUpdateOutput = typeof AutoImportJobsUpdateOutput.Type;
758
803
  /**
759
804
  * Update an auto import job instance.
760
805
  *
761
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
762
806
  * @param api-version - The API version to use for this operation.
763
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
807
+ * @param subscriptionId - The ID of the target subscription.
808
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
809
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
810
+ * @param autoImportJobName - Name for the auto import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
764
811
  */
765
812
  export const autoImportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
766
813
  () => ({
@@ -771,13 +818,14 @@ export const autoImportJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
771
818
  // Input Schema
772
819
  export const CachesCreateOrUpdateInput =
773
820
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
774
- resourceGroupName: Schema.String.pipe(T.PathParam()),
775
821
  subscriptionId: Schema.String.pipe(T.PathParam()),
822
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
823
+ cacheName: Schema.String.pipe(T.PathParam()),
776
824
  "api-version": Schema.String,
777
825
  }).pipe(
778
826
  T.Http({
779
827
  method: "PUT",
780
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
828
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
781
829
  }),
782
830
  );
783
831
  export type CachesCreateOrUpdateInput = typeof CachesCreateOrUpdateInput.Type;
@@ -785,34 +833,9 @@ export type CachesCreateOrUpdateInput = typeof CachesCreateOrUpdateInput.Type;
785
833
  // Output Schema
786
834
  export const CachesCreateOrUpdateOutput =
787
835
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
788
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
789
836
  id: Schema.optional(Schema.String),
790
- location: Schema.optional(Schema.String),
791
837
  name: Schema.optional(Schema.String),
792
838
  type: Schema.optional(Schema.String),
793
- identity: Schema.optional(
794
- Schema.Struct({
795
- principalId: Schema.optional(Schema.String),
796
- tenantId: Schema.optional(Schema.String),
797
- type: Schema.optional(
798
- Schema.Literals([
799
- "SystemAssigned",
800
- "UserAssigned",
801
- "SystemAssigned, UserAssigned",
802
- "None",
803
- ]),
804
- ),
805
- userAssignedIdentities: Schema.optional(
806
- Schema.Record(
807
- Schema.String,
808
- Schema.Struct({
809
- principalId: Schema.optional(Schema.String),
810
- clientId: Schema.optional(Schema.String),
811
- }),
812
- ),
813
- ),
814
- }),
815
- ),
816
839
  systemData: Schema.optional(
817
840
  Schema.Struct({
818
841
  createdBy: Schema.optional(Schema.String),
@@ -827,190 +850,6 @@ export const CachesCreateOrUpdateOutput =
827
850
  lastModifiedAt: Schema.optional(Schema.String),
828
851
  }),
829
852
  ),
830
- properties: Schema.optional(
831
- Schema.Struct({
832
- cacheSizeGB: Schema.optional(Schema.Number),
833
- health: Schema.optional(
834
- Schema.Struct({
835
- state: Schema.optional(
836
- Schema.Literals([
837
- "Unknown",
838
- "Healthy",
839
- "Degraded",
840
- "Down",
841
- "Transitioning",
842
- "Stopping",
843
- "Stopped",
844
- "Upgrading",
845
- "Flushing",
846
- "WaitingForKey",
847
- "StartFailed",
848
- "UpgradeFailed",
849
- ]),
850
- ),
851
- statusDescription: Schema.optional(Schema.String),
852
- conditions: Schema.optional(
853
- Schema.Array(
854
- Schema.Struct({
855
- timestamp: Schema.optional(Schema.String),
856
- message: Schema.optional(Schema.String),
857
- }),
858
- ),
859
- ),
860
- }),
861
- ),
862
- mountAddresses: Schema.optional(Schema.Array(Schema.String)),
863
- provisioningState: Schema.optional(
864
- Schema.Literals([
865
- "Succeeded",
866
- "Failed",
867
- "Canceled",
868
- "Creating",
869
- "Deleting",
870
- "Updating",
871
- ]),
872
- ),
873
- subnet: Schema.optional(Schema.String),
874
- upgradeStatus: Schema.optional(
875
- Schema.Struct({
876
- currentFirmwareVersion: Schema.optional(Schema.String),
877
- firmwareUpdateStatus: Schema.optional(
878
- Schema.Literals(["available", "unavailable"]),
879
- ),
880
- firmwareUpdateDeadline: Schema.optional(Schema.String),
881
- lastFirmwareUpdate: Schema.optional(Schema.String),
882
- pendingFirmwareVersion: Schema.optional(Schema.String),
883
- }),
884
- ),
885
- upgradeSettings: Schema.optional(
886
- Schema.Struct({
887
- upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
888
- scheduledTime: Schema.optional(Schema.String),
889
- }),
890
- ),
891
- networkSettings: Schema.optional(
892
- Schema.Struct({
893
- mtu: Schema.optional(Schema.Number),
894
- utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
895
- dnsServers: Schema.optional(Schema.Array(Schema.String)),
896
- dnsSearchDomain: Schema.optional(Schema.String),
897
- ntpServer: Schema.optional(Schema.String),
898
- }),
899
- ),
900
- encryptionSettings: Schema.optional(
901
- Schema.Struct({
902
- keyEncryptionKey: Schema.optional(
903
- Schema.Struct({
904
- keyUrl: Schema.String,
905
- sourceVault: Schema.Struct({
906
- id: Schema.optional(Schema.String),
907
- }),
908
- }),
909
- ),
910
- rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
911
- }),
912
- ),
913
- securitySettings: Schema.optional(
914
- Schema.Struct({
915
- accessPolicies: Schema.optional(
916
- Schema.Array(
917
- Schema.Struct({
918
- name: Schema.String,
919
- accessRules: Schema.Array(
920
- Schema.Struct({
921
- scope: Schema.Literals(["default", "network", "host"]),
922
- filter: Schema.optional(Schema.String),
923
- access: Schema.Literals(["no", "ro", "rw"]),
924
- suid: Schema.optional(Schema.Boolean),
925
- submountAccess: Schema.optional(Schema.Boolean),
926
- rootSquash: Schema.optional(Schema.Boolean),
927
- anonymousUID: Schema.optional(Schema.String),
928
- anonymousGID: Schema.optional(Schema.String),
929
- }),
930
- ),
931
- }),
932
- ),
933
- ),
934
- }),
935
- ),
936
- directoryServicesSettings: Schema.optional(
937
- Schema.Struct({
938
- activeDirectory: Schema.optional(
939
- Schema.Struct({
940
- primaryDnsIpAddress: Schema.String,
941
- secondaryDnsIpAddress: Schema.optional(Schema.String),
942
- domainName: Schema.String,
943
- domainNetBiosName: Schema.String,
944
- cacheNetBiosName: Schema.String,
945
- domainJoined: Schema.optional(
946
- Schema.Literals(["Yes", "No", "Error"]),
947
- ),
948
- credentials: Schema.optional(
949
- Schema.Struct({
950
- username: Schema.String,
951
- password: Schema.optional(SensitiveString),
952
- }),
953
- ),
954
- }),
955
- ),
956
- usernameDownload: Schema.optional(
957
- Schema.Struct({
958
- extendedGroups: Schema.optional(Schema.Boolean),
959
- usernameSource: Schema.optional(
960
- Schema.Literals(["AD", "LDAP", "File", "None"]),
961
- ),
962
- groupFileURI: Schema.optional(Schema.String),
963
- userFileURI: Schema.optional(Schema.String),
964
- ldapServer: Schema.optional(Schema.String),
965
- ldapBaseDN: Schema.optional(Schema.String),
966
- encryptLdapConnection: Schema.optional(Schema.Boolean),
967
- requireValidCertificate: Schema.optional(Schema.Boolean),
968
- autoDownloadCertificate: Schema.optional(Schema.Boolean),
969
- caCertificateURI: Schema.optional(Schema.String),
970
- usernameDownloaded: Schema.optional(
971
- Schema.Literals(["Yes", "No", "Error"]),
972
- ),
973
- credentials: Schema.optional(
974
- Schema.Struct({
975
- bindDn: Schema.optional(Schema.String),
976
- bindPassword: Schema.optional(SensitiveString),
977
- }),
978
- ),
979
- }),
980
- ),
981
- }),
982
- ),
983
- zones: Schema.optional(Schema.Array(Schema.String)),
984
- primingJobs: Schema.optional(
985
- Schema.Array(
986
- Schema.Struct({
987
- primingJobName: Schema.String,
988
- primingManifestUrl: Schema.String,
989
- primingJobId: Schema.optional(Schema.String),
990
- primingJobState: Schema.optional(
991
- Schema.Literals(["Queued", "Running", "Paused", "Complete"]),
992
- ),
993
- primingJobStatus: Schema.optional(Schema.String),
994
- primingJobDetails: Schema.optional(Schema.String),
995
- primingJobPercentComplete: Schema.optional(Schema.Number),
996
- }),
997
- ),
998
- ),
999
- spaceAllocation: Schema.optional(
1000
- Schema.Array(
1001
- Schema.Struct({
1002
- name: Schema.optional(Schema.String),
1003
- allocationPercentage: Schema.optional(Schema.Number),
1004
- }),
1005
- ),
1006
- ),
1007
- }),
1008
- ),
1009
- sku: Schema.optional(
1010
- Schema.Struct({
1011
- name: Schema.optional(Schema.String),
1012
- }),
1013
- ),
1014
853
  });
1015
854
  export type CachesCreateOrUpdateOutput = typeof CachesCreateOrUpdateOutput.Type;
1016
855
 
@@ -1018,9 +857,10 @@ export type CachesCreateOrUpdateOutput = typeof CachesCreateOrUpdateOutput.Type;
1018
857
  /**
1019
858
  * Create or update a cache.
1020
859
  *
1021
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1022
860
  * @param api-version - The API version to use for this operation.
1023
861
  * @param subscriptionId - The ID of the target subscription.
862
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
863
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
1024
864
  */
1025
865
  export const CachesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
1026
866
  () => ({
@@ -1030,13 +870,14 @@ export const CachesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
1030
870
  );
1031
871
  // Input Schema
1032
872
  export const CachesDebugInfoInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1033
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1034
873
  subscriptionId: Schema.String.pipe(T.PathParam()),
874
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
875
+ cacheName: Schema.String.pipe(T.PathParam()),
1035
876
  "api-version": Schema.String,
1036
877
  }).pipe(
1037
878
  T.Http({
1038
879
  method: "POST",
1039
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo",
880
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo",
1040
881
  }),
1041
882
  );
1042
883
  export type CachesDebugInfoInput = typeof CachesDebugInfoInput.Type;
@@ -1049,9 +890,10 @@ export type CachesDebugInfoOutput = typeof CachesDebugInfoOutput.Type;
1049
890
  /**
1050
891
  * Tells a cache to write generate debug info for support to process.
1051
892
  *
1052
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1053
893
  * @param api-version - The API version to use for this operation.
1054
894
  * @param subscriptionId - The ID of the target subscription.
895
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
896
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
1055
897
  */
1056
898
  export const CachesDebugInfo = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1057
899
  inputSchema: CachesDebugInfoInput,
@@ -1059,13 +901,14 @@ export const CachesDebugInfo = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1059
901
  }));
1060
902
  // Input Schema
1061
903
  export const CachesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1062
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1063
904
  subscriptionId: Schema.String.pipe(T.PathParam()),
905
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
906
+ cacheName: Schema.String.pipe(T.PathParam()),
1064
907
  "api-version": Schema.String,
1065
908
  }).pipe(
1066
909
  T.Http({
1067
910
  method: "DELETE",
1068
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
911
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
1069
912
  }),
1070
913
  );
1071
914
  export type CachesDeleteInput = typeof CachesDeleteInput.Type;
@@ -1078,9 +921,10 @@ export type CachesDeleteOutput = typeof CachesDeleteOutput.Type;
1078
921
  /**
1079
922
  * Schedules a cache for deletion.
1080
923
  *
1081
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1082
924
  * @param api-version - The API version to use for this operation.
1083
925
  * @param subscriptionId - The ID of the target subscription.
926
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
927
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
1084
928
  */
1085
929
  export const CachesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1086
930
  inputSchema: CachesDeleteInput,
@@ -1088,13 +932,14 @@ export const CachesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1088
932
  }));
1089
933
  // Input Schema
1090
934
  export const CachesFlushInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1091
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1092
935
  subscriptionId: Schema.String.pipe(T.PathParam()),
936
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
937
+ cacheName: Schema.String.pipe(T.PathParam()),
1093
938
  "api-version": Schema.String,
1094
939
  }).pipe(
1095
940
  T.Http({
1096
941
  method: "POST",
1097
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush",
942
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush",
1098
943
  }),
1099
944
  );
1100
945
  export type CachesFlushInput = typeof CachesFlushInput.Type;
@@ -1107,9 +952,10 @@ export type CachesFlushOutput = typeof CachesFlushOutput.Type;
1107
952
  /**
1108
953
  * Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see errors returned until the flush is complete.
1109
954
  *
1110
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1111
955
  * @param api-version - The API version to use for this operation.
1112
956
  * @param subscriptionId - The ID of the target subscription.
957
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
958
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
1113
959
  */
1114
960
  export const CachesFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1115
961
  inputSchema: CachesFlushInput,
@@ -1117,47 +963,23 @@ export const CachesFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1117
963
  }));
1118
964
  // Input Schema
1119
965
  export const CachesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1120
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1121
966
  subscriptionId: Schema.String.pipe(T.PathParam()),
967
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
968
+ cacheName: Schema.String.pipe(T.PathParam()),
1122
969
  "api-version": Schema.String,
1123
970
  }).pipe(
1124
971
  T.Http({
1125
972
  method: "GET",
1126
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
973
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
1127
974
  }),
1128
975
  );
1129
976
  export type CachesGetInput = typeof CachesGetInput.Type;
1130
977
 
1131
978
  // Output Schema
1132
979
  export const CachesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1133
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1134
980
  id: Schema.optional(Schema.String),
1135
- location: Schema.optional(Schema.String),
1136
981
  name: Schema.optional(Schema.String),
1137
982
  type: Schema.optional(Schema.String),
1138
- identity: Schema.optional(
1139
- Schema.Struct({
1140
- principalId: Schema.optional(Schema.String),
1141
- tenantId: Schema.optional(Schema.String),
1142
- type: Schema.optional(
1143
- Schema.Literals([
1144
- "SystemAssigned",
1145
- "UserAssigned",
1146
- "SystemAssigned, UserAssigned",
1147
- "None",
1148
- ]),
1149
- ),
1150
- userAssignedIdentities: Schema.optional(
1151
- Schema.Record(
1152
- Schema.String,
1153
- Schema.Struct({
1154
- principalId: Schema.optional(Schema.String),
1155
- clientId: Schema.optional(Schema.String),
1156
- }),
1157
- ),
1158
- ),
1159
- }),
1160
- ),
1161
983
  systemData: Schema.optional(
1162
984
  Schema.Struct({
1163
985
  createdBy: Schema.optional(Schema.String),
@@ -1172,190 +994,6 @@ export const CachesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1172
994
  lastModifiedAt: Schema.optional(Schema.String),
1173
995
  }),
1174
996
  ),
1175
- properties: Schema.optional(
1176
- Schema.Struct({
1177
- cacheSizeGB: Schema.optional(Schema.Number),
1178
- health: Schema.optional(
1179
- Schema.Struct({
1180
- state: Schema.optional(
1181
- Schema.Literals([
1182
- "Unknown",
1183
- "Healthy",
1184
- "Degraded",
1185
- "Down",
1186
- "Transitioning",
1187
- "Stopping",
1188
- "Stopped",
1189
- "Upgrading",
1190
- "Flushing",
1191
- "WaitingForKey",
1192
- "StartFailed",
1193
- "UpgradeFailed",
1194
- ]),
1195
- ),
1196
- statusDescription: Schema.optional(Schema.String),
1197
- conditions: Schema.optional(
1198
- Schema.Array(
1199
- Schema.Struct({
1200
- timestamp: Schema.optional(Schema.String),
1201
- message: Schema.optional(Schema.String),
1202
- }),
1203
- ),
1204
- ),
1205
- }),
1206
- ),
1207
- mountAddresses: Schema.optional(Schema.Array(Schema.String)),
1208
- provisioningState: Schema.optional(
1209
- Schema.Literals([
1210
- "Succeeded",
1211
- "Failed",
1212
- "Canceled",
1213
- "Creating",
1214
- "Deleting",
1215
- "Updating",
1216
- ]),
1217
- ),
1218
- subnet: Schema.optional(Schema.String),
1219
- upgradeStatus: Schema.optional(
1220
- Schema.Struct({
1221
- currentFirmwareVersion: Schema.optional(Schema.String),
1222
- firmwareUpdateStatus: Schema.optional(
1223
- Schema.Literals(["available", "unavailable"]),
1224
- ),
1225
- firmwareUpdateDeadline: Schema.optional(Schema.String),
1226
- lastFirmwareUpdate: Schema.optional(Schema.String),
1227
- pendingFirmwareVersion: Schema.optional(Schema.String),
1228
- }),
1229
- ),
1230
- upgradeSettings: Schema.optional(
1231
- Schema.Struct({
1232
- upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
1233
- scheduledTime: Schema.optional(Schema.String),
1234
- }),
1235
- ),
1236
- networkSettings: Schema.optional(
1237
- Schema.Struct({
1238
- mtu: Schema.optional(Schema.Number),
1239
- utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
1240
- dnsServers: Schema.optional(Schema.Array(Schema.String)),
1241
- dnsSearchDomain: Schema.optional(Schema.String),
1242
- ntpServer: Schema.optional(Schema.String),
1243
- }),
1244
- ),
1245
- encryptionSettings: Schema.optional(
1246
- Schema.Struct({
1247
- keyEncryptionKey: Schema.optional(
1248
- Schema.Struct({
1249
- keyUrl: Schema.String,
1250
- sourceVault: Schema.Struct({
1251
- id: Schema.optional(Schema.String),
1252
- }),
1253
- }),
1254
- ),
1255
- rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
1256
- }),
1257
- ),
1258
- securitySettings: Schema.optional(
1259
- Schema.Struct({
1260
- accessPolicies: Schema.optional(
1261
- Schema.Array(
1262
- Schema.Struct({
1263
- name: Schema.String,
1264
- accessRules: Schema.Array(
1265
- Schema.Struct({
1266
- scope: Schema.Literals(["default", "network", "host"]),
1267
- filter: Schema.optional(Schema.String),
1268
- access: Schema.Literals(["no", "ro", "rw"]),
1269
- suid: Schema.optional(Schema.Boolean),
1270
- submountAccess: Schema.optional(Schema.Boolean),
1271
- rootSquash: Schema.optional(Schema.Boolean),
1272
- anonymousUID: Schema.optional(Schema.String),
1273
- anonymousGID: Schema.optional(Schema.String),
1274
- }),
1275
- ),
1276
- }),
1277
- ),
1278
- ),
1279
- }),
1280
- ),
1281
- directoryServicesSettings: Schema.optional(
1282
- Schema.Struct({
1283
- activeDirectory: Schema.optional(
1284
- Schema.Struct({
1285
- primaryDnsIpAddress: Schema.String,
1286
- secondaryDnsIpAddress: Schema.optional(Schema.String),
1287
- domainName: Schema.String,
1288
- domainNetBiosName: Schema.String,
1289
- cacheNetBiosName: Schema.String,
1290
- domainJoined: Schema.optional(
1291
- Schema.Literals(["Yes", "No", "Error"]),
1292
- ),
1293
- credentials: Schema.optional(
1294
- Schema.Struct({
1295
- username: Schema.String,
1296
- password: Schema.optional(SensitiveString),
1297
- }),
1298
- ),
1299
- }),
1300
- ),
1301
- usernameDownload: Schema.optional(
1302
- Schema.Struct({
1303
- extendedGroups: Schema.optional(Schema.Boolean),
1304
- usernameSource: Schema.optional(
1305
- Schema.Literals(["AD", "LDAP", "File", "None"]),
1306
- ),
1307
- groupFileURI: Schema.optional(Schema.String),
1308
- userFileURI: Schema.optional(Schema.String),
1309
- ldapServer: Schema.optional(Schema.String),
1310
- ldapBaseDN: Schema.optional(Schema.String),
1311
- encryptLdapConnection: Schema.optional(Schema.Boolean),
1312
- requireValidCertificate: Schema.optional(Schema.Boolean),
1313
- autoDownloadCertificate: Schema.optional(Schema.Boolean),
1314
- caCertificateURI: Schema.optional(Schema.String),
1315
- usernameDownloaded: Schema.optional(
1316
- Schema.Literals(["Yes", "No", "Error"]),
1317
- ),
1318
- credentials: Schema.optional(
1319
- Schema.Struct({
1320
- bindDn: Schema.optional(Schema.String),
1321
- bindPassword: Schema.optional(SensitiveString),
1322
- }),
1323
- ),
1324
- }),
1325
- ),
1326
- }),
1327
- ),
1328
- zones: Schema.optional(Schema.Array(Schema.String)),
1329
- primingJobs: Schema.optional(
1330
- Schema.Array(
1331
- Schema.Struct({
1332
- primingJobName: Schema.String,
1333
- primingManifestUrl: Schema.String,
1334
- primingJobId: Schema.optional(Schema.String),
1335
- primingJobState: Schema.optional(
1336
- Schema.Literals(["Queued", "Running", "Paused", "Complete"]),
1337
- ),
1338
- primingJobStatus: Schema.optional(Schema.String),
1339
- primingJobDetails: Schema.optional(Schema.String),
1340
- primingJobPercentComplete: Schema.optional(Schema.Number),
1341
- }),
1342
- ),
1343
- ),
1344
- spaceAllocation: Schema.optional(
1345
- Schema.Array(
1346
- Schema.Struct({
1347
- name: Schema.optional(Schema.String),
1348
- allocationPercentage: Schema.optional(Schema.Number),
1349
- }),
1350
- ),
1351
- ),
1352
- }),
1353
- ),
1354
- sku: Schema.optional(
1355
- Schema.Struct({
1356
- name: Schema.optional(Schema.String),
1357
- }),
1358
- ),
1359
997
  });
1360
998
  export type CachesGetOutput = typeof CachesGetOutput.Type;
1361
999
 
@@ -1363,9 +1001,10 @@ export type CachesGetOutput = typeof CachesGetOutput.Type;
1363
1001
  /**
1364
1002
  * Returns a cache.
1365
1003
  *
1366
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1367
1004
  * @param api-version - The API version to use for this operation.
1368
1005
  * @param subscriptionId - The ID of the target subscription.
1006
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1007
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
1369
1008
  */
1370
1009
  export const CachesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1371
1010
  inputSchema: CachesGetInput,
@@ -1385,38 +1024,12 @@ export type CachesListInput = typeof CachesListInput.Type;
1385
1024
 
1386
1025
  // Output Schema
1387
1026
  export const CachesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1388
- nextLink: Schema.optional(Schema.String),
1389
1027
  value: Schema.optional(
1390
1028
  Schema.Array(
1391
1029
  Schema.Struct({
1392
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1393
1030
  id: Schema.optional(Schema.String),
1394
- location: Schema.optional(Schema.String),
1395
1031
  name: Schema.optional(Schema.String),
1396
1032
  type: Schema.optional(Schema.String),
1397
- identity: Schema.optional(
1398
- Schema.Struct({
1399
- principalId: Schema.optional(Schema.String),
1400
- tenantId: Schema.optional(Schema.String),
1401
- type: Schema.optional(
1402
- Schema.Literals([
1403
- "SystemAssigned",
1404
- "UserAssigned",
1405
- "SystemAssigned, UserAssigned",
1406
- "None",
1407
- ]),
1408
- ),
1409
- userAssignedIdentities: Schema.optional(
1410
- Schema.Record(
1411
- Schema.String,
1412
- Schema.Struct({
1413
- principalId: Schema.optional(Schema.String),
1414
- clientId: Schema.optional(Schema.String),
1415
- }),
1416
- ),
1417
- ),
1418
- }),
1419
- ),
1420
1033
  systemData: Schema.optional(
1421
1034
  Schema.Struct({
1422
1035
  createdBy: Schema.optional(Schema.String),
@@ -1441,204 +1054,10 @@ export const CachesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1441
1054
  lastModifiedAt: Schema.optional(Schema.String),
1442
1055
  }),
1443
1056
  ),
1444
- properties: Schema.optional(
1445
- Schema.Struct({
1446
- cacheSizeGB: Schema.optional(Schema.Number),
1447
- health: Schema.optional(
1448
- Schema.Struct({
1449
- state: Schema.optional(
1450
- Schema.Literals([
1451
- "Unknown",
1452
- "Healthy",
1453
- "Degraded",
1454
- "Down",
1455
- "Transitioning",
1456
- "Stopping",
1457
- "Stopped",
1458
- "Upgrading",
1459
- "Flushing",
1460
- "WaitingForKey",
1461
- "StartFailed",
1462
- "UpgradeFailed",
1463
- ]),
1464
- ),
1465
- statusDescription: Schema.optional(Schema.String),
1466
- conditions: Schema.optional(
1467
- Schema.Array(
1468
- Schema.Struct({
1469
- timestamp: Schema.optional(Schema.String),
1470
- message: Schema.optional(Schema.String),
1471
- }),
1472
- ),
1473
- ),
1474
- }),
1475
- ),
1476
- mountAddresses: Schema.optional(Schema.Array(Schema.String)),
1477
- provisioningState: Schema.optional(
1478
- Schema.Literals([
1479
- "Succeeded",
1480
- "Failed",
1481
- "Canceled",
1482
- "Creating",
1483
- "Deleting",
1484
- "Updating",
1485
- ]),
1486
- ),
1487
- subnet: Schema.optional(Schema.String),
1488
- upgradeStatus: Schema.optional(
1489
- Schema.Struct({
1490
- currentFirmwareVersion: Schema.optional(Schema.String),
1491
- firmwareUpdateStatus: Schema.optional(
1492
- Schema.Literals(["available", "unavailable"]),
1493
- ),
1494
- firmwareUpdateDeadline: Schema.optional(Schema.String),
1495
- lastFirmwareUpdate: Schema.optional(Schema.String),
1496
- pendingFirmwareVersion: Schema.optional(Schema.String),
1497
- }),
1498
- ),
1499
- upgradeSettings: Schema.optional(
1500
- Schema.Struct({
1501
- upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
1502
- scheduledTime: Schema.optional(Schema.String),
1503
- }),
1504
- ),
1505
- networkSettings: Schema.optional(
1506
- Schema.Struct({
1507
- mtu: Schema.optional(Schema.Number),
1508
- utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
1509
- dnsServers: Schema.optional(Schema.Array(Schema.String)),
1510
- dnsSearchDomain: Schema.optional(Schema.String),
1511
- ntpServer: Schema.optional(Schema.String),
1512
- }),
1513
- ),
1514
- encryptionSettings: Schema.optional(
1515
- Schema.Struct({
1516
- keyEncryptionKey: Schema.optional(
1517
- Schema.Struct({
1518
- keyUrl: Schema.String,
1519
- sourceVault: Schema.Struct({
1520
- id: Schema.optional(Schema.String),
1521
- }),
1522
- }),
1523
- ),
1524
- rotationToLatestKeyVersionEnabled: Schema.optional(
1525
- Schema.Boolean,
1526
- ),
1527
- }),
1528
- ),
1529
- securitySettings: Schema.optional(
1530
- Schema.Struct({
1531
- accessPolicies: Schema.optional(
1532
- Schema.Array(
1533
- Schema.Struct({
1534
- name: Schema.String,
1535
- accessRules: Schema.Array(
1536
- Schema.Struct({
1537
- scope: Schema.Literals([
1538
- "default",
1539
- "network",
1540
- "host",
1541
- ]),
1542
- filter: Schema.optional(Schema.String),
1543
- access: Schema.Literals(["no", "ro", "rw"]),
1544
- suid: Schema.optional(Schema.Boolean),
1545
- submountAccess: Schema.optional(Schema.Boolean),
1546
- rootSquash: Schema.optional(Schema.Boolean),
1547
- anonymousUID: Schema.optional(Schema.String),
1548
- anonymousGID: Schema.optional(Schema.String),
1549
- }),
1550
- ),
1551
- }),
1552
- ),
1553
- ),
1554
- }),
1555
- ),
1556
- directoryServicesSettings: Schema.optional(
1557
- Schema.Struct({
1558
- activeDirectory: Schema.optional(
1559
- Schema.Struct({
1560
- primaryDnsIpAddress: Schema.String,
1561
- secondaryDnsIpAddress: Schema.optional(Schema.String),
1562
- domainName: Schema.String,
1563
- domainNetBiosName: Schema.String,
1564
- cacheNetBiosName: Schema.String,
1565
- domainJoined: Schema.optional(
1566
- Schema.Literals(["Yes", "No", "Error"]),
1567
- ),
1568
- credentials: Schema.optional(
1569
- Schema.Struct({
1570
- username: Schema.String,
1571
- password: Schema.optional(SensitiveString),
1572
- }),
1573
- ),
1574
- }),
1575
- ),
1576
- usernameDownload: Schema.optional(
1577
- Schema.Struct({
1578
- extendedGroups: Schema.optional(Schema.Boolean),
1579
- usernameSource: Schema.optional(
1580
- Schema.Literals(["AD", "LDAP", "File", "None"]),
1581
- ),
1582
- groupFileURI: Schema.optional(Schema.String),
1583
- userFileURI: Schema.optional(Schema.String),
1584
- ldapServer: Schema.optional(Schema.String),
1585
- ldapBaseDN: Schema.optional(Schema.String),
1586
- encryptLdapConnection: Schema.optional(Schema.Boolean),
1587
- requireValidCertificate: Schema.optional(Schema.Boolean),
1588
- autoDownloadCertificate: Schema.optional(Schema.Boolean),
1589
- caCertificateURI: Schema.optional(Schema.String),
1590
- usernameDownloaded: Schema.optional(
1591
- Schema.Literals(["Yes", "No", "Error"]),
1592
- ),
1593
- credentials: Schema.optional(
1594
- Schema.Struct({
1595
- bindDn: Schema.optional(Schema.String),
1596
- bindPassword: Schema.optional(SensitiveString),
1597
- }),
1598
- ),
1599
- }),
1600
- ),
1601
- }),
1602
- ),
1603
- zones: Schema.optional(Schema.Array(Schema.String)),
1604
- primingJobs: Schema.optional(
1605
- Schema.Array(
1606
- Schema.Struct({
1607
- primingJobName: Schema.String,
1608
- primingManifestUrl: Schema.String,
1609
- primingJobId: Schema.optional(Schema.String),
1610
- primingJobState: Schema.optional(
1611
- Schema.Literals([
1612
- "Queued",
1613
- "Running",
1614
- "Paused",
1615
- "Complete",
1616
- ]),
1617
- ),
1618
- primingJobStatus: Schema.optional(Schema.String),
1619
- primingJobDetails: Schema.optional(Schema.String),
1620
- primingJobPercentComplete: Schema.optional(Schema.Number),
1621
- }),
1622
- ),
1623
- ),
1624
- spaceAllocation: Schema.optional(
1625
- Schema.Array(
1626
- Schema.Struct({
1627
- name: Schema.optional(Schema.String),
1628
- allocationPercentage: Schema.optional(Schema.Number),
1629
- }),
1630
- ),
1631
- ),
1632
- }),
1633
- ),
1634
- sku: Schema.optional(
1635
- Schema.Struct({
1636
- name: Schema.optional(Schema.String),
1637
- }),
1638
- ),
1639
1057
  }),
1640
1058
  ),
1641
1059
  ),
1060
+ nextLink: Schema.optional(Schema.String),
1642
1061
  });
1643
1062
  export type CachesListOutput = typeof CachesListOutput.Type;
1644
1063
 
@@ -1656,13 +1075,13 @@ export const CachesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1656
1075
  // Input Schema
1657
1076
  export const CachesListByResourceGroupInput =
1658
1077
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1659
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1660
1078
  subscriptionId: Schema.String.pipe(T.PathParam()),
1079
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1661
1080
  "api-version": Schema.String,
1662
1081
  }).pipe(
1663
1082
  T.Http({
1664
1083
  method: "GET",
1665
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches",
1084
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches",
1666
1085
  }),
1667
1086
  );
1668
1087
  export type CachesListByResourceGroupInput =
@@ -1671,38 +1090,12 @@ export type CachesListByResourceGroupInput =
1671
1090
  // Output Schema
1672
1091
  export const CachesListByResourceGroupOutput =
1673
1092
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1674
- nextLink: Schema.optional(Schema.String),
1675
1093
  value: Schema.optional(
1676
1094
  Schema.Array(
1677
1095
  Schema.Struct({
1678
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1679
1096
  id: Schema.optional(Schema.String),
1680
- location: Schema.optional(Schema.String),
1681
1097
  name: Schema.optional(Schema.String),
1682
1098
  type: Schema.optional(Schema.String),
1683
- identity: Schema.optional(
1684
- Schema.Struct({
1685
- principalId: Schema.optional(Schema.String),
1686
- tenantId: Schema.optional(Schema.String),
1687
- type: Schema.optional(
1688
- Schema.Literals([
1689
- "SystemAssigned",
1690
- "UserAssigned",
1691
- "SystemAssigned, UserAssigned",
1692
- "None",
1693
- ]),
1694
- ),
1695
- userAssignedIdentities: Schema.optional(
1696
- Schema.Record(
1697
- Schema.String,
1698
- Schema.Struct({
1699
- principalId: Schema.optional(Schema.String),
1700
- clientId: Schema.optional(Schema.String),
1701
- }),
1702
- ),
1703
- ),
1704
- }),
1705
- ),
1706
1099
  systemData: Schema.optional(
1707
1100
  Schema.Struct({
1708
1101
  createdBy: Schema.optional(Schema.String),
@@ -1727,206 +1120,10 @@ export const CachesListByResourceGroupOutput =
1727
1120
  lastModifiedAt: Schema.optional(Schema.String),
1728
1121
  }),
1729
1122
  ),
1730
- properties: Schema.optional(
1731
- Schema.Struct({
1732
- cacheSizeGB: Schema.optional(Schema.Number),
1733
- health: Schema.optional(
1734
- Schema.Struct({
1735
- state: Schema.optional(
1736
- Schema.Literals([
1737
- "Unknown",
1738
- "Healthy",
1739
- "Degraded",
1740
- "Down",
1741
- "Transitioning",
1742
- "Stopping",
1743
- "Stopped",
1744
- "Upgrading",
1745
- "Flushing",
1746
- "WaitingForKey",
1747
- "StartFailed",
1748
- "UpgradeFailed",
1749
- ]),
1750
- ),
1751
- statusDescription: Schema.optional(Schema.String),
1752
- conditions: Schema.optional(
1753
- Schema.Array(
1754
- Schema.Struct({
1755
- timestamp: Schema.optional(Schema.String),
1756
- message: Schema.optional(Schema.String),
1757
- }),
1758
- ),
1759
- ),
1760
- }),
1761
- ),
1762
- mountAddresses: Schema.optional(Schema.Array(Schema.String)),
1763
- provisioningState: Schema.optional(
1764
- Schema.Literals([
1765
- "Succeeded",
1766
- "Failed",
1767
- "Canceled",
1768
- "Creating",
1769
- "Deleting",
1770
- "Updating",
1771
- ]),
1772
- ),
1773
- subnet: Schema.optional(Schema.String),
1774
- upgradeStatus: Schema.optional(
1775
- Schema.Struct({
1776
- currentFirmwareVersion: Schema.optional(Schema.String),
1777
- firmwareUpdateStatus: Schema.optional(
1778
- Schema.Literals(["available", "unavailable"]),
1779
- ),
1780
- firmwareUpdateDeadline: Schema.optional(Schema.String),
1781
- lastFirmwareUpdate: Schema.optional(Schema.String),
1782
- pendingFirmwareVersion: Schema.optional(Schema.String),
1783
- }),
1784
- ),
1785
- upgradeSettings: Schema.optional(
1786
- Schema.Struct({
1787
- upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
1788
- scheduledTime: Schema.optional(Schema.String),
1789
- }),
1790
- ),
1791
- networkSettings: Schema.optional(
1792
- Schema.Struct({
1793
- mtu: Schema.optional(Schema.Number),
1794
- utilityAddresses: Schema.optional(
1795
- Schema.Array(Schema.String),
1796
- ),
1797
- dnsServers: Schema.optional(Schema.Array(Schema.String)),
1798
- dnsSearchDomain: Schema.optional(Schema.String),
1799
- ntpServer: Schema.optional(Schema.String),
1800
- }),
1801
- ),
1802
- encryptionSettings: Schema.optional(
1803
- Schema.Struct({
1804
- keyEncryptionKey: Schema.optional(
1805
- Schema.Struct({
1806
- keyUrl: Schema.String,
1807
- sourceVault: Schema.Struct({
1808
- id: Schema.optional(Schema.String),
1809
- }),
1810
- }),
1811
- ),
1812
- rotationToLatestKeyVersionEnabled: Schema.optional(
1813
- Schema.Boolean,
1814
- ),
1815
- }),
1816
- ),
1817
- securitySettings: Schema.optional(
1818
- Schema.Struct({
1819
- accessPolicies: Schema.optional(
1820
- Schema.Array(
1821
- Schema.Struct({
1822
- name: Schema.String,
1823
- accessRules: Schema.Array(
1824
- Schema.Struct({
1825
- scope: Schema.Literals([
1826
- "default",
1827
- "network",
1828
- "host",
1829
- ]),
1830
- filter: Schema.optional(Schema.String),
1831
- access: Schema.Literals(["no", "ro", "rw"]),
1832
- suid: Schema.optional(Schema.Boolean),
1833
- submountAccess: Schema.optional(Schema.Boolean),
1834
- rootSquash: Schema.optional(Schema.Boolean),
1835
- anonymousUID: Schema.optional(Schema.String),
1836
- anonymousGID: Schema.optional(Schema.String),
1837
- }),
1838
- ),
1839
- }),
1840
- ),
1841
- ),
1842
- }),
1843
- ),
1844
- directoryServicesSettings: Schema.optional(
1845
- Schema.Struct({
1846
- activeDirectory: Schema.optional(
1847
- Schema.Struct({
1848
- primaryDnsIpAddress: Schema.String,
1849
- secondaryDnsIpAddress: Schema.optional(Schema.String),
1850
- domainName: Schema.String,
1851
- domainNetBiosName: Schema.String,
1852
- cacheNetBiosName: Schema.String,
1853
- domainJoined: Schema.optional(
1854
- Schema.Literals(["Yes", "No", "Error"]),
1855
- ),
1856
- credentials: Schema.optional(
1857
- Schema.Struct({
1858
- username: Schema.String,
1859
- password: Schema.optional(SensitiveString),
1860
- }),
1861
- ),
1862
- }),
1863
- ),
1864
- usernameDownload: Schema.optional(
1865
- Schema.Struct({
1866
- extendedGroups: Schema.optional(Schema.Boolean),
1867
- usernameSource: Schema.optional(
1868
- Schema.Literals(["AD", "LDAP", "File", "None"]),
1869
- ),
1870
- groupFileURI: Schema.optional(Schema.String),
1871
- userFileURI: Schema.optional(Schema.String),
1872
- ldapServer: Schema.optional(Schema.String),
1873
- ldapBaseDN: Schema.optional(Schema.String),
1874
- encryptLdapConnection: Schema.optional(Schema.Boolean),
1875
- requireValidCertificate: Schema.optional(Schema.Boolean),
1876
- autoDownloadCertificate: Schema.optional(Schema.Boolean),
1877
- caCertificateURI: Schema.optional(Schema.String),
1878
- usernameDownloaded: Schema.optional(
1879
- Schema.Literals(["Yes", "No", "Error"]),
1880
- ),
1881
- credentials: Schema.optional(
1882
- Schema.Struct({
1883
- bindDn: Schema.optional(Schema.String),
1884
- bindPassword: Schema.optional(SensitiveString),
1885
- }),
1886
- ),
1887
- }),
1888
- ),
1889
- }),
1890
- ),
1891
- zones: Schema.optional(Schema.Array(Schema.String)),
1892
- primingJobs: Schema.optional(
1893
- Schema.Array(
1894
- Schema.Struct({
1895
- primingJobName: Schema.String,
1896
- primingManifestUrl: Schema.String,
1897
- primingJobId: Schema.optional(Schema.String),
1898
- primingJobState: Schema.optional(
1899
- Schema.Literals([
1900
- "Queued",
1901
- "Running",
1902
- "Paused",
1903
- "Complete",
1904
- ]),
1905
- ),
1906
- primingJobStatus: Schema.optional(Schema.String),
1907
- primingJobDetails: Schema.optional(Schema.String),
1908
- primingJobPercentComplete: Schema.optional(Schema.Number),
1909
- }),
1910
- ),
1911
- ),
1912
- spaceAllocation: Schema.optional(
1913
- Schema.Array(
1914
- Schema.Struct({
1915
- name: Schema.optional(Schema.String),
1916
- allocationPercentage: Schema.optional(Schema.Number),
1917
- }),
1918
- ),
1919
- ),
1920
- }),
1921
- ),
1922
- sku: Schema.optional(
1923
- Schema.Struct({
1924
- name: Schema.optional(Schema.String),
1925
- }),
1926
- ),
1927
1123
  }),
1928
1124
  ),
1929
1125
  ),
1126
+ nextLink: Schema.optional(Schema.String),
1930
1127
  });
1931
1128
  export type CachesListByResourceGroupOutput =
1932
1129
  typeof CachesListByResourceGroupOutput.Type;
@@ -1935,9 +1132,9 @@ export type CachesListByResourceGroupOutput =
1935
1132
  /**
1936
1133
  * Returns all caches the user has access to under a resource group.
1937
1134
  *
1938
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1939
1135
  * @param api-version - The API version to use for this operation.
1940
1136
  * @param subscriptionId - The ID of the target subscription.
1137
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1941
1138
  */
1942
1139
  export const CachesListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(
1943
1140
  () => ({
@@ -1948,13 +1145,14 @@ export const CachesListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(
1948
1145
  // Input Schema
1949
1146
  export const CachesPausePrimingJobInput =
1950
1147
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1951
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1952
1148
  subscriptionId: Schema.String.pipe(T.PathParam()),
1149
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1150
+ cacheName: Schema.String.pipe(T.PathParam()),
1953
1151
  "api-version": Schema.String,
1954
1152
  }).pipe(
1955
1153
  T.Http({
1956
1154
  method: "POST",
1957
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/pausePrimingJob",
1155
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/pausePrimingJob",
1958
1156
  }),
1959
1157
  );
1960
1158
  export type CachesPausePrimingJobInput = typeof CachesPausePrimingJobInput.Type;
@@ -1969,9 +1167,10 @@ export type CachesPausePrimingJobOutput =
1969
1167
  /**
1970
1168
  * Schedule a priming job to be paused.
1971
1169
  *
1972
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1973
1170
  * @param api-version - The API version to use for this operation.
1974
1171
  * @param subscriptionId - The ID of the target subscription.
1172
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1173
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
1975
1174
  */
1976
1175
  export const CachesPausePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
1977
1176
  () => ({
@@ -1982,13 +1181,14 @@ export const CachesPausePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
1982
1181
  // Input Schema
1983
1182
  export const CachesResumePrimingJobInput =
1984
1183
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1985
- resourceGroupName: Schema.String.pipe(T.PathParam()),
1986
1184
  subscriptionId: Schema.String.pipe(T.PathParam()),
1185
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1186
+ cacheName: Schema.String.pipe(T.PathParam()),
1987
1187
  "api-version": Schema.String,
1988
1188
  }).pipe(
1989
1189
  T.Http({
1990
1190
  method: "POST",
1991
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/resumePrimingJob",
1191
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/resumePrimingJob",
1992
1192
  }),
1993
1193
  );
1994
1194
  export type CachesResumePrimingJobInput =
@@ -2004,9 +1204,10 @@ export type CachesResumePrimingJobOutput =
2004
1204
  /**
2005
1205
  * Resumes a paused priming job.
2006
1206
  *
2007
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2008
1207
  * @param api-version - The API version to use for this operation.
2009
1208
  * @param subscriptionId - The ID of the target subscription.
1209
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1210
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2010
1211
  */
2011
1212
  export const CachesResumePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
2012
1213
  () => ({
@@ -2017,13 +1218,14 @@ export const CachesResumePrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
2017
1218
  // Input Schema
2018
1219
  export const CachesSpaceAllocationInput =
2019
1220
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2020
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2021
1221
  subscriptionId: Schema.String.pipe(T.PathParam()),
1222
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1223
+ cacheName: Schema.String.pipe(T.PathParam()),
2022
1224
  "api-version": Schema.String,
2023
1225
  }).pipe(
2024
1226
  T.Http({
2025
1227
  method: "POST",
2026
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/spaceAllocation",
1228
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/spaceAllocation",
2027
1229
  }),
2028
1230
  );
2029
1231
  export type CachesSpaceAllocationInput = typeof CachesSpaceAllocationInput.Type;
@@ -2038,9 +1240,10 @@ export type CachesSpaceAllocationOutput =
2038
1240
  /**
2039
1241
  * Update cache space allocation.
2040
1242
  *
2041
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2042
1243
  * @param api-version - The API version to use for this operation.
2043
1244
  * @param subscriptionId - The ID of the target subscription.
1245
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1246
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2044
1247
  */
2045
1248
  export const CachesSpaceAllocation = /*@__PURE__*/ /*#__PURE__*/ API.make(
2046
1249
  () => ({
@@ -2050,13 +1253,14 @@ export const CachesSpaceAllocation = /*@__PURE__*/ /*#__PURE__*/ API.make(
2050
1253
  );
2051
1254
  // Input Schema
2052
1255
  export const CachesStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2053
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2054
1256
  subscriptionId: Schema.String.pipe(T.PathParam()),
1257
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1258
+ cacheName: Schema.String.pipe(T.PathParam()),
2055
1259
  "api-version": Schema.String,
2056
1260
  }).pipe(
2057
1261
  T.Http({
2058
1262
  method: "POST",
2059
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start",
1263
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start",
2060
1264
  }),
2061
1265
  );
2062
1266
  export type CachesStartInput = typeof CachesStartInput.Type;
@@ -2069,9 +1273,10 @@ export type CachesStartOutput = typeof CachesStartOutput.Type;
2069
1273
  /**
2070
1274
  * Tells a Stopped state cache to transition to Active state.
2071
1275
  *
2072
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2073
1276
  * @param api-version - The API version to use for this operation.
2074
1277
  * @param subscriptionId - The ID of the target subscription.
1278
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1279
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2075
1280
  */
2076
1281
  export const CachesStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2077
1282
  inputSchema: CachesStartInput,
@@ -2080,13 +1285,14 @@ export const CachesStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2080
1285
  // Input Schema
2081
1286
  export const CachesStartPrimingJobInput =
2082
1287
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2083
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2084
1288
  subscriptionId: Schema.String.pipe(T.PathParam()),
1289
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1290
+ cacheName: Schema.String.pipe(T.PathParam()),
2085
1291
  "api-version": Schema.String,
2086
1292
  }).pipe(
2087
1293
  T.Http({
2088
1294
  method: "POST",
2089
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob",
1295
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/startPrimingJob",
2090
1296
  }),
2091
1297
  );
2092
1298
  export type CachesStartPrimingJobInput = typeof CachesStartPrimingJobInput.Type;
@@ -2101,9 +1307,10 @@ export type CachesStartPrimingJobOutput =
2101
1307
  /**
2102
1308
  * Create a priming job. This operation is only allowed when the cache is healthy.
2103
1309
  *
2104
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2105
1310
  * @param api-version - The API version to use for this operation.
2106
1311
  * @param subscriptionId - The ID of the target subscription.
1312
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1313
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2107
1314
  */
2108
1315
  export const CachesStartPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
2109
1316
  () => ({
@@ -2113,13 +1320,14 @@ export const CachesStartPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
2113
1320
  );
2114
1321
  // Input Schema
2115
1322
  export const CachesStopInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2116
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2117
1323
  subscriptionId: Schema.String.pipe(T.PathParam()),
1324
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1325
+ cacheName: Schema.String.pipe(T.PathParam()),
2118
1326
  "api-version": Schema.String,
2119
1327
  }).pipe(
2120
1328
  T.Http({
2121
1329
  method: "POST",
2122
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop",
1330
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop",
2123
1331
  }),
2124
1332
  );
2125
1333
  export type CachesStopInput = typeof CachesStopInput.Type;
@@ -2132,9 +1340,10 @@ export type CachesStopOutput = typeof CachesStopOutput.Type;
2132
1340
  /**
2133
1341
  * Tells an Active cache to transition to Stopped state.
2134
1342
  *
2135
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2136
1343
  * @param api-version - The API version to use for this operation.
2137
1344
  * @param subscriptionId - The ID of the target subscription.
1345
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1346
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2138
1347
  */
2139
1348
  export const CachesStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2140
1349
  inputSchema: CachesStopInput,
@@ -2143,13 +1352,14 @@ export const CachesStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2143
1352
  // Input Schema
2144
1353
  export const CachesStopPrimingJobInput =
2145
1354
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2146
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2147
1355
  subscriptionId: Schema.String.pipe(T.PathParam()),
1356
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1357
+ cacheName: Schema.String.pipe(T.PathParam()),
2148
1358
  "api-version": Schema.String,
2149
1359
  }).pipe(
2150
1360
  T.Http({
2151
1361
  method: "POST",
2152
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stopPrimingJob",
1362
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stopPrimingJob",
2153
1363
  }),
2154
1364
  );
2155
1365
  export type CachesStopPrimingJobInput = typeof CachesStopPrimingJobInput.Type;
@@ -2163,9 +1373,10 @@ export type CachesStopPrimingJobOutput = typeof CachesStopPrimingJobOutput.Type;
2163
1373
  /**
2164
1374
  * Schedule a priming job for deletion.
2165
1375
  *
2166
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2167
1376
  * @param api-version - The API version to use for this operation.
2168
1377
  * @param subscriptionId - The ID of the target subscription.
1378
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1379
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2169
1380
  */
2170
1381
  export const CachesStopPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
2171
1382
  () => ({
@@ -2175,47 +1386,23 @@ export const CachesStopPrimingJob = /*@__PURE__*/ /*#__PURE__*/ API.make(
2175
1386
  );
2176
1387
  // Input Schema
2177
1388
  export const CachesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2178
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2179
1389
  subscriptionId: Schema.String.pipe(T.PathParam()),
1390
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1391
+ cacheName: Schema.String.pipe(T.PathParam()),
2180
1392
  "api-version": Schema.String,
2181
1393
  }).pipe(
2182
1394
  T.Http({
2183
1395
  method: "PATCH",
2184
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
1396
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
2185
1397
  }),
2186
1398
  );
2187
1399
  export type CachesUpdateInput = typeof CachesUpdateInput.Type;
2188
1400
 
2189
1401
  // Output Schema
2190
1402
  export const CachesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2191
- tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
2192
1403
  id: Schema.optional(Schema.String),
2193
- location: Schema.optional(Schema.String),
2194
1404
  name: Schema.optional(Schema.String),
2195
1405
  type: Schema.optional(Schema.String),
2196
- identity: Schema.optional(
2197
- Schema.Struct({
2198
- principalId: Schema.optional(Schema.String),
2199
- tenantId: Schema.optional(Schema.String),
2200
- type: Schema.optional(
2201
- Schema.Literals([
2202
- "SystemAssigned",
2203
- "UserAssigned",
2204
- "SystemAssigned, UserAssigned",
2205
- "None",
2206
- ]),
2207
- ),
2208
- userAssignedIdentities: Schema.optional(
2209
- Schema.Record(
2210
- Schema.String,
2211
- Schema.Struct({
2212
- principalId: Schema.optional(Schema.String),
2213
- clientId: Schema.optional(Schema.String),
2214
- }),
2215
- ),
2216
- ),
2217
- }),
2218
- ),
2219
1406
  systemData: Schema.optional(
2220
1407
  Schema.Struct({
2221
1408
  createdBy: Schema.optional(Schema.String),
@@ -2230,190 +1417,6 @@ export const CachesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2230
1417
  lastModifiedAt: Schema.optional(Schema.String),
2231
1418
  }),
2232
1419
  ),
2233
- properties: Schema.optional(
2234
- Schema.Struct({
2235
- cacheSizeGB: Schema.optional(Schema.Number),
2236
- health: Schema.optional(
2237
- Schema.Struct({
2238
- state: Schema.optional(
2239
- Schema.Literals([
2240
- "Unknown",
2241
- "Healthy",
2242
- "Degraded",
2243
- "Down",
2244
- "Transitioning",
2245
- "Stopping",
2246
- "Stopped",
2247
- "Upgrading",
2248
- "Flushing",
2249
- "WaitingForKey",
2250
- "StartFailed",
2251
- "UpgradeFailed",
2252
- ]),
2253
- ),
2254
- statusDescription: Schema.optional(Schema.String),
2255
- conditions: Schema.optional(
2256
- Schema.Array(
2257
- Schema.Struct({
2258
- timestamp: Schema.optional(Schema.String),
2259
- message: Schema.optional(Schema.String),
2260
- }),
2261
- ),
2262
- ),
2263
- }),
2264
- ),
2265
- mountAddresses: Schema.optional(Schema.Array(Schema.String)),
2266
- provisioningState: Schema.optional(
2267
- Schema.Literals([
2268
- "Succeeded",
2269
- "Failed",
2270
- "Canceled",
2271
- "Creating",
2272
- "Deleting",
2273
- "Updating",
2274
- ]),
2275
- ),
2276
- subnet: Schema.optional(Schema.String),
2277
- upgradeStatus: Schema.optional(
2278
- Schema.Struct({
2279
- currentFirmwareVersion: Schema.optional(Schema.String),
2280
- firmwareUpdateStatus: Schema.optional(
2281
- Schema.Literals(["available", "unavailable"]),
2282
- ),
2283
- firmwareUpdateDeadline: Schema.optional(Schema.String),
2284
- lastFirmwareUpdate: Schema.optional(Schema.String),
2285
- pendingFirmwareVersion: Schema.optional(Schema.String),
2286
- }),
2287
- ),
2288
- upgradeSettings: Schema.optional(
2289
- Schema.Struct({
2290
- upgradeScheduleEnabled: Schema.optional(Schema.Boolean),
2291
- scheduledTime: Schema.optional(Schema.String),
2292
- }),
2293
- ),
2294
- networkSettings: Schema.optional(
2295
- Schema.Struct({
2296
- mtu: Schema.optional(Schema.Number),
2297
- utilityAddresses: Schema.optional(Schema.Array(Schema.String)),
2298
- dnsServers: Schema.optional(Schema.Array(Schema.String)),
2299
- dnsSearchDomain: Schema.optional(Schema.String),
2300
- ntpServer: Schema.optional(Schema.String),
2301
- }),
2302
- ),
2303
- encryptionSettings: Schema.optional(
2304
- Schema.Struct({
2305
- keyEncryptionKey: Schema.optional(
2306
- Schema.Struct({
2307
- keyUrl: Schema.String,
2308
- sourceVault: Schema.Struct({
2309
- id: Schema.optional(Schema.String),
2310
- }),
2311
- }),
2312
- ),
2313
- rotationToLatestKeyVersionEnabled: Schema.optional(Schema.Boolean),
2314
- }),
2315
- ),
2316
- securitySettings: Schema.optional(
2317
- Schema.Struct({
2318
- accessPolicies: Schema.optional(
2319
- Schema.Array(
2320
- Schema.Struct({
2321
- name: Schema.String,
2322
- accessRules: Schema.Array(
2323
- Schema.Struct({
2324
- scope: Schema.Literals(["default", "network", "host"]),
2325
- filter: Schema.optional(Schema.String),
2326
- access: Schema.Literals(["no", "ro", "rw"]),
2327
- suid: Schema.optional(Schema.Boolean),
2328
- submountAccess: Schema.optional(Schema.Boolean),
2329
- rootSquash: Schema.optional(Schema.Boolean),
2330
- anonymousUID: Schema.optional(Schema.String),
2331
- anonymousGID: Schema.optional(Schema.String),
2332
- }),
2333
- ),
2334
- }),
2335
- ),
2336
- ),
2337
- }),
2338
- ),
2339
- directoryServicesSettings: Schema.optional(
2340
- Schema.Struct({
2341
- activeDirectory: Schema.optional(
2342
- Schema.Struct({
2343
- primaryDnsIpAddress: Schema.String,
2344
- secondaryDnsIpAddress: Schema.optional(Schema.String),
2345
- domainName: Schema.String,
2346
- domainNetBiosName: Schema.String,
2347
- cacheNetBiosName: Schema.String,
2348
- domainJoined: Schema.optional(
2349
- Schema.Literals(["Yes", "No", "Error"]),
2350
- ),
2351
- credentials: Schema.optional(
2352
- Schema.Struct({
2353
- username: Schema.String,
2354
- password: Schema.optional(SensitiveString),
2355
- }),
2356
- ),
2357
- }),
2358
- ),
2359
- usernameDownload: Schema.optional(
2360
- Schema.Struct({
2361
- extendedGroups: Schema.optional(Schema.Boolean),
2362
- usernameSource: Schema.optional(
2363
- Schema.Literals(["AD", "LDAP", "File", "None"]),
2364
- ),
2365
- groupFileURI: Schema.optional(Schema.String),
2366
- userFileURI: Schema.optional(Schema.String),
2367
- ldapServer: Schema.optional(Schema.String),
2368
- ldapBaseDN: Schema.optional(Schema.String),
2369
- encryptLdapConnection: Schema.optional(Schema.Boolean),
2370
- requireValidCertificate: Schema.optional(Schema.Boolean),
2371
- autoDownloadCertificate: Schema.optional(Schema.Boolean),
2372
- caCertificateURI: Schema.optional(Schema.String),
2373
- usernameDownloaded: Schema.optional(
2374
- Schema.Literals(["Yes", "No", "Error"]),
2375
- ),
2376
- credentials: Schema.optional(
2377
- Schema.Struct({
2378
- bindDn: Schema.optional(Schema.String),
2379
- bindPassword: Schema.optional(SensitiveString),
2380
- }),
2381
- ),
2382
- }),
2383
- ),
2384
- }),
2385
- ),
2386
- zones: Schema.optional(Schema.Array(Schema.String)),
2387
- primingJobs: Schema.optional(
2388
- Schema.Array(
2389
- Schema.Struct({
2390
- primingJobName: Schema.String,
2391
- primingManifestUrl: Schema.String,
2392
- primingJobId: Schema.optional(Schema.String),
2393
- primingJobState: Schema.optional(
2394
- Schema.Literals(["Queued", "Running", "Paused", "Complete"]),
2395
- ),
2396
- primingJobStatus: Schema.optional(Schema.String),
2397
- primingJobDetails: Schema.optional(Schema.String),
2398
- primingJobPercentComplete: Schema.optional(Schema.Number),
2399
- }),
2400
- ),
2401
- ),
2402
- spaceAllocation: Schema.optional(
2403
- Schema.Array(
2404
- Schema.Struct({
2405
- name: Schema.optional(Schema.String),
2406
- allocationPercentage: Schema.optional(Schema.Number),
2407
- }),
2408
- ),
2409
- ),
2410
- }),
2411
- ),
2412
- sku: Schema.optional(
2413
- Schema.Struct({
2414
- name: Schema.optional(Schema.String),
2415
- }),
2416
- ),
2417
1420
  });
2418
1421
  export type CachesUpdateOutput = typeof CachesUpdateOutput.Type;
2419
1422
 
@@ -2421,9 +1424,10 @@ export type CachesUpdateOutput = typeof CachesUpdateOutput.Type;
2421
1424
  /**
2422
1425
  * Update a cache instance.
2423
1426
  *
2424
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2425
1427
  * @param api-version - The API version to use for this operation.
2426
1428
  * @param subscriptionId - The ID of the target subscription.
1429
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1430
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2427
1431
  */
2428
1432
  export const CachesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2429
1433
  inputSchema: CachesUpdateInput,
@@ -2432,13 +1436,14 @@ export const CachesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2432
1436
  // Input Schema
2433
1437
  export const CachesUpgradeFirmwareInput =
2434
1438
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2435
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2436
1439
  subscriptionId: Schema.String.pipe(T.PathParam()),
1440
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1441
+ cacheName: Schema.String.pipe(T.PathParam()),
2437
1442
  "api-version": Schema.String,
2438
1443
  }).pipe(
2439
1444
  T.Http({
2440
1445
  method: "POST",
2441
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade",
1446
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade",
2442
1447
  }),
2443
1448
  );
2444
1449
  export type CachesUpgradeFirmwareInput = typeof CachesUpgradeFirmwareInput.Type;
@@ -2453,9 +1458,10 @@ export type CachesUpgradeFirmwareOutput =
2453
1458
  /**
2454
1459
  * Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.
2455
1460
  *
2456
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2457
1461
  * @param api-version - The API version to use for this operation.
2458
1462
  * @param subscriptionId - The ID of the target subscription.
1463
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1464
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2459
1465
  */
2460
1466
  export const CachesUpgradeFirmware = /*@__PURE__*/ /*#__PURE__*/ API.make(
2461
1467
  () => ({
@@ -2495,8 +1501,10 @@ export const checkAmlFSSubnets = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2495
1501
  // Input Schema
2496
1502
  export const ExpansionJobsCreateOrUpdateInput =
2497
1503
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2498
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2499
1504
  subscriptionId: Schema.String.pipe(T.PathParam()),
1505
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1506
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1507
+ expansionJobName: Schema.String.pipe(T.PathParam()),
2500
1508
  "api-version": Schema.String,
2501
1509
  }).pipe(
2502
1510
  T.Http({
@@ -2520,9 +1528,11 @@ export type ExpansionJobsCreateOrUpdateOutput =
2520
1528
  /**
2521
1529
  * Create or update an expansion job.
2522
1530
  *
2523
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2524
1531
  * @param api-version - The API version to use for this operation.
2525
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1532
+ * @param subscriptionId - The ID of the target subscription.
1533
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1534
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1535
+ * @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2526
1536
  */
2527
1537
  export const expansionJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
2528
1538
  () => ({
@@ -2533,8 +1543,10 @@ export const expansionJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
2533
1543
  // Input Schema
2534
1544
  export const ExpansionJobsDeleteInput =
2535
1545
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2536
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2537
1546
  subscriptionId: Schema.String.pipe(T.PathParam()),
1547
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1548
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1549
+ expansionJobName: Schema.String.pipe(T.PathParam()),
2538
1550
  "api-version": Schema.String,
2539
1551
  }).pipe(
2540
1552
  T.Http({
@@ -2553,9 +1565,11 @@ export type ExpansionJobsDeleteOutput = typeof ExpansionJobsDeleteOutput.Type;
2553
1565
  /**
2554
1566
  * Schedules an expansion job for deletion.
2555
1567
  *
2556
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2557
1568
  * @param api-version - The API version to use for this operation.
2558
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1569
+ * @param subscriptionId - The ID of the target subscription.
1570
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1571
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1572
+ * @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2559
1573
  */
2560
1574
  export const expansionJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2561
1575
  inputSchema: ExpansionJobsDeleteInput,
@@ -2563,8 +1577,10 @@ export const expansionJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2563
1577
  }));
2564
1578
  // Input Schema
2565
1579
  export const ExpansionJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2566
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2567
1580
  subscriptionId: Schema.String.pipe(T.PathParam()),
1581
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1582
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1583
+ expansionJobName: Schema.String.pipe(T.PathParam()),
2568
1584
  "api-version": Schema.String,
2569
1585
  }).pipe(
2570
1586
  T.Http({
@@ -2587,9 +1603,11 @@ export type ExpansionJobsGetOutput = typeof ExpansionJobsGetOutput.Type;
2587
1603
  /**
2588
1604
  * Returns an expansion job.
2589
1605
  *
2590
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2591
1606
  * @param api-version - The API version to use for this operation.
2592
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1607
+ * @param subscriptionId - The ID of the target subscription.
1608
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1609
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1610
+ * @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2593
1611
  */
2594
1612
  export const expansionJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2595
1613
  inputSchema: ExpansionJobsGetInput,
@@ -2598,8 +1616,9 @@ export const expansionJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2598
1616
  // Input Schema
2599
1617
  export const ExpansionJobsListByAmlFilesystemInput =
2600
1618
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2601
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2602
1619
  subscriptionId: Schema.String.pipe(T.PathParam()),
1620
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1621
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
2603
1622
  "api-version": Schema.String,
2604
1623
  }).pipe(
2605
1624
  T.Http({
@@ -2630,9 +1649,10 @@ export type ExpansionJobsListByAmlFilesystemOutput =
2630
1649
  /**
2631
1650
  * Returns all the expansion jobs the user has access to under an AML File System.
2632
1651
  *
2633
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2634
1652
  * @param api-version - The API version to use for this operation.
2635
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1653
+ * @param subscriptionId - The ID of the target subscription.
1654
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1655
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2636
1656
  */
2637
1657
  export const expansionJobsListByAmlFilesystem =
2638
1658
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -2642,8 +1662,10 @@ export const expansionJobsListByAmlFilesystem =
2642
1662
  // Input Schema
2643
1663
  export const ExpansionJobsUpdateInput =
2644
1664
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2645
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2646
1665
  subscriptionId: Schema.String.pipe(T.PathParam()),
1666
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1667
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1668
+ expansionJobName: Schema.String.pipe(T.PathParam()),
2647
1669
  "api-version": Schema.String,
2648
1670
  }).pipe(
2649
1671
  T.Http({
@@ -2665,9 +1687,11 @@ export type ExpansionJobsUpdateOutput = typeof ExpansionJobsUpdateOutput.Type;
2665
1687
  /**
2666
1688
  * Update an expansion job instance.
2667
1689
  *
2668
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2669
1690
  * @param api-version - The API version to use for this operation.
2670
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1691
+ * @param subscriptionId - The ID of the target subscription.
1692
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1693
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1694
+ * @param expansionJobName - Name for the expansion job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2671
1695
  */
2672
1696
  export const expansionJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2673
1697
  inputSchema: ExpansionJobsUpdateInput,
@@ -2711,8 +1735,10 @@ export const getRequiredAmlFSSubnetsSize = /*@__PURE__*/ /*#__PURE__*/ API.make(
2711
1735
  // Input Schema
2712
1736
  export const ImportJobsCreateOrUpdateInput =
2713
1737
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2714
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2715
1738
  subscriptionId: Schema.String.pipe(T.PathParam()),
1739
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1740
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1741
+ importJobName: Schema.String.pipe(T.PathParam()),
2716
1742
  "api-version": Schema.String,
2717
1743
  }).pipe(
2718
1744
  T.Http({
@@ -2736,9 +1762,11 @@ export type ImportJobsCreateOrUpdateOutput =
2736
1762
  /**
2737
1763
  * Create or update an import job.
2738
1764
  *
2739
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2740
1765
  * @param api-version - The API version to use for this operation.
2741
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1766
+ * @param subscriptionId - The ID of the target subscription.
1767
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1768
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1769
+ * @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2742
1770
  */
2743
1771
  export const importJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
2744
1772
  () => ({
@@ -2748,8 +1776,10 @@ export const importJobsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
2748
1776
  );
2749
1777
  // Input Schema
2750
1778
  export const ImportJobsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2751
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2752
1779
  subscriptionId: Schema.String.pipe(T.PathParam()),
1780
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1781
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1782
+ importJobName: Schema.String.pipe(T.PathParam()),
2753
1783
  "api-version": Schema.String,
2754
1784
  }).pipe(
2755
1785
  T.Http({
@@ -2767,9 +1797,11 @@ export type ImportJobsDeleteOutput = typeof ImportJobsDeleteOutput.Type;
2767
1797
  /**
2768
1798
  * Schedules an import job for deletion.
2769
1799
  *
2770
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2771
1800
  * @param api-version - The API version to use for this operation.
2772
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1801
+ * @param subscriptionId - The ID of the target subscription.
1802
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1803
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1804
+ * @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2773
1805
  */
2774
1806
  export const importJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2775
1807
  inputSchema: ImportJobsDeleteInput,
@@ -2777,8 +1809,10 @@ export const importJobsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2777
1809
  }));
2778
1810
  // Input Schema
2779
1811
  export const ImportJobsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2780
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2781
1812
  subscriptionId: Schema.String.pipe(T.PathParam()),
1813
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1814
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1815
+ importJobName: Schema.String.pipe(T.PathParam()),
2782
1816
  "api-version": Schema.String,
2783
1817
  }).pipe(
2784
1818
  T.Http({
@@ -2799,9 +1833,11 @@ export type ImportJobsGetOutput = typeof ImportJobsGetOutput.Type;
2799
1833
  /**
2800
1834
  * Returns an import job.
2801
1835
  *
2802
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2803
1836
  * @param api-version - The API version to use for this operation.
2804
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1837
+ * @param subscriptionId - The ID of the target subscription.
1838
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1839
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1840
+ * @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2805
1841
  */
2806
1842
  export const importJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2807
1843
  inputSchema: ImportJobsGetInput,
@@ -2810,8 +1846,9 @@ export const importJobsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2810
1846
  // Input Schema
2811
1847
  export const ImportJobsListByAmlFilesystemInput =
2812
1848
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2813
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2814
1849
  subscriptionId: Schema.String.pipe(T.PathParam()),
1850
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1851
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
2815
1852
  "api-version": Schema.String,
2816
1853
  }).pipe(
2817
1854
  T.Http({
@@ -2825,7 +1862,6 @@ export type ImportJobsListByAmlFilesystemInput =
2825
1862
  // Output Schema
2826
1863
  export const ImportJobsListByAmlFilesystemOutput =
2827
1864
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2828
- nextLink: Schema.optional(Schema.String),
2829
1865
  value: Schema.optional(
2830
1866
  Schema.Array(
2831
1867
  Schema.Struct({
@@ -2834,6 +1870,7 @@ export const ImportJobsListByAmlFilesystemOutput =
2834
1870
  }),
2835
1871
  ),
2836
1872
  ),
1873
+ nextLink: Schema.optional(Schema.String),
2837
1874
  });
2838
1875
  export type ImportJobsListByAmlFilesystemOutput =
2839
1876
  typeof ImportJobsListByAmlFilesystemOutput.Type;
@@ -2842,9 +1879,10 @@ export type ImportJobsListByAmlFilesystemOutput =
2842
1879
  /**
2843
1880
  * Returns all import jobs the user has access to under an AML File System.
2844
1881
  *
2845
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2846
1882
  * @param api-version - The API version to use for this operation.
2847
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1883
+ * @param subscriptionId - The ID of the target subscription.
1884
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1885
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2848
1886
  */
2849
1887
  export const importJobsListByAmlFilesystem =
2850
1888
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -2853,8 +1891,10 @@ export const importJobsListByAmlFilesystem =
2853
1891
  }));
2854
1892
  // Input Schema
2855
1893
  export const ImportJobsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2856
- resourceGroupName: Schema.String.pipe(T.PathParam()),
2857
1894
  subscriptionId: Schema.String.pipe(T.PathParam()),
1895
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
1896
+ amlFilesystemName: Schema.String.pipe(T.PathParam()),
1897
+ importJobName: Schema.String.pipe(T.PathParam()),
2858
1898
  "api-version": Schema.String,
2859
1899
  }).pipe(
2860
1900
  T.Http({
@@ -2877,9 +1917,11 @@ export type ImportJobsUpdateOutput = typeof ImportJobsUpdateOutput.Type;
2877
1917
  /**
2878
1918
  * Update an import job instance.
2879
1919
  *
2880
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2881
1920
  * @param api-version - The API version to use for this operation.
2882
- * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
1921
+ * @param subscriptionId - The ID of the target subscription.
1922
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
1923
+ * @param amlFilesystemName - Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
1924
+ * @param importJobName - Name for the import job. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
2883
1925
  */
2884
1926
  export const importJobsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
2885
1927
  inputSchema: ImportJobsUpdateInput,
@@ -2898,7 +1940,6 @@ export type OperationsListInput = typeof OperationsListInput.Type;
2898
1940
 
2899
1941
  // Output Schema
2900
1942
  export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2901
- nextLink: Schema.optional(Schema.String),
2902
1943
  value: Schema.optional(
2903
1944
  Schema.Array(
2904
1945
  Schema.Struct({
@@ -2969,6 +2010,7 @@ export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2969
2010
  }),
2970
2011
  ),
2971
2012
  ),
2013
+ nextLink: Schema.optional(Schema.String),
2972
2014
  });
2973
2015
  export type OperationsListOutput = typeof OperationsListOutput.Type;
2974
2016
 
@@ -2996,7 +2038,6 @@ export type SkusListInput = typeof SkusListInput.Type;
2996
2038
 
2997
2039
  // Output Schema
2998
2040
  export const SkusListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2999
- nextLink: Schema.optional(Schema.String),
3000
2041
  value: Schema.optional(
3001
2042
  Schema.Array(
3002
2043
  Schema.Struct({
@@ -3033,6 +2074,7 @@ export const SkusListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3033
2074
  }),
3034
2075
  ),
3035
2076
  ),
2077
+ nextLink: Schema.optional(Schema.String),
3036
2078
  });
3037
2079
  export type SkusListOutput = typeof SkusListOutput.Type;
3038
2080
 
@@ -3050,13 +2092,15 @@ export const SkusList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3050
2092
  // Input Schema
3051
2093
  export const StorageTargetFlushInput =
3052
2094
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3053
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3054
2095
  subscriptionId: Schema.String.pipe(T.PathParam()),
2096
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2097
+ cacheName: Schema.String.pipe(T.PathParam()),
2098
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3055
2099
  "api-version": Schema.String,
3056
2100
  }).pipe(
3057
2101
  T.Http({
3058
2102
  method: "POST",
3059
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush",
2103
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush",
3060
2104
  }),
3061
2105
  );
3062
2106
  export type StorageTargetFlushInput = typeof StorageTargetFlushInput.Type;
@@ -3069,9 +2113,11 @@ export type StorageTargetFlushOutput = typeof StorageTargetFlushOutput.Type;
3069
2113
  /**
3070
2114
  * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to this storage target's namespace will return errors until the flush operation completes.
3071
2115
  *
3072
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3073
2116
  * @param api-version - The API version to use for this operation.
3074
2117
  * @param subscriptionId - The ID of the target subscription.
2118
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2119
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2120
+ * @param storageTargetName - Name of Storage Target.
3075
2121
  */
3076
2122
  export const StorageTargetFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3077
2123
  inputSchema: StorageTargetFlushInput,
@@ -3080,13 +2126,15 @@ export const StorageTargetFlush = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3080
2126
  // Input Schema
3081
2127
  export const StorageTargetInvalidateInput =
3082
2128
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3083
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3084
2129
  subscriptionId: Schema.String.pipe(T.PathParam()),
2130
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2131
+ cacheName: Schema.String.pipe(T.PathParam()),
2132
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3085
2133
  "api-version": Schema.String,
3086
2134
  }).pipe(
3087
2135
  T.Http({
3088
2136
  method: "POST",
3089
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/invalidate",
2137
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/invalidate",
3090
2138
  }),
3091
2139
  );
3092
2140
  export type StorageTargetInvalidateInput =
@@ -3102,9 +2150,11 @@ export type StorageTargetInvalidateOutput =
3102
2150
  /**
3103
2151
  * Invalidate all cached data for a storage target. Cached files are discarded and fetched from the back end on the next request.
3104
2152
  *
3105
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3106
2153
  * @param api-version - The API version to use for this operation.
3107
2154
  * @param subscriptionId - The ID of the target subscription.
2155
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2156
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2157
+ * @param storageTargetName - Name of Storage Target.
3108
2158
  */
3109
2159
  export const StorageTargetInvalidate = /*@__PURE__*/ /*#__PURE__*/ API.make(
3110
2160
  () => ({
@@ -3115,13 +2165,15 @@ export const StorageTargetInvalidate = /*@__PURE__*/ /*#__PURE__*/ API.make(
3115
2165
  // Input Schema
3116
2166
  export const StorageTargetResumeInput =
3117
2167
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3118
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3119
2168
  subscriptionId: Schema.String.pipe(T.PathParam()),
2169
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2170
+ cacheName: Schema.String.pipe(T.PathParam()),
2171
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3120
2172
  "api-version": Schema.String,
3121
2173
  }).pipe(
3122
2174
  T.Http({
3123
2175
  method: "POST",
3124
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume",
2176
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume",
3125
2177
  }),
3126
2178
  );
3127
2179
  export type StorageTargetResumeInput = typeof StorageTargetResumeInput.Type;
@@ -3135,9 +2187,11 @@ export type StorageTargetResumeOutput = typeof StorageTargetResumeOutput.Type;
3135
2187
  /**
3136
2188
  * Resumes client access to a previously suspended storage target.
3137
2189
  *
3138
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3139
2190
  * @param api-version - The API version to use for this operation.
3140
2191
  * @param subscriptionId - The ID of the target subscription.
2192
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2193
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2194
+ * @param storageTargetName - Name of Storage Target.
3141
2195
  */
3142
2196
  export const StorageTargetResume = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3143
2197
  inputSchema: StorageTargetResumeInput,
@@ -3146,13 +2200,15 @@ export const StorageTargetResume = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3146
2200
  // Input Schema
3147
2201
  export const StorageTargetsCreateOrUpdateInput =
3148
2202
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3149
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3150
2203
  subscriptionId: Schema.String.pipe(T.PathParam()),
2204
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2205
+ cacheName: Schema.String.pipe(T.PathParam()),
2206
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3151
2207
  "api-version": Schema.String,
3152
2208
  }).pipe(
3153
2209
  T.Http({
3154
2210
  method: "PUT",
3155
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
2211
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
3156
2212
  }),
3157
2213
  );
3158
2214
  export type StorageTargetsCreateOrUpdateInput =
@@ -3160,26 +2216,7 @@ export type StorageTargetsCreateOrUpdateInput =
3160
2216
 
3161
2217
  // Output Schema
3162
2218
  export const StorageTargetsCreateOrUpdateOutput =
3163
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3164
- name: Schema.optional(Schema.String),
3165
- id: Schema.optional(Schema.String),
3166
- type: Schema.optional(Schema.String),
3167
- location: Schema.optional(Schema.String),
3168
- systemData: Schema.optional(
3169
- Schema.Struct({
3170
- createdBy: Schema.optional(Schema.String),
3171
- createdByType: Schema.optional(
3172
- Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3173
- ),
3174
- createdAt: Schema.optional(Schema.String),
3175
- lastModifiedBy: Schema.optional(Schema.String),
3176
- lastModifiedByType: Schema.optional(
3177
- Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3178
- ),
3179
- lastModifiedAt: Schema.optional(Schema.String),
3180
- }),
3181
- ),
3182
- });
2219
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
3183
2220
  export type StorageTargetsCreateOrUpdateOutput =
3184
2221
  typeof StorageTargetsCreateOrUpdateOutput.Type;
3185
2222
 
@@ -3187,9 +2224,11 @@ export type StorageTargetsCreateOrUpdateOutput =
3187
2224
  /**
3188
2225
  * Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
3189
2226
  *
3190
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3191
2227
  * @param api-version - The API version to use for this operation.
3192
2228
  * @param subscriptionId - The ID of the target subscription.
2229
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2230
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2231
+ * @param storageTargetName - Name of Storage Target.
3193
2232
  */
3194
2233
  export const StorageTargetsCreateOrUpdate =
3195
2234
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -3199,14 +2238,16 @@ export const StorageTargetsCreateOrUpdate =
3199
2238
  // Input Schema
3200
2239
  export const StorageTargetsDeleteInput =
3201
2240
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3202
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3203
2241
  subscriptionId: Schema.String.pipe(T.PathParam()),
2242
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2243
+ cacheName: Schema.String.pipe(T.PathParam()),
2244
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3204
2245
  "api-version": Schema.String,
3205
2246
  force: Schema.optional(Schema.String),
3206
2247
  }).pipe(
3207
2248
  T.Http({
3208
2249
  method: "DELETE",
3209
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
2250
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
3210
2251
  }),
3211
2252
  );
3212
2253
  export type StorageTargetsDeleteInput = typeof StorageTargetsDeleteInput.Type;
@@ -3220,9 +2261,11 @@ export type StorageTargetsDeleteOutput = typeof StorageTargetsDeleteOutput.Type;
3220
2261
  /**
3221
2262
  * Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is healthy again. Note that if the cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.
3222
2263
  *
3223
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3224
2264
  * @param api-version - The API version to use for this operation.
3225
2265
  * @param subscriptionId - The ID of the target subscription.
2266
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2267
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2268
+ * @param storageTargetName - Name of Storage Target.
3226
2269
  * @param force - Boolean value requesting the force delete operation for a storage target. Force delete discards unwritten-data in the cache instead of flushing it to back-end storage.
3227
2270
  */
3228
2271
  export const StorageTargetsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
@@ -3234,13 +2277,15 @@ export const StorageTargetsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
3234
2277
  // Input Schema
3235
2278
  export const StorageTargetsDnsRefreshInput =
3236
2279
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3237
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3238
2280
  subscriptionId: Schema.String.pipe(T.PathParam()),
2281
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2282
+ cacheName: Schema.String.pipe(T.PathParam()),
2283
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3239
2284
  "api-version": Schema.String,
3240
2285
  }).pipe(
3241
2286
  T.Http({
3242
2287
  method: "POST",
3243
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh",
2288
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh",
3244
2289
  }),
3245
2290
  );
3246
2291
  export type StorageTargetsDnsRefreshInput =
@@ -3256,9 +2301,11 @@ export type StorageTargetsDnsRefreshOutput =
3256
2301
  /**
3257
2302
  * Tells a storage target to refresh its DNS information.
3258
2303
  *
3259
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3260
2304
  * @param api-version - The API version to use for this operation.
3261
2305
  * @param subscriptionId - The ID of the target subscription.
2306
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2307
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2308
+ * @param storageTargetName - Name of Storage Target.
3262
2309
  */
3263
2310
  export const StorageTargetsDnsRefresh = /*@__PURE__*/ /*#__PURE__*/ API.make(
3264
2311
  () => ({
@@ -3269,49 +2316,34 @@ export const StorageTargetsDnsRefresh = /*@__PURE__*/ /*#__PURE__*/ API.make(
3269
2316
  // Input Schema
3270
2317
  export const StorageTargetsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
3271
2318
  {
3272
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3273
2319
  subscriptionId: Schema.String.pipe(T.PathParam()),
2320
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2321
+ cacheName: Schema.String.pipe(T.PathParam()),
2322
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3274
2323
  "api-version": Schema.String,
3275
2324
  },
3276
2325
  ).pipe(
3277
2326
  T.Http({
3278
2327
  method: "GET",
3279
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
2328
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
3280
2329
  }),
3281
2330
  );
3282
2331
  export type StorageTargetsGetInput = typeof StorageTargetsGetInput.Type;
3283
2332
 
3284
2333
  // Output Schema
3285
2334
  export const StorageTargetsGetOutput =
3286
- /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3287
- name: Schema.optional(Schema.String),
3288
- id: Schema.optional(Schema.String),
3289
- type: Schema.optional(Schema.String),
3290
- location: Schema.optional(Schema.String),
3291
- systemData: Schema.optional(
3292
- Schema.Struct({
3293
- createdBy: Schema.optional(Schema.String),
3294
- createdByType: Schema.optional(
3295
- Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3296
- ),
3297
- createdAt: Schema.optional(Schema.String),
3298
- lastModifiedBy: Schema.optional(Schema.String),
3299
- lastModifiedByType: Schema.optional(
3300
- Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
3301
- ),
3302
- lastModifiedAt: Schema.optional(Schema.String),
3303
- }),
3304
- ),
3305
- });
2335
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
3306
2336
  export type StorageTargetsGetOutput = typeof StorageTargetsGetOutput.Type;
3307
2337
 
3308
2338
  // The operation
3309
2339
  /**
3310
2340
  * Returns a Storage Target from a cache.
3311
2341
  *
3312
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3313
2342
  * @param api-version - The API version to use for this operation.
3314
2343
  * @param subscriptionId - The ID of the target subscription.
2344
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2345
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2346
+ * @param storageTargetName - Name of Storage Target.
3315
2347
  */
3316
2348
  export const StorageTargetsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3317
2349
  inputSchema: StorageTargetsGetInput,
@@ -3320,13 +2352,14 @@ export const StorageTargetsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
3320
2352
  // Input Schema
3321
2353
  export const StorageTargetsListByCacheInput =
3322
2354
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3323
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3324
2355
  subscriptionId: Schema.String.pipe(T.PathParam()),
2356
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2357
+ cacheName: Schema.String.pipe(T.PathParam()),
3325
2358
  "api-version": Schema.String,
3326
2359
  }).pipe(
3327
2360
  T.Http({
3328
2361
  method: "GET",
3329
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets",
2362
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets",
3330
2363
  }),
3331
2364
  );
3332
2365
  export type StorageTargetsListByCacheInput =
@@ -3335,41 +2368,8 @@ export type StorageTargetsListByCacheInput =
3335
2368
  // Output Schema
3336
2369
  export const StorageTargetsListByCacheOutput =
3337
2370
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
2371
+ value: Schema.optional(Schema.Array(Schema.Struct({}))),
3338
2372
  nextLink: Schema.optional(Schema.String),
3339
- value: Schema.optional(
3340
- Schema.Array(
3341
- Schema.Struct({
3342
- name: Schema.optional(Schema.String),
3343
- id: Schema.optional(Schema.String),
3344
- type: Schema.optional(Schema.String),
3345
- location: Schema.optional(Schema.String),
3346
- systemData: Schema.optional(
3347
- Schema.Struct({
3348
- createdBy: Schema.optional(Schema.String),
3349
- createdByType: Schema.optional(
3350
- Schema.Literals([
3351
- "User",
3352
- "Application",
3353
- "ManagedIdentity",
3354
- "Key",
3355
- ]),
3356
- ),
3357
- createdAt: Schema.optional(Schema.String),
3358
- lastModifiedBy: Schema.optional(Schema.String),
3359
- lastModifiedByType: Schema.optional(
3360
- Schema.Literals([
3361
- "User",
3362
- "Application",
3363
- "ManagedIdentity",
3364
- "Key",
3365
- ]),
3366
- ),
3367
- lastModifiedAt: Schema.optional(Schema.String),
3368
- }),
3369
- ),
3370
- }),
3371
- ),
3372
- ),
3373
2373
  });
3374
2374
  export type StorageTargetsListByCacheOutput =
3375
2375
  typeof StorageTargetsListByCacheOutput.Type;
@@ -3378,9 +2378,10 @@ export type StorageTargetsListByCacheOutput =
3378
2378
  /**
3379
2379
  * Returns a list of Storage Targets for the specified cache.
3380
2380
  *
3381
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3382
2381
  * @param api-version - The API version to use for this operation.
3383
2382
  * @param subscriptionId - The ID of the target subscription.
2383
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2384
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
3384
2385
  */
3385
2386
  export const StorageTargetsListByCache = /*@__PURE__*/ /*#__PURE__*/ API.make(
3386
2387
  () => ({
@@ -3391,8 +2392,10 @@ export const StorageTargetsListByCache = /*@__PURE__*/ /*#__PURE__*/ API.make(
3391
2392
  // Input Schema
3392
2393
  export const StorageTargetsRestoreDefaultsInput =
3393
2394
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3394
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3395
2395
  subscriptionId: Schema.String.pipe(T.PathParam()),
2396
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2397
+ cacheName: Schema.String.pipe(T.PathParam()),
2398
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3396
2399
  "api-version": Schema.String,
3397
2400
  }).pipe(
3398
2401
  T.Http({
@@ -3413,9 +2416,11 @@ export type StorageTargetsRestoreDefaultsOutput =
3413
2416
  /**
3414
2417
  * Tells a storage target to restore its settings to their default values.
3415
2418
  *
3416
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3417
2419
  * @param api-version - The API version to use for this operation.
3418
2420
  * @param subscriptionId - The ID of the target subscription.
2421
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2422
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2423
+ * @param storageTargetName - Name of Storage Target.
3419
2424
  */
3420
2425
  export const StorageTargetsRestoreDefaults =
3421
2426
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -3425,13 +2430,15 @@ export const StorageTargetsRestoreDefaults =
3425
2430
  // Input Schema
3426
2431
  export const StorageTargetSuspendInput =
3427
2432
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3428
- resourceGroupName: Schema.String.pipe(T.PathParam()),
3429
2433
  subscriptionId: Schema.String.pipe(T.PathParam()),
2434
+ resourceGroupName: Schema.String.pipe(T.PathParam()),
2435
+ cacheName: Schema.String.pipe(T.PathParam()),
2436
+ storageTargetName: Schema.String.pipe(T.PathParam()),
3430
2437
  "api-version": Schema.String,
3431
2438
  }).pipe(
3432
2439
  T.Http({
3433
2440
  method: "POST",
3434
- path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend",
2441
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend",
3435
2442
  }),
3436
2443
  );
3437
2444
  export type StorageTargetSuspendInput = typeof StorageTargetSuspendInput.Type;
@@ -3445,9 +2452,11 @@ export type StorageTargetSuspendOutput = typeof StorageTargetSuspendOutput.Type;
3445
2452
  /**
3446
2453
  * Suspends client access to a storage target.
3447
2454
  *
3448
- * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3449
2455
  * @param api-version - The API version to use for this operation.
3450
2456
  * @param subscriptionId - The ID of the target subscription.
2457
+ * @param resourceGroupName - The name of the resource group. The name is case insensitive.
2458
+ * @param cacheName - Name of cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
2459
+ * @param storageTargetName - Name of Storage Target.
3451
2460
  */
3452
2461
  export const StorageTargetSuspend = /*@__PURE__*/ /*#__PURE__*/ API.make(
3453
2462
  () => ({
@@ -3469,7 +2478,6 @@ export type UsageModelsListInput = typeof UsageModelsListInput.Type;
3469
2478
 
3470
2479
  // Output Schema
3471
2480
  export const UsageModelsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3472
- nextLink: Schema.optional(Schema.String),
3473
2481
  value: Schema.optional(
3474
2482
  Schema.Array(
3475
2483
  Schema.Struct({
@@ -3483,6 +2491,7 @@ export const UsageModelsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
3483
2491
  }),
3484
2492
  ),
3485
2493
  ),
2494
+ nextLink: Schema.optional(Schema.String),
3486
2495
  });
3487
2496
  export type UsageModelsListOutput = typeof UsageModelsListOutput.Type;
3488
2497