@azure/arm-storagecache 8.1.0 → 8.2.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 (239) hide show
  1. package/README.md +2 -2
  2. package/dist/browser/models/index.d.ts +185 -2
  3. package/dist/browser/models/index.d.ts.map +1 -1
  4. package/dist/browser/models/index.js +32 -0
  5. package/dist/browser/models/index.js.map +1 -1
  6. package/dist/browser/models/mappers.d.ts +6 -0
  7. package/dist/browser/models/mappers.d.ts.map +1 -1
  8. package/dist/browser/models/mappers.js +183 -0
  9. package/dist/browser/models/mappers.js.map +1 -1
  10. package/dist/browser/models/parameters.d.ts +3 -0
  11. package/dist/browser/models/parameters.d.ts.map +1 -1
  12. package/dist/browser/models/parameters.js +25 -2
  13. package/dist/browser/models/parameters.js.map +1 -1
  14. package/dist/browser/operations/expansionJobs.d.ts +120 -0
  15. package/dist/browser/operations/expansionJobs.d.ts.map +1 -0
  16. package/dist/browser/operations/expansionJobs.js +473 -0
  17. package/dist/browser/operations/expansionJobs.js.map +1 -0
  18. package/dist/browser/operations/index.d.ts +1 -0
  19. package/dist/browser/operations/index.d.ts.map +1 -1
  20. package/dist/browser/operations/index.js +1 -0
  21. package/dist/browser/operations/index.js.map +1 -1
  22. package/dist/browser/operationsInterfaces/expansionJobs.d.ts +93 -0
  23. package/dist/browser/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  24. package/dist/browser/operationsInterfaces/expansionJobs.js +4 -0
  25. package/dist/browser/operationsInterfaces/expansionJobs.js.map +1 -0
  26. package/dist/browser/operationsInterfaces/index.d.ts +1 -0
  27. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  28. package/dist/browser/operationsInterfaces/index.js +1 -0
  29. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  30. package/dist/browser/storageCacheManagementClient.d.ts +2 -1
  31. package/dist/browser/storageCacheManagementClient.d.ts.map +1 -1
  32. package/dist/browser/storageCacheManagementClient.js +5 -3
  33. package/dist/browser/storageCacheManagementClient.js.map +1 -1
  34. package/dist/commonjs/index.js +35 -16
  35. package/dist/commonjs/index.js.map +7 -1
  36. package/dist/commonjs/lroImpl.js +41 -21
  37. package/dist/commonjs/lroImpl.js.map +7 -1
  38. package/dist/commonjs/models/index.d.ts +185 -2
  39. package/dist/commonjs/models/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/index.js +326 -386
  41. package/dist/commonjs/models/index.js.map +7 -1
  42. package/dist/commonjs/models/mappers.d.ts +6 -0
  43. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  44. package/dist/commonjs/models/mappers.js +4573 -4116
  45. package/dist/commonjs/models/mappers.js.map +7 -1
  46. package/dist/commonjs/models/parameters.d.ts +3 -0
  47. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  48. package/dist/commonjs/models/parameters.js +402 -287
  49. package/dist/commonjs/models/parameters.js.map +7 -1
  50. package/dist/commonjs/operations/amlFilesystems.js +594 -540
  51. package/dist/commonjs/operations/amlFilesystems.js.map +7 -1
  52. package/dist/commonjs/operations/ascOperations.js +79 -49
  53. package/dist/commonjs/operations/ascOperations.js.map +7 -1
  54. package/dist/commonjs/operations/ascUsages.js +141 -112
  55. package/dist/commonjs/operations/ascUsages.js.map +7 -1
  56. package/dist/commonjs/operations/autoExportJobs.js +527 -458
  57. package/dist/commonjs/operations/autoExportJobs.js.map +7 -1
  58. package/dist/commonjs/operations/autoImportJobs.js +527 -458
  59. package/dist/commonjs/operations/autoImportJobs.js.map +7 -1
  60. package/dist/commonjs/operations/caches.js +1353 -1315
  61. package/dist/commonjs/operations/caches.js.map +7 -1
  62. package/dist/commonjs/operations/expansionJobs.d.ts +120 -0
  63. package/dist/commonjs/operations/expansionJobs.d.ts.map +1 -0
  64. package/dist/commonjs/operations/expansionJobs.js +547 -0
  65. package/dist/commonjs/operations/expansionJobs.js.map +7 -0
  66. package/dist/commonjs/operations/importJobs.js +522 -453
  67. package/dist/commonjs/operations/importJobs.js.map +7 -1
  68. package/dist/commonjs/operations/index.d.ts +1 -0
  69. package/dist/commonjs/operations/index.d.ts.map +1 -1
  70. package/dist/commonjs/operations/index.js +45 -20
  71. package/dist/commonjs/operations/index.js.map +7 -1
  72. package/dist/commonjs/operations/operations.js +133 -104
  73. package/dist/commonjs/operations/operations.js.map +7 -1
  74. package/dist/commonjs/operations/skus.js +133 -104
  75. package/dist/commonjs/operations/skus.js.map +7 -1
  76. package/dist/commonjs/operations/storageTargetOperations.js +396 -356
  77. package/dist/commonjs/operations/storageTargetOperations.js.map +7 -1
  78. package/dist/commonjs/operations/storageTargets.js +567 -508
  79. package/dist/commonjs/operations/storageTargets.js.map +7 -1
  80. package/dist/commonjs/operations/usageModels.js +133 -104
  81. package/dist/commonjs/operations/usageModels.js.map +7 -1
  82. package/dist/commonjs/operationsInterfaces/amlFilesystems.js +15 -5
  83. package/dist/commonjs/operationsInterfaces/amlFilesystems.js.map +7 -1
  84. package/dist/commonjs/operationsInterfaces/ascOperations.js +15 -5
  85. package/dist/commonjs/operationsInterfaces/ascOperations.js.map +7 -1
  86. package/dist/commonjs/operationsInterfaces/ascUsages.js +15 -5
  87. package/dist/commonjs/operationsInterfaces/ascUsages.js.map +7 -1
  88. package/dist/commonjs/operationsInterfaces/autoExportJobs.js +15 -5
  89. package/dist/commonjs/operationsInterfaces/autoExportJobs.js.map +7 -1
  90. package/dist/commonjs/operationsInterfaces/autoImportJobs.js +15 -5
  91. package/dist/commonjs/operationsInterfaces/autoImportJobs.js.map +7 -1
  92. package/dist/commonjs/operationsInterfaces/caches.js +15 -5
  93. package/dist/commonjs/operationsInterfaces/caches.js.map +7 -1
  94. package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts +93 -0
  95. package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  96. package/dist/commonjs/operationsInterfaces/expansionJobs.js +15 -0
  97. package/dist/commonjs/operationsInterfaces/expansionJobs.js.map +7 -0
  98. package/dist/commonjs/operationsInterfaces/importJobs.js +15 -5
  99. package/dist/commonjs/operationsInterfaces/importJobs.js.map +7 -1
  100. package/dist/commonjs/operationsInterfaces/index.d.ts +1 -0
  101. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  102. package/dist/commonjs/operationsInterfaces/index.js +45 -20
  103. package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
  104. package/dist/commonjs/operationsInterfaces/operations.js +15 -5
  105. package/dist/commonjs/operationsInterfaces/operations.js.map +7 -1
  106. package/dist/commonjs/operationsInterfaces/skus.js +15 -5
  107. package/dist/commonjs/operationsInterfaces/skus.js.map +7 -1
  108. package/dist/commonjs/operationsInterfaces/storageTargetOperations.js +15 -5
  109. package/dist/commonjs/operationsInterfaces/storageTargetOperations.js.map +7 -1
  110. package/dist/commonjs/operationsInterfaces/storageTargets.js +15 -5
  111. package/dist/commonjs/operationsInterfaces/storageTargets.js.map +7 -1
  112. package/dist/commonjs/operationsInterfaces/usageModels.js +15 -5
  113. package/dist/commonjs/operationsInterfaces/usageModels.js.map +7 -1
  114. package/dist/commonjs/pagingHelper.js +39 -25
  115. package/dist/commonjs/pagingHelper.js.map +7 -1
  116. package/dist/commonjs/storageCacheManagementClient.d.ts +2 -1
  117. package/dist/commonjs/storageCacheManagementClient.d.ts.map +1 -1
  118. package/dist/commonjs/storageCacheManagementClient.js +198 -172
  119. package/dist/commonjs/storageCacheManagementClient.js.map +7 -1
  120. package/dist/commonjs/tsdoc-metadata.json +1 -1
  121. package/dist/esm/index.js +6 -8
  122. package/dist/esm/index.js.map +7 -1
  123. package/dist/esm/lroImpl.js +19 -19
  124. package/dist/esm/lroImpl.js.map +7 -1
  125. package/dist/esm/models/index.d.ts +185 -2
  126. package/dist/esm/models/index.d.ts.map +1 -1
  127. package/dist/esm/models/index.js +272 -383
  128. package/dist/esm/models/index.js.map +7 -1
  129. package/dist/esm/models/mappers.d.ts +6 -0
  130. package/dist/esm/models/mappers.d.ts.map +1 -1
  131. package/dist/esm/models/mappers.js +4422 -4111
  132. package/dist/esm/models/mappers.js.map +7 -1
  133. package/dist/esm/models/parameters.d.ts +3 -0
  134. package/dist/esm/models/parameters.d.ts.map +1 -1
  135. package/dist/esm/models/parameters.js +360 -283
  136. package/dist/esm/models/parameters.js.map +7 -1
  137. package/dist/esm/operations/amlFilesystems.js +556 -530
  138. package/dist/esm/operations/amlFilesystems.js.map +7 -1
  139. package/dist/esm/operations/ascOperations.js +44 -42
  140. package/dist/esm/operations/ascOperations.js.map +7 -1
  141. package/dist/esm/operations/ascUsages.js +105 -104
  142. package/dist/esm/operations/ascUsages.js.map +7 -1
  143. package/dist/esm/operations/autoExportJobs.js +489 -448
  144. package/dist/esm/operations/autoExportJobs.js.map +7 -1
  145. package/dist/esm/operations/autoImportJobs.js +489 -448
  146. package/dist/esm/operations/autoImportJobs.js.map +7 -1
  147. package/dist/esm/operations/caches.js +1315 -1305
  148. package/dist/esm/operations/caches.js.map +7 -1
  149. package/dist/esm/operations/expansionJobs.d.ts +120 -0
  150. package/dist/esm/operations/expansionJobs.d.ts.map +1 -0
  151. package/dist/esm/operations/expansionJobs.js +514 -0
  152. package/dist/esm/operations/expansionJobs.js.map +7 -0
  153. package/dist/esm/operations/importJobs.js +484 -443
  154. package/dist/esm/operations/importJobs.js.map +7 -1
  155. package/dist/esm/operations/index.d.ts +1 -0
  156. package/dist/esm/operations/index.d.ts.map +1 -1
  157. package/dist/esm/operations/index.js +1 -5
  158. package/dist/esm/operations/index.js.map +7 -1
  159. package/dist/esm/operations/operations.js +97 -96
  160. package/dist/esm/operations/operations.js.map +7 -1
  161. package/dist/esm/operations/skus.js +97 -96
  162. package/dist/esm/operations/skus.js.map +7 -1
  163. package/dist/esm/operations/storageTargetOperations.js +359 -347
  164. package/dist/esm/operations/storageTargetOperations.js.map +7 -1
  165. package/dist/esm/operations/storageTargets.js +529 -498
  166. package/dist/esm/operations/storageTargets.js.map +7 -1
  167. package/dist/esm/operations/usageModels.js +97 -96
  168. package/dist/esm/operations/usageModels.js.map +7 -1
  169. package/dist/esm/operationsInterfaces/amlFilesystems.js +0 -4
  170. package/dist/esm/operationsInterfaces/amlFilesystems.js.map +7 -1
  171. package/dist/esm/operationsInterfaces/ascOperations.js +0 -4
  172. package/dist/esm/operationsInterfaces/ascOperations.js.map +7 -1
  173. package/dist/esm/operationsInterfaces/ascUsages.js +0 -4
  174. package/dist/esm/operationsInterfaces/ascUsages.js.map +7 -1
  175. package/dist/esm/operationsInterfaces/autoExportJobs.js +0 -4
  176. package/dist/esm/operationsInterfaces/autoExportJobs.js.map +7 -1
  177. package/dist/esm/operationsInterfaces/autoImportJobs.js +0 -4
  178. package/dist/esm/operationsInterfaces/autoImportJobs.js.map +7 -1
  179. package/dist/esm/operationsInterfaces/caches.js +0 -4
  180. package/dist/esm/operationsInterfaces/caches.js.map +7 -1
  181. package/dist/esm/operationsInterfaces/expansionJobs.d.ts +93 -0
  182. package/dist/esm/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  183. package/dist/esm/operationsInterfaces/expansionJobs.js +0 -0
  184. package/dist/esm/operationsInterfaces/expansionJobs.js.map +7 -0
  185. package/dist/esm/operationsInterfaces/importJobs.js +0 -4
  186. package/dist/esm/operationsInterfaces/importJobs.js.map +7 -1
  187. package/dist/esm/operationsInterfaces/index.d.ts +1 -0
  188. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  189. package/dist/esm/operationsInterfaces/index.js +1 -5
  190. package/dist/esm/operationsInterfaces/index.js.map +7 -1
  191. package/dist/esm/operationsInterfaces/operations.js +0 -4
  192. package/dist/esm/operationsInterfaces/operations.js.map +7 -1
  193. package/dist/esm/operationsInterfaces/skus.js +0 -4
  194. package/dist/esm/operationsInterfaces/skus.js.map +7 -1
  195. package/dist/esm/operationsInterfaces/storageTargetOperations.js +0 -4
  196. package/dist/esm/operationsInterfaces/storageTargetOperations.js.map +7 -1
  197. package/dist/esm/operationsInterfaces/storageTargets.js +0 -4
  198. package/dist/esm/operationsInterfaces/storageTargets.js.map +7 -1
  199. package/dist/esm/operationsInterfaces/usageModels.js +0 -4
  200. package/dist/esm/operationsInterfaces/usageModels.js.map +7 -1
  201. package/dist/esm/pagingHelper.js +17 -23
  202. package/dist/esm/pagingHelper.js.map +7 -1
  203. package/dist/esm/storageCacheManagementClient.d.ts +2 -1
  204. package/dist/esm/storageCacheManagementClient.d.ts.map +1 -1
  205. package/dist/esm/storageCacheManagementClient.js +176 -164
  206. package/dist/esm/storageCacheManagementClient.js.map +7 -1
  207. package/dist/react-native/models/index.d.ts +185 -2
  208. package/dist/react-native/models/index.d.ts.map +1 -1
  209. package/dist/react-native/models/index.js +32 -0
  210. package/dist/react-native/models/index.js.map +1 -1
  211. package/dist/react-native/models/mappers.d.ts +6 -0
  212. package/dist/react-native/models/mappers.d.ts.map +1 -1
  213. package/dist/react-native/models/mappers.js +183 -0
  214. package/dist/react-native/models/mappers.js.map +1 -1
  215. package/dist/react-native/models/parameters.d.ts +3 -0
  216. package/dist/react-native/models/parameters.d.ts.map +1 -1
  217. package/dist/react-native/models/parameters.js +25 -2
  218. package/dist/react-native/models/parameters.js.map +1 -1
  219. package/dist/react-native/operations/expansionJobs.d.ts +120 -0
  220. package/dist/react-native/operations/expansionJobs.d.ts.map +1 -0
  221. package/dist/react-native/operations/expansionJobs.js +473 -0
  222. package/dist/react-native/operations/expansionJobs.js.map +1 -0
  223. package/dist/react-native/operations/index.d.ts +1 -0
  224. package/dist/react-native/operations/index.d.ts.map +1 -1
  225. package/dist/react-native/operations/index.js +1 -0
  226. package/dist/react-native/operations/index.js.map +1 -1
  227. package/dist/react-native/operationsInterfaces/expansionJobs.d.ts +93 -0
  228. package/dist/react-native/operationsInterfaces/expansionJobs.d.ts.map +1 -0
  229. package/dist/react-native/operationsInterfaces/expansionJobs.js +4 -0
  230. package/dist/react-native/operationsInterfaces/expansionJobs.js.map +1 -0
  231. package/dist/react-native/operationsInterfaces/index.d.ts +1 -0
  232. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  233. package/dist/react-native/operationsInterfaces/index.js +1 -0
  234. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  235. package/dist/react-native/storageCacheManagementClient.d.ts +2 -1
  236. package/dist/react-native/storageCacheManagementClient.d.ts.map +1 -1
  237. package/dist/react-native/storageCacheManagementClient.js +5 -3
  238. package/dist/react-native/storageCacheManagementClient.js.map +1 -1
  239. package/package.json +26 -38
@@ -0,0 +1,93 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { ExpansionJob, ExpansionJobsListByAmlFilesystemOptionalParams, ExpansionJobsDeleteOptionalParams, ExpansionJobsDeleteResponse, ExpansionJobsGetOptionalParams, ExpansionJobsGetResponse, ExpansionJobsCreateOrUpdateOptionalParams, ExpansionJobsCreateOrUpdateResponse, ExpansionJobUpdate, ExpansionJobsUpdateOptionalParams, ExpansionJobsUpdateResponse } from "../models/index.js";
4
+ /** Interface representing a ExpansionJobs. */
5
+ export interface ExpansionJobs {
6
+ /**
7
+ * Returns all the expansion jobs the user has access to under an AML File System.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
10
+ * hyphens. Start and end with alphanumeric.
11
+ * @param options The options parameters.
12
+ */
13
+ listByAmlFilesystem(resourceGroupName: string, amlFilesystemName: string, options?: ExpansionJobsListByAmlFilesystemOptionalParams): PagedAsyncIterableIterator<ExpansionJob>;
14
+ /**
15
+ * Schedules an expansion job for deletion.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
18
+ * hyphens. Start and end with alphanumeric.
19
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
20
+ * Start and end with alphanumeric.
21
+ * @param options The options parameters.
22
+ */
23
+ beginDelete(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, options?: ExpansionJobsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ExpansionJobsDeleteResponse>, ExpansionJobsDeleteResponse>>;
24
+ /**
25
+ * Schedules an expansion job for deletion.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
28
+ * hyphens. Start and end with alphanumeric.
29
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
30
+ * Start and end with alphanumeric.
31
+ * @param options The options parameters.
32
+ */
33
+ beginDeleteAndWait(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, options?: ExpansionJobsDeleteOptionalParams): Promise<ExpansionJobsDeleteResponse>;
34
+ /**
35
+ * Returns an expansion job.
36
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
37
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
38
+ * hyphens. Start and end with alphanumeric.
39
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
40
+ * Start and end with alphanumeric.
41
+ * @param options The options parameters.
42
+ */
43
+ get(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, options?: ExpansionJobsGetOptionalParams): Promise<ExpansionJobsGetResponse>;
44
+ /**
45
+ * Create or update an expansion job.
46
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
47
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
48
+ * hyphens. Start and end with alphanumeric.
49
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
50
+ * Start and end with alphanumeric.
51
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
52
+ * read-only properties are included, they must match the existing values of those properties.
53
+ * @param options The options parameters.
54
+ */
55
+ beginCreateOrUpdate(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJob, options?: ExpansionJobsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpansionJobsCreateOrUpdateResponse>, ExpansionJobsCreateOrUpdateResponse>>;
56
+ /**
57
+ * Create or update an expansion job.
58
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
59
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
60
+ * hyphens. Start and end with alphanumeric.
61
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
62
+ * Start and end with alphanumeric.
63
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
64
+ * read-only properties are included, they must match the existing values of those properties.
65
+ * @param options The options parameters.
66
+ */
67
+ beginCreateOrUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJob, options?: ExpansionJobsCreateOrUpdateOptionalParams): Promise<ExpansionJobsCreateOrUpdateResponse>;
68
+ /**
69
+ * Update an expansion job instance.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
72
+ * hyphens. Start and end with alphanumeric.
73
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
74
+ * Start and end with alphanumeric.
75
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
76
+ * read-only properties are included, they must match the existing values of those properties.
77
+ * @param options The options parameters.
78
+ */
79
+ beginUpdate(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJobUpdate, options?: ExpansionJobsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ExpansionJobsUpdateResponse>, ExpansionJobsUpdateResponse>>;
80
+ /**
81
+ * Update an expansion job instance.
82
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
83
+ * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
84
+ * hyphens. Start and end with alphanumeric.
85
+ * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.
86
+ * Start and end with alphanumeric.
87
+ * @param expansionJob Object containing the user-selectable properties of the expansion job. If
88
+ * read-only properties are included, they must match the existing values of those properties.
89
+ * @param options The options parameters.
90
+ */
91
+ beginUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, expansionJobName: string, expansionJob: ExpansionJobUpdate, options?: ExpansionJobsUpdateOptionalParams): Promise<ExpansionJobsUpdateResponse>;
92
+ }
93
+ //# sourceMappingURL=expansionJobs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expansionJobs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/expansionJobs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,YAAY,EACZ,8CAA8C,EAC9C,iCAAiC,EACjC,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,kBAAkB,EAClB,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAC,CAC3F,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACxC;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;;;;OAUG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,YAAY,EAC1B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;;;;;;OAUG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,YAAY,EAC1B,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;;;;OAUG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,kBAAkB,EAChC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,2BAA2B,CAAC,EAAE,2BAA2B,CAAC,CAC3F,CAAC;IACF;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,kBAAkB,EAChC,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=expansionJobs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expansionJobs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/expansionJobs.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n ExpansionJob,\n ExpansionJobsListByAmlFilesystemOptionalParams,\n ExpansionJobsDeleteOptionalParams,\n ExpansionJobsDeleteResponse,\n ExpansionJobsGetOptionalParams,\n ExpansionJobsGetResponse,\n ExpansionJobsCreateOrUpdateOptionalParams,\n ExpansionJobsCreateOrUpdateResponse,\n ExpansionJobUpdate,\n ExpansionJobsUpdateOptionalParams,\n ExpansionJobsUpdateResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ExpansionJobs. */\nexport interface ExpansionJobs {\n /**\n * Returns all the expansion jobs the user has access to under an AML File System.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param options The options parameters.\n */\n listByAmlFilesystem(\n resourceGroupName: string,\n amlFilesystemName: string,\n options?: ExpansionJobsListByAmlFilesystemOptionalParams,\n ): PagedAsyncIterableIterator<ExpansionJob>;\n /**\n * Schedules an expansion job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ExpansionJobsDeleteResponse>, ExpansionJobsDeleteResponse>\n >;\n /**\n * Schedules an expansion job for deletion.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsDeleteOptionalParams,\n ): Promise<ExpansionJobsDeleteResponse>;\n /**\n * Returns an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n options?: ExpansionJobsGetOptionalParams,\n ): Promise<ExpansionJobsGetResponse>;\n /**\n * Create or update an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJob,\n options?: ExpansionJobsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ExpansionJobsCreateOrUpdateResponse>,\n ExpansionJobsCreateOrUpdateResponse\n >\n >;\n /**\n * Create or update an expansion job.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJob,\n options?: ExpansionJobsCreateOrUpdateOptionalParams,\n ): Promise<ExpansionJobsCreateOrUpdateResponse>;\n /**\n * Update an expansion job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJobUpdate,\n options?: ExpansionJobsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ExpansionJobsUpdateResponse>, ExpansionJobsUpdateResponse>\n >;\n /**\n * Update an expansion job instance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and\n * hyphens. Start and end with alphanumeric.\n * @param expansionJobName Name for the expansion job. Allows alphanumerics, underscores, and hyphens.\n * Start and end with alphanumeric.\n * @param expansionJob Object containing the user-selectable properties of the expansion job. If\n * read-only properties are included, they must match the existing values of those properties.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n amlFilesystemName: string,\n expansionJobName: string,\n expansionJob: ExpansionJobUpdate,\n options?: ExpansionJobsUpdateOptionalParams,\n ): Promise<ExpansionJobsUpdateResponse>;\n}\n"]}
@@ -2,6 +2,7 @@ export * from "./amlFilesystems.js";
2
2
  export * from "./autoExportJobs.js";
3
3
  export * from "./importJobs.js";
4
4
  export * from "./autoImportJobs.js";
5
+ export * from "./expansionJobs.js";
5
6
  export * from "./operations.js";
6
7
  export * from "./skus.js";
7
8
  export * from "./usageModels.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC"}
@@ -6,6 +6,7 @@ export * from "./amlFilesystems.js";
6
6
  export * from "./autoExportJobs.js";
7
7
  export * from "./importJobs.js";
8
8
  export * from "./autoImportJobs.js";
9
+ export * from "./expansionJobs.js";
9
10
  export * from "./operations.js";
10
11
  export * from "./skus.js";
11
12
  export * from "./usageModels.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport * from \"./amlFilesystems.js\";\nexport * from \"./autoExportJobs.js\";\nexport * from \"./importJobs.js\";\nexport * from \"./autoImportJobs.js\";\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./usageModels.js\";\nexport * from \"./ascOperations.js\";\nexport * from \"./ascUsages.js\";\nexport * from \"./caches.js\";\nexport * from \"./storageTargets.js\";\nexport * from \"./storageTargetOperations.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nexport * from \"./amlFilesystems.js\";\nexport * from \"./autoExportJobs.js\";\nexport * from \"./importJobs.js\";\nexport * from \"./autoImportJobs.js\";\nexport * from \"./expansionJobs.js\";\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./usageModels.js\";\nexport * from \"./ascOperations.js\";\nexport * from \"./ascUsages.js\";\nexport * from \"./caches.js\";\nexport * from \"./storageTargets.js\";\nexport * from \"./storageTargetOperations.js\";\n"]}
@@ -1,6 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { AmlFilesystems, AutoExportJobs, ImportJobs, AutoImportJobs, Operations, Skus, UsageModels, AscOperations, AscUsages, Caches, StorageTargets, StorageTargetOperations } from "./operationsInterfaces/index.js";
3
+ import { AmlFilesystems, AutoExportJobs, ImportJobs, AutoImportJobs, ExpansionJobs, Operations, Skus, UsageModels, AscOperations, AscUsages, Caches, StorageTargets, StorageTargetOperations } from "./operationsInterfaces/index.js";
4
4
  import { StorageCacheManagementClientOptionalParams, CheckAmlFSSubnetsOptionalParams, GetRequiredAmlFSSubnetsSizeOptionalParams, GetRequiredAmlFSSubnetsSizeResponse } from "./models/index.js";
5
5
  export declare class StorageCacheManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
@@ -29,6 +29,7 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
29
29
  autoExportJobs: AutoExportJobs;
30
30
  importJobs: ImportJobs;
31
31
  autoImportJobs: AutoImportJobs;
32
+ expansionJobs: ExpansionJobs;
32
33
  operations: Operations;
33
34
  skus: Skus;
34
35
  usageModels: UsageModels;
@@ -1 +1 @@
1
- {"version":3,"file":"storageCacheManagementClient.d.ts","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAe7C,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,MAAM,EACN,cAAc,EACd,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,0CAA0C,EAC1C,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAoFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC;;;OAGG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;OAGG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAI/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}
1
+ {"version":3,"file":"storageCacheManagementClient.d.ts","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAgB7C,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,IAAI,EACJ,WAAW,EACX,aAAa,EACb,SAAS,EACT,MAAM,EACN,cAAc,EACd,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,0CAA0C,EAC1C,+BAA+B,EAC/B,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C;IAqFtD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC;;;OAGG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,+BAA+B,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;;OAGG;IACH,2BAA2B,CACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAI/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,cAAc,CAAC;IAC/B,uBAAuB,EAAE,uBAAuB,CAAC;CAClD"}
@@ -4,7 +4,7 @@
4
4
  // Changes may cause incorrect behavior and will be lost if the code is regenerated.
5
5
  import * as coreClient from "@azure/core-client";
6
6
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
7
- import { AmlFilesystemsImpl, AutoExportJobsImpl, ImportJobsImpl, AutoImportJobsImpl, OperationsImpl, SkusImpl, UsageModelsImpl, AscOperationsImpl, AscUsagesImpl, CachesImpl, StorageTargetsImpl, StorageTargetOperationsImpl, } from "./operations/index.js";
7
+ import { AmlFilesystemsImpl, AutoExportJobsImpl, ImportJobsImpl, AutoImportJobsImpl, ExpansionJobsImpl, OperationsImpl, SkusImpl, UsageModelsImpl, AscOperationsImpl, AscUsagesImpl, CachesImpl, StorageTargetsImpl, StorageTargetOperationsImpl, } from "./operations/index.js";
8
8
  import * as Parameters from "./models/parameters.js";
9
9
  import * as Mappers from "./models/mappers.js";
10
10
  export class StorageCacheManagementClient extends coreClient.ServiceClient {
@@ -32,7 +32,7 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-storagecache/8.1.0`;
35
+ const packageDetails = `azsdk-js-arm-storagecache/8.2.0`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -69,11 +69,12 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
69
69
  this.subscriptionId = subscriptionId;
70
70
  // Assigning values to Constant parameters
71
71
  this.$host = options.$host || "https://management.azure.com";
72
- this.apiVersion = options.apiVersion || "2025-07-01";
72
+ this.apiVersion = options.apiVersion || "2026-01-01";
73
73
  this.amlFilesystems = new AmlFilesystemsImpl(this);
74
74
  this.autoExportJobs = new AutoExportJobsImpl(this);
75
75
  this.importJobs = new ImportJobsImpl(this);
76
76
  this.autoImportJobs = new AutoImportJobsImpl(this);
77
+ this.expansionJobs = new ExpansionJobsImpl(this);
77
78
  this.operations = new OperationsImpl(this);
78
79
  this.skus = new SkusImpl(this);
79
80
  this.usageModels = new UsageModelsImpl(this);
@@ -127,6 +128,7 @@ export class StorageCacheManagementClient extends coreClient.ServiceClient {
127
128
  autoExportJobs;
128
129
  importJobs;
129
130
  autoImportJobs;
131
+ expansionJobs;
130
132
  operations;
131
133
  skus;
132
134
  usageModels;
@@ -1 +1 @@
1
- {"version":3,"file":"storageCacheManagementClient.js","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAe/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAQ/C,MAAM,OAAO,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAoD;QAEpD,I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AS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,wCAAwC,GAA6B;IACzE,IAAI,EAAE,8FAA8F;IACpG,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,oCAAoC;IAC5D,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AmlFilesystemsImpl,\n AutoExportJobsImpl,\n ImportJobsImpl,\n AutoImportJobsImpl,\n OperationsImpl,\n SkusImpl,\n UsageModelsImpl,\n AscOperationsImpl,\n AscUsagesImpl,\n CachesImpl,\n StorageTargetsImpl,\n StorageTargetOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n AmlFilesystems,\n AutoExportJobs,\n ImportJobs,\n AutoImportJobs,\n Operations,\n Skus,\n UsageModels,\n AscOperations,\n AscUsages,\n Caches,\n StorageTargets,\n StorageTargetOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n StorageCacheManagementClientOptionalParams,\n CheckAmlFSSubnetsOptionalParams,\n GetRequiredAmlFSSubnetsSizeOptionalParams,\n GetRequiredAmlFSSubnetsSizeResponse,\n} from \"./models/index.js\";\n\nexport class StorageCacheManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorageCacheManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorageCacheManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageCacheManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-storagecache/8.1.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-07-01\";\n this.amlFilesystems = new AmlFilesystemsImpl(this);\n this.autoExportJobs = new AutoExportJobsImpl(this);\n this.importJobs = new ImportJobsImpl(this);\n this.autoImportJobs = new AutoImportJobsImpl(this);\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.usageModels = new UsageModelsImpl(this);\n this.ascOperations = new AscOperationsImpl(this);\n this.ascUsages = new AscUsagesImpl(this);\n this.caches = new CachesImpl(this);\n this.storageTargets = new StorageTargetsImpl(this);\n this.storageTargetOperations = new StorageTargetOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Check that subnets will be valid for AML file system create calls.\n * @param options The options parameters.\n */\n checkAmlFSSubnets(options?: CheckAmlFSSubnetsOptionalParams): Promise<void> {\n return this.sendOperationRequest({ options }, checkAmlFSSubnetsOperationSpec);\n }\n\n /**\n * Get the number of available IP addresses needed for the AML file system information provided.\n * @param options The options parameters.\n */\n getRequiredAmlFSSubnetsSize(\n options?: GetRequiredAmlFSSubnetsSizeOptionalParams,\n ): Promise<GetRequiredAmlFSSubnetsSizeResponse> {\n return this.sendOperationRequest({ options }, getRequiredAmlFSSubnetsSizeOperationSpec);\n }\n\n amlFilesystems: AmlFilesystems;\n autoExportJobs: AutoExportJobs;\n importJobs: ImportJobs;\n autoImportJobs: AutoImportJobs;\n operations: Operations;\n skus: Skus;\n usageModels: UsageModels;\n ascOperations: AscOperations;\n ascUsages: AscUsages;\n caches: Caches;\n storageTargets: StorageTargets;\n storageTargetOperations: StorageTargetOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkAmlFSSubnetsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 400: {\n bodyMapper: Mappers.AmlFilesystemCheckSubnetError,\n isError: true,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystemSubnetInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getRequiredAmlFSSubnetsSizeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RequiredAmlFilesystemSubnetsSize,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.requiredAMLFilesystemSubnetsSizeInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
1
+ {"version":3,"file":"storageCacheManagementClient.js","sourceRoot":"","sources":["../../src/storageCacheManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAgB/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAQ/C,MAAM,OAAO,4BAA6B,SAAQ,UAAU,CAAC,aAAa;IACxE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAoD;QAEpD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA+C;YAC3D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,iCAAiC,CAAC;QACzD,MAAM,eAAe,GACn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,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n AmlFilesystemsImpl,\n AutoExportJobsImpl,\n ImportJobsImpl,\n AutoImportJobsImpl,\n ExpansionJobsImpl,\n OperationsImpl,\n SkusImpl,\n UsageModelsImpl,\n AscOperationsImpl,\n AscUsagesImpl,\n CachesImpl,\n StorageTargetsImpl,\n StorageTargetOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n AmlFilesystems,\n AutoExportJobs,\n ImportJobs,\n AutoImportJobs,\n ExpansionJobs,\n Operations,\n Skus,\n UsageModels,\n AscOperations,\n AscUsages,\n Caches,\n StorageTargets,\n StorageTargetOperations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n StorageCacheManagementClientOptionalParams,\n CheckAmlFSSubnetsOptionalParams,\n GetRequiredAmlFSSubnetsSizeOptionalParams,\n GetRequiredAmlFSSubnetsSizeResponse,\n} from \"./models/index.js\";\n\nexport class StorageCacheManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorageCacheManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorageCacheManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageCacheManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-storagecache/8.2.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2026-01-01\";\n this.amlFilesystems = new AmlFilesystemsImpl(this);\n this.autoExportJobs = new AutoExportJobsImpl(this);\n this.importJobs = new ImportJobsImpl(this);\n this.autoImportJobs = new AutoImportJobsImpl(this);\n this.expansionJobs = new ExpansionJobsImpl(this);\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.usageModels = new UsageModelsImpl(this);\n this.ascOperations = new AscOperationsImpl(this);\n this.ascUsages = new AscUsagesImpl(this);\n this.caches = new CachesImpl(this);\n this.storageTargets = new StorageTargetsImpl(this);\n this.storageTargetOperations = new StorageTargetOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Check that subnets will be valid for AML file system create calls.\n * @param options The options parameters.\n */\n checkAmlFSSubnets(options?: CheckAmlFSSubnetsOptionalParams): Promise<void> {\n return this.sendOperationRequest({ options }, checkAmlFSSubnetsOperationSpec);\n }\n\n /**\n * Get the number of available IP addresses needed for the AML file system information provided.\n * @param options The options parameters.\n */\n getRequiredAmlFSSubnetsSize(\n options?: GetRequiredAmlFSSubnetsSizeOptionalParams,\n ): Promise<GetRequiredAmlFSSubnetsSizeResponse> {\n return this.sendOperationRequest({ options }, getRequiredAmlFSSubnetsSizeOperationSpec);\n }\n\n amlFilesystems: AmlFilesystems;\n autoExportJobs: AutoExportJobs;\n importJobs: ImportJobs;\n autoImportJobs: AutoImportJobs;\n expansionJobs: ExpansionJobs;\n operations: Operations;\n skus: Skus;\n usageModels: UsageModels;\n ascOperations: AscOperations;\n ascUsages: AscUsages;\n caches: Caches;\n storageTargets: StorageTargets;\n storageTargetOperations: StorageTargetOperations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkAmlFSSubnetsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 400: {\n bodyMapper: Mappers.AmlFilesystemCheckSubnetError,\n isError: true,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.amlFilesystemSubnetInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getRequiredAmlFSSubnetsSizeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.RequiredAmlFilesystemSubnetsSize,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.requiredAMLFilesystemSubnetsSizeInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for StorageCacheManagementClient.",
6
- "version": "8.1.0",
6
+ "version": "8.2.0",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -30,19 +30,23 @@
30
30
  "types": "./dist/commonjs/index.d.ts",
31
31
  "type": "module",
32
32
  "devDependencies": {
33
- "@azure/identity": "4.11.1",
34
- "@azure/logger": "^1.1.4",
35
- "@types/node": "^20.19.0",
36
- "@vitest/browser": "^3.2.3",
37
- "@vitest/coverage-istanbul": "^3.2.3",
38
- "dotenv": "^16.0.0",
39
- "playwright": "^1.50.1",
40
- "typescript": "~5.8.3",
41
- "vitest": "^3.2.3",
42
- "@azure-tools/test-credential": "^2.1.2",
33
+ "typescript": "~5.9.3",
34
+ "rimraf": "^6.1.0",
35
+ "dotenv": "^16.6.1",
36
+ "cross-env": "^10.1.0",
37
+ "eslint": "^9.39.1",
38
+ "prettier": "^3.6.2",
39
+ "@azure/identity": "4.13.0",
40
+ "@types/node": "^20.19.25",
41
+ "@vitest/browser-playwright": "^4.0.8",
42
+ "@vitest/coverage-istanbul": "^4.0.8",
43
+ "playwright": "^1.56.1",
44
+ "vitest": "^4.0.8",
45
+ "@azure/dev-tool": "^1.0.0",
46
+ "@azure/logger": "^1.3.1",
43
47
  "@azure-tools/test-recorder": "^4.1.1",
44
- "@azure-tools/test-utils-vitest": "^2.0.1",
45
- "@azure/dev-tool": "^1.0.0"
48
+ "@azure-tools/test-credential": "^2.1.2",
49
+ "@azure-tools/test-utils-vitest": "^2.0.1"
46
50
  },
47
51
  "repository": "github:Azure/azure-sdk-for-js",
48
52
  "bugs": {
@@ -65,31 +69,7 @@
65
69
  "autoPublish": true,
66
70
  "browser": "./dist/browser/index.js",
67
71
  "react-native": "./dist/react-native/index.js",
68
- "tshy": {
69
- "project": "../../../tsconfig.src.build.json",
70
- "exports": {
71
- "./package.json": "./package.json",
72
- ".": "./src/index.ts"
73
- },
74
- "dialects": [
75
- "esm",
76
- "commonjs"
77
- ],
78
- "esmDialects": [
79
- "browser",
80
- "react-native"
81
- ],
82
- "selfLink": false
83
- },
84
72
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache",
85
- "//sampleConfiguration": {
86
- "productName": "",
87
- "productSlugs": [
88
- "azure"
89
- ],
90
- "disableDocsMs": true,
91
- "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
92
- },
93
73
  "exports": {
94
74
  "./package.json": "./package.json",
95
75
  ".": {
@@ -111,13 +91,21 @@
111
91
  }
112
92
  }
113
93
  },
94
+ "//sampleConfiguration": {
95
+ "productName": "",
96
+ "productSlugs": [
97
+ "azure"
98
+ ],
99
+ "disableDocsMs": true,
100
+ "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storagecache?view=azure-node-preview"
101
+ },
114
102
  "scripts": {
115
103
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
116
104
  "pack": "pnpm pack 2>&1",
117
105
  "extract-api": "dev-tool run extract-api",
118
106
  "lint": "echo skipped",
119
107
  "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
120
- "build:samples": "echo skipped.",
108
+ "build:samples": "tsc -p tsconfig.samples.json && dev-tool samples publish -f",
121
109
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
122
110
  "execute:samples": "echo skipped",
123
111
  "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",