@azure/arm-storagecache 4.3.0 → 5.0.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 (312) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -78
  4. package/dist/index.js +3916 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/ascOperationsGet.d.ts +2 -0
  9. package/dist-esm/samples-dev/ascOperationsGet.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/ascOperationsGet.js +31 -0
  11. package/dist-esm/samples-dev/ascOperationsGet.js.map +1 -0
  12. package/dist-esm/samples-dev/cachesCreateOrUpdate.d.ts +2 -0
  13. package/dist-esm/samples-dev/cachesCreateOrUpdate.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/cachesCreateOrUpdate.js +89 -0
  15. package/dist-esm/samples-dev/cachesCreateOrUpdate.js.map +1 -0
  16. package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.d.ts +2 -0
  17. package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.js +75 -0
  19. package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.js.map +1 -0
  20. package/dist-esm/samples-dev/cachesDebugInfo.d.ts +2 -0
  21. package/dist-esm/samples-dev/cachesDebugInfo.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/cachesDebugInfo.js +31 -0
  23. package/dist-esm/samples-dev/cachesDebugInfo.js.map +1 -0
  24. package/dist-esm/samples-dev/cachesDelete.d.ts +2 -0
  25. package/dist-esm/samples-dev/cachesDelete.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/cachesDelete.js +31 -0
  27. package/dist-esm/samples-dev/cachesDelete.js.map +1 -0
  28. package/dist-esm/samples-dev/cachesDnsRefresh.d.ts +2 -0
  29. package/dist-esm/samples-dev/cachesDnsRefresh.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/cachesDnsRefresh.js +32 -0
  31. package/dist-esm/samples-dev/cachesDnsRefresh.js.map +1 -0
  32. package/dist-esm/samples-dev/cachesFlush.d.ts +2 -0
  33. package/dist-esm/samples-dev/cachesFlush.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/cachesFlush.js +31 -0
  35. package/dist-esm/samples-dev/cachesFlush.js.map +1 -0
  36. package/dist-esm/samples-dev/cachesGet.d.ts +2 -0
  37. package/dist-esm/samples-dev/cachesGet.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/cachesGet.js +31 -0
  39. package/dist-esm/samples-dev/cachesGet.js.map +1 -0
  40. package/dist-esm/samples-dev/cachesList.d.ts +2 -0
  41. package/dist-esm/samples-dev/cachesList.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/cachesList.js +43 -0
  43. package/dist-esm/samples-dev/cachesList.js.map +1 -0
  44. package/dist-esm/samples-dev/cachesListByResourceGroup.d.ts +2 -0
  45. package/dist-esm/samples-dev/cachesListByResourceGroup.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/cachesListByResourceGroup.js +44 -0
  47. package/dist-esm/samples-dev/cachesListByResourceGroup.js.map +1 -0
  48. package/dist-esm/samples-dev/cachesStart.d.ts +2 -0
  49. package/dist-esm/samples-dev/cachesStart.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/cachesStart.js +31 -0
  51. package/dist-esm/samples-dev/cachesStart.js.map +1 -0
  52. package/dist-esm/samples-dev/cachesStop.d.ts +2 -0
  53. package/dist-esm/samples-dev/cachesStop.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/cachesStop.js +31 -0
  55. package/dist-esm/samples-dev/cachesStop.js.map +1 -0
  56. package/dist-esm/samples-dev/cachesUpdate.d.ts +2 -0
  57. package/dist-esm/samples-dev/cachesUpdate.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/cachesUpdate.js +101 -0
  59. package/dist-esm/samples-dev/cachesUpdate.js.map +1 -0
  60. package/dist-esm/samples-dev/cachesUpdateLdapOnly.d.ts +2 -0
  61. package/dist-esm/samples-dev/cachesUpdateLdapOnly.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/cachesUpdateLdapOnly.js +103 -0
  63. package/dist-esm/samples-dev/cachesUpdateLdapOnly.js.map +1 -0
  64. package/dist-esm/samples-dev/cachesUpgradeFirmware.d.ts +2 -0
  65. package/dist-esm/samples-dev/cachesUpgradeFirmware.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/cachesUpgradeFirmware.js +31 -0
  67. package/dist-esm/samples-dev/cachesUpgradeFirmware.js.map +1 -0
  68. package/dist-esm/samples-dev/skusList.d.ts +2 -0
  69. package/dist-esm/samples-dev/skusList.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/skusList.js +43 -0
  71. package/dist-esm/samples-dev/skusList.js.map +1 -0
  72. package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.d.ts +2 -0
  73. package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.js +51 -0
  75. package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.js.map +1 -0
  76. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.d.ts +2 -0
  77. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.js +41 -0
  79. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.js.map +1 -0
  80. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.d.ts +2 -0
  81. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.js +37 -0
  83. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.js.map +1 -0
  84. package/dist-esm/samples-dev/storageTargetsDelete.d.ts +2 -0
  85. package/dist-esm/samples-dev/storageTargetsDelete.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/storageTargetsDelete.js +32 -0
  87. package/dist-esm/samples-dev/storageTargetsDelete.js.map +1 -0
  88. package/dist-esm/samples-dev/storageTargetsFlush.d.ts +2 -0
  89. package/dist-esm/samples-dev/storageTargetsFlush.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/storageTargetsFlush.js +32 -0
  91. package/dist-esm/samples-dev/storageTargetsFlush.js.map +1 -0
  92. package/dist-esm/samples-dev/storageTargetsGet.d.ts +2 -0
  93. package/dist-esm/samples-dev/storageTargetsGet.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/storageTargetsGet.js +32 -0
  95. package/dist-esm/samples-dev/storageTargetsGet.js.map +1 -0
  96. package/dist-esm/samples-dev/storageTargetsList.d.ts +2 -0
  97. package/dist-esm/samples-dev/storageTargetsList.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/storageTargetsList.js +45 -0
  99. package/dist-esm/samples-dev/storageTargetsList.js.map +1 -0
  100. package/dist-esm/samples-dev/storageTargetsResume.d.ts +2 -0
  101. package/dist-esm/samples-dev/storageTargetsResume.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/storageTargetsResume.js +32 -0
  103. package/dist-esm/samples-dev/storageTargetsResume.js.map +1 -0
  104. package/dist-esm/samples-dev/storageTargetsSuspend.d.ts +2 -0
  105. package/dist-esm/samples-dev/storageTargetsSuspend.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/storageTargetsSuspend.js +32 -0
  107. package/dist-esm/samples-dev/storageTargetsSuspend.js.map +1 -0
  108. package/dist-esm/samples-dev/usageModelsList.d.ts +2 -0
  109. package/dist-esm/samples-dev/usageModelsList.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/usageModelsList.js +43 -0
  111. package/dist-esm/samples-dev/usageModelsList.js.map +1 -0
  112. package/dist-esm/src/index.d.ts +5 -0
  113. package/dist-esm/src/index.d.ts.map +1 -0
  114. package/{esm/models/ascOperationsMappers.js → dist-esm/src/index.js} +5 -2
  115. package/dist-esm/src/index.js.map +1 -0
  116. package/dist-esm/src/lroImpl.d.ts +16 -0
  117. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  118. package/dist-esm/src/lroImpl.js +29 -0
  119. package/dist-esm/src/lroImpl.js.map +1 -0
  120. package/dist-esm/src/models/index.d.ts +1030 -0
  121. package/dist-esm/src/models/index.d.ts.map +1 -0
  122. package/dist-esm/src/models/index.js +114 -0
  123. package/dist-esm/src/models/index.js.map +1 -0
  124. package/dist-esm/src/models/mappers.d.ts +49 -0
  125. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  126. package/{esm → dist-esm/src}/models/mappers.js +848 -893
  127. package/dist-esm/src/models/mappers.js.map +1 -0
  128. package/dist-esm/src/models/parameters.d.ts +16 -0
  129. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  130. package/{esm → dist-esm/src}/models/parameters.js +71 -42
  131. package/dist-esm/src/models/parameters.js.map +1 -0
  132. package/dist-esm/src/operations/ascOperations.d.ts +20 -0
  133. package/dist-esm/src/operations/ascOperations.d.ts.map +1 -0
  134. package/dist-esm/src/operations/ascOperations.js +53 -0
  135. package/dist-esm/src/operations/ascOperations.js.map +1 -0
  136. package/dist-esm/src/operations/caches.d.ts +184 -0
  137. package/dist-esm/src/operations/caches.d.ts.map +1 -0
  138. package/dist-esm/src/operations/caches.js +825 -0
  139. package/dist-esm/src/operations/caches.js.map +1 -0
  140. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  141. package/dist-esm/src/operations/index.d.ts.map +1 -0
  142. package/{esm → dist-esm/src}/operations/index.js +1 -2
  143. package/dist-esm/src/operations/index.js.map +1 -0
  144. package/dist-esm/src/operations/operations.d.ts +32 -0
  145. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  146. package/dist-esm/src/operations/operations.js +120 -0
  147. package/dist-esm/src/operations/operations.js.map +1 -0
  148. package/dist-esm/src/operations/skus.d.ts +32 -0
  149. package/dist-esm/src/operations/skus.d.ts.map +1 -0
  150. package/dist-esm/src/operations/skus.js +124 -0
  151. package/dist-esm/src/operations/skus.js.map +1 -0
  152. package/dist-esm/src/operations/storageTargetOperations.d.ts +70 -0
  153. package/dist-esm/src/operations/storageTargetOperations.d.ts.map +1 -0
  154. package/dist-esm/src/operations/storageTargetOperations.js +259 -0
  155. package/dist-esm/src/operations/storageTargetOperations.js.map +1 -0
  156. package/dist-esm/src/operations/storageTargets.d.ts +115 -0
  157. package/dist-esm/src/operations/storageTargets.d.ts.map +1 -0
  158. package/dist-esm/src/operations/storageTargets.js +424 -0
  159. package/dist-esm/src/operations/storageTargets.js.map +1 -0
  160. package/dist-esm/src/operations/usageModels.d.ts +32 -0
  161. package/dist-esm/src/operations/usageModels.d.ts.map +1 -0
  162. package/dist-esm/src/operations/usageModels.js +124 -0
  163. package/dist-esm/src/operations/usageModels.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/ascOperations.d.ts +12 -0
  165. package/dist-esm/src/operationsInterfaces/ascOperations.d.ts.map +1 -0
  166. package/{src/models/ascOperationsMappers.ts → dist-esm/src/operationsInterfaces/ascOperations.js} +2 -6
  167. package/dist-esm/src/operationsInterfaces/ascOperations.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/caches.d.ts +148 -0
  169. package/dist-esm/src/operationsInterfaces/caches.d.ts.map +1 -0
  170. package/{src/models/storageTargetOperationsMappers.ts → dist-esm/src/operationsInterfaces/caches.js} +2 -4
  171. package/dist-esm/src/operationsInterfaces/caches.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  173. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  175. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  177. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  178. package/{esm/models/storageTargetOperationsMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
  179. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
  181. package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
  182. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/skus.js} +2 -1
  183. package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/storageTargetOperations.d.ts +62 -0
  185. package/dist-esm/src/operationsInterfaces/storageTargetOperations.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/storageTargetOperations.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/storageTargetOperations.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/storageTargets.d.ts +88 -0
  189. package/dist-esm/src/operationsInterfaces/storageTargets.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/storageTargets.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/storageTargets.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/usageModels.d.ts +11 -0
  193. package/dist-esm/src/operationsInterfaces/usageModels.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/usageModels.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/usageModels.js.map +1 -0
  196. package/dist-esm/src/storageCacheManagementClient.d.ts +25 -0
  197. package/dist-esm/src/storageCacheManagementClient.d.ts.map +1 -0
  198. package/dist-esm/src/storageCacheManagementClient.js +58 -0
  199. package/dist-esm/src/storageCacheManagementClient.js.map +1 -0
  200. package/dist-esm/test/sampleTest.d.ts +2 -0
  201. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  202. package/dist-esm/test/sampleTest.js +40 -0
  203. package/dist-esm/test/sampleTest.js.map +1 -0
  204. package/package.json +80 -33
  205. package/review/arm-storagecache.api.md +883 -0
  206. package/rollup.config.js +181 -30
  207. package/src/{models/skusMappers.ts → index.ts} +4 -8
  208. package/src/lroImpl.ts +34 -0
  209. package/src/models/index.ts +819 -1303
  210. package/src/models/mappers.ts +856 -900
  211. package/src/models/parameters.ts +92 -43
  212. package/src/operations/ascOperations.ts +37 -51
  213. package/src/operations/caches.ts +844 -504
  214. package/src/operations/index.ts +1 -2
  215. package/src/operations/operations.ts +85 -73
  216. package/src/operations/skus.ts +87 -76
  217. package/src/operations/storageTargetOperations.ts +284 -124
  218. package/src/operations/storageTargets.ts +458 -271
  219. package/src/operations/usageModels.ts +90 -76
  220. package/src/operationsInterfaces/ascOperations.ts +27 -0
  221. package/src/operationsInterfaces/caches.ts +245 -0
  222. package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +7 -9
  223. package/src/operationsInterfaces/operations.ts +22 -0
  224. package/src/operationsInterfaces/skus.ts +22 -0
  225. package/src/operationsInterfaces/storageTargetOperations.ts +104 -0
  226. package/src/operationsInterfaces/storageTargets.ts +150 -0
  227. package/src/operationsInterfaces/usageModels.ts +22 -0
  228. package/src/storageCacheManagementClient.ts +90 -46
  229. package/tsconfig.json +5 -4
  230. package/types/arm-storagecache.d.ts +1507 -0
  231. package/types/tsdoc-metadata.json +11 -0
  232. package/dist/arm-storagecache.js +0 -3545
  233. package/dist/arm-storagecache.js.map +0 -1
  234. package/dist/arm-storagecache.min.js +0 -1
  235. package/dist/arm-storagecache.min.js.map +0 -1
  236. package/esm/models/ascOperationsMappers.d.ts +0 -2
  237. package/esm/models/ascOperationsMappers.d.ts.map +0 -1
  238. package/esm/models/ascOperationsMappers.js.map +0 -1
  239. package/esm/models/cachesMappers.d.ts +0 -2
  240. package/esm/models/cachesMappers.d.ts.map +0 -1
  241. package/esm/models/cachesMappers.js +0 -9
  242. package/esm/models/cachesMappers.js.map +0 -1
  243. package/esm/models/index.d.ts +0 -1541
  244. package/esm/models/index.d.ts.map +0 -1
  245. package/esm/models/index.js.map +0 -1
  246. package/esm/models/mappers.d.ts +0 -50
  247. package/esm/models/mappers.d.ts.map +0 -1
  248. package/esm/models/mappers.js.map +0 -1
  249. package/esm/models/operationsMappers.d.ts +0 -2
  250. package/esm/models/operationsMappers.d.ts.map +0 -1
  251. package/esm/models/operationsMappers.js +0 -9
  252. package/esm/models/operationsMappers.js.map +0 -1
  253. package/esm/models/parameters.d.ts +0 -12
  254. package/esm/models/parameters.d.ts.map +0 -1
  255. package/esm/models/parameters.js.map +0 -1
  256. package/esm/models/skusMappers.d.ts +0 -2
  257. package/esm/models/skusMappers.d.ts.map +0 -1
  258. package/esm/models/skusMappers.js +0 -9
  259. package/esm/models/skusMappers.js.map +0 -1
  260. package/esm/models/storageTargetOperationsMappers.d.ts +0 -2
  261. package/esm/models/storageTargetOperationsMappers.d.ts.map +0 -1
  262. package/esm/models/storageTargetOperationsMappers.js.map +0 -1
  263. package/esm/models/storageTargetsMappers.d.ts +0 -2
  264. package/esm/models/storageTargetsMappers.d.ts.map +0 -1
  265. package/esm/models/storageTargetsMappers.js +0 -9
  266. package/esm/models/storageTargetsMappers.js.map +0 -1
  267. package/esm/models/usageModelsMappers.d.ts +0 -2
  268. package/esm/models/usageModelsMappers.d.ts.map +0 -1
  269. package/esm/models/usageModelsMappers.js +0 -9
  270. package/esm/models/usageModelsMappers.js.map +0 -1
  271. package/esm/operations/ascOperations.d.ts +0 -34
  272. package/esm/operations/ascOperations.d.ts.map +0 -1
  273. package/esm/operations/ascOperations.js +0 -57
  274. package/esm/operations/ascOperations.js.map +0 -1
  275. package/esm/operations/caches.d.ts +0 -261
  276. package/esm/operations/caches.d.ts.map +0 -1
  277. package/esm/operations/caches.js +0 -581
  278. package/esm/operations/caches.js.map +0 -1
  279. package/esm/operations/index.d.ts.map +0 -1
  280. package/esm/operations/index.js.map +0 -1
  281. package/esm/operations/operations.d.ts +0 -46
  282. package/esm/operations/operations.d.ts.map +0 -1
  283. package/esm/operations/operations.js +0 -79
  284. package/esm/operations/operations.js.map +0 -1
  285. package/esm/operations/skus.d.ts +0 -46
  286. package/esm/operations/skus.d.ts.map +0 -1
  287. package/esm/operations/skus.js +0 -82
  288. package/esm/operations/skus.js.map +0 -1
  289. package/esm/operations/storageTargetOperations.d.ts +0 -75
  290. package/esm/operations/storageTargetOperations.d.ts.map +0 -1
  291. package/esm/operations/storageTargetOperations.js +0 -193
  292. package/esm/operations/storageTargetOperations.js.map +0 -1
  293. package/esm/operations/storageTargets.d.ts +0 -153
  294. package/esm/operations/storageTargets.d.ts.map +0 -1
  295. package/esm/operations/storageTargets.js +0 -305
  296. package/esm/operations/storageTargets.js.map +0 -1
  297. package/esm/operations/usageModels.d.ts +0 -46
  298. package/esm/operations/usageModels.d.ts.map +0 -1
  299. package/esm/operations/usageModels.js +0 -82
  300. package/esm/operations/usageModels.js.map +0 -1
  301. package/esm/storageCacheManagementClient.d.ts +0 -31
  302. package/esm/storageCacheManagementClient.d.ts.map +0 -1
  303. package/esm/storageCacheManagementClient.js +0 -44
  304. package/esm/storageCacheManagementClient.js.map +0 -1
  305. package/esm/storageCacheManagementClientContext.d.ts +0 -23
  306. package/esm/storageCacheManagementClientContext.d.ts.map +0 -1
  307. package/esm/storageCacheManagementClientContext.js +0 -61
  308. package/esm/storageCacheManagementClientContext.js.map +0 -1
  309. package/src/models/cachesMappers.ts +0 -40
  310. package/src/models/storageTargetsMappers.ts +0 -40
  311. package/src/models/usageModelsMappers.ts +0 -14
  312. package/src/storageCacheManagementClientContext.ts +0 -68
@@ -0,0 +1,1030 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results. */
3
+ export interface ApiOperationListResult {
4
+ /** URL to get the next set of operation list results if there are any. */
5
+ nextLink?: string;
6
+ /** List of Resource Provider operations supported by the Microsoft.StorageCache resource provider. */
7
+ value?: ApiOperation[];
8
+ }
9
+ /** REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation */
10
+ export interface ApiOperation {
11
+ /** The object that represents the operation. */
12
+ display?: ApiOperationDisplay;
13
+ /** Origin of the operation. */
14
+ origin?: string;
15
+ /** The flag that indicates whether the operation applies to data plane. */
16
+ isDataAction?: boolean;
17
+ /** Operation name: {provider}/{resource}/{operation} */
18
+ name?: string;
19
+ /** Specification of the all the metrics provided for a resource type. */
20
+ serviceSpecification?: ApiOperationPropertiesServiceSpecification;
21
+ }
22
+ /** The object that represents the operation. */
23
+ export interface ApiOperationDisplay {
24
+ /** Operation type: Read, write, delete, etc. */
25
+ operation?: string;
26
+ /** Service provider: Microsoft.StorageCache */
27
+ provider?: string;
28
+ /** Resource on which the operation is performed: Cache, etc. */
29
+ resource?: string;
30
+ /** The description of the operation */
31
+ description?: string;
32
+ }
33
+ /** Specification of the all the metrics provided for a resource type. */
34
+ export interface ApiOperationPropertiesServiceSpecification {
35
+ /** Details about operations related to metrics. */
36
+ metricSpecifications?: MetricSpecification[];
37
+ }
38
+ /** Details about operation related to metrics. */
39
+ export interface MetricSpecification {
40
+ /** The name of the metric. */
41
+ name?: string;
42
+ /** Localized display name of the metric. */
43
+ displayName?: string;
44
+ /** The description of the metric. */
45
+ displayDescription?: string;
46
+ /** The unit that the metric is measured in. */
47
+ unit?: string;
48
+ /** The type of metric aggregation. */
49
+ aggregationType?: string;
50
+ /** Support metric aggregation type. */
51
+ supportedAggregationTypes?: MetricAggregationType[];
52
+ /** Type of metrics. */
53
+ metricClass?: string;
54
+ /** Dimensions of the metric */
55
+ dimensions?: MetricDimension[];
56
+ }
57
+ /** Specifications of the Dimension of metrics. */
58
+ export interface MetricDimension {
59
+ /** Name of the dimension */
60
+ name?: string;
61
+ /** Localized friendly display name of the dimension */
62
+ displayName?: string;
63
+ /** Internal name of the dimension. */
64
+ internalName?: string;
65
+ /** To be exported to shoe box. */
66
+ toBeExportedForShoebox?: boolean;
67
+ }
68
+ /** An error response. */
69
+ export interface CloudError {
70
+ /** The body of the error. */
71
+ error?: CloudErrorBody;
72
+ }
73
+ /** An error response. */
74
+ export interface CloudErrorBody {
75
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
76
+ code?: string;
77
+ /** A list of additional details about the error. */
78
+ details?: CloudErrorBody[];
79
+ /** A message describing the error, intended to be suitable for display in a user interface. */
80
+ message?: string;
81
+ /** The target of the particular error. For example, the name of the property in error. */
82
+ target?: string;
83
+ }
84
+ /** The response from the List Cache SKUs operation. */
85
+ export interface ResourceSkusResult {
86
+ /** The URI to fetch the next page of Cache SKUs. */
87
+ nextLink?: string;
88
+ /**
89
+ * The list of SKUs available for the subscription.
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly value?: ResourceSku[];
93
+ }
94
+ /** A resource SKU. */
95
+ export interface ResourceSku {
96
+ /**
97
+ * The type of resource the SKU applies to.
98
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
+ */
100
+ readonly resourceType?: string;
101
+ /** A list of capabilities of this SKU, such as throughput or ops/sec. */
102
+ capabilities?: ResourceSkuCapabilities[];
103
+ /**
104
+ * The set of locations where the SKU is available. This is the supported and registered Azure Geo Regions (e.g., West US, East US, Southeast Asia, etc.).
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly locations?: string[];
108
+ /** The set of locations where the SKU is available. */
109
+ locationInfo?: ResourceSkuLocationInfo[];
110
+ /** The name of this SKU. */
111
+ name?: string;
112
+ /** The restrictions preventing this SKU from being used. This is empty if there are no restrictions. */
113
+ restrictions?: Restriction[];
114
+ }
115
+ /** A resource SKU capability. */
116
+ export interface ResourceSkuCapabilities {
117
+ /** Name of a capability, such as ops/sec. */
118
+ name?: string;
119
+ /** Quantity, if the capability is measured by quantity. */
120
+ value?: string;
121
+ }
122
+ /** Resource SKU location information. */
123
+ export interface ResourceSkuLocationInfo {
124
+ /** Location where this SKU is available. */
125
+ location?: string;
126
+ /** Zones if any. */
127
+ zones?: string[];
128
+ }
129
+ /** The restrictions preventing this SKU from being used. */
130
+ export interface Restriction {
131
+ /**
132
+ * The type of restrictions. In this version, the only possible value for this is location.
133
+ * NOTE: This property will not be serialized. It can only be populated by the server.
134
+ */
135
+ readonly type?: string;
136
+ /**
137
+ * The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted.
138
+ * NOTE: This property will not be serialized. It can only be populated by the server.
139
+ */
140
+ readonly values?: string[];
141
+ /** The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". "QuotaId" is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. "NotAvailableForSubscription" is related to capacity at the datacenter. */
142
+ reasonCode?: ReasonCode;
143
+ }
144
+ /** A list of Cache usage models. */
145
+ export interface UsageModelsResult {
146
+ /** The URI to fetch the next page of Cache usage models. */
147
+ nextLink?: string;
148
+ /** The list of usage models available for the subscription. */
149
+ value?: UsageModel[];
150
+ }
151
+ /** A usage model. */
152
+ export interface UsageModel {
153
+ /** Localized information describing this usage model. */
154
+ display?: UsageModelDisplay;
155
+ /** Non-localized keyword name for this usage model. */
156
+ modelName?: string;
157
+ /** The type of Storage Target to which this model is applicable (only nfs3 as of this version). */
158
+ targetType?: string;
159
+ }
160
+ /** Localized information describing this usage model. */
161
+ export interface UsageModelDisplay {
162
+ /** String to display for this usage model. */
163
+ description?: string;
164
+ }
165
+ /** The status of operation. */
166
+ export interface AscOperation {
167
+ /** The operation Id. */
168
+ id?: string;
169
+ /** The operation name. */
170
+ name?: string;
171
+ /** The start time of the operation. */
172
+ startTime?: string;
173
+ /** The end time of the operation. */
174
+ endTime?: string;
175
+ /** The status of the operation. */
176
+ status?: string;
177
+ /** The error detail of the operation if any. */
178
+ error?: ErrorResponse;
179
+ /** Additional operation-specific output. */
180
+ output?: {
181
+ [propertyName: string]: Record<string, unknown>;
182
+ };
183
+ }
184
+ /** Describes the format of Error response. */
185
+ export interface ErrorResponse {
186
+ /** Error code */
187
+ code?: string;
188
+ /** Error message indicating why the operation failed. */
189
+ message?: string;
190
+ }
191
+ /** Result of the request to list Caches. It contains a list of Caches and a URL link to get the next set of results. */
192
+ export interface CachesListResult {
193
+ /** URL to get the next set of Cache list results, if there are any. */
194
+ nextLink?: string;
195
+ /** List of Caches. */
196
+ value?: Cache[];
197
+ }
198
+ /** A Cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md */
199
+ export interface Cache {
200
+ /** Resource tags. */
201
+ tags?: {
202
+ [propertyName: string]: string;
203
+ };
204
+ /**
205
+ * Resource ID of the Cache.
206
+ * NOTE: This property will not be serialized. It can only be populated by the server.
207
+ */
208
+ readonly id?: string;
209
+ /** Region name string. */
210
+ location?: string;
211
+ /**
212
+ * Name of Cache.
213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
+ */
215
+ readonly name?: string;
216
+ /**
217
+ * Type of the Cache; Microsoft.StorageCache/Cache
218
+ * NOTE: This property will not be serialized. It can only be populated by the server.
219
+ */
220
+ readonly type?: string;
221
+ /** The identity of the cache, if configured. */
222
+ identity?: CacheIdentity;
223
+ /**
224
+ * The system meta data relating to this resource.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly systemData?: SystemData;
228
+ /** SKU for the Cache. */
229
+ sku?: CacheSku;
230
+ /** The size of this Cache, in GB. */
231
+ cacheSizeGB?: number;
232
+ /**
233
+ * Health of the Cache.
234
+ * NOTE: This property will not be serialized. It can only be populated by the server.
235
+ */
236
+ readonly health?: CacheHealth;
237
+ /**
238
+ * Array of IP addresses that can be used by clients mounting this Cache.
239
+ * NOTE: This property will not be serialized. It can only be populated by the server.
240
+ */
241
+ readonly mountAddresses?: string[];
242
+ /**
243
+ * ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
245
+ */
246
+ readonly provisioningState?: ProvisioningStateType;
247
+ /** Subnet used for the Cache. */
248
+ subnet?: string;
249
+ /**
250
+ * Upgrade status of the Cache.
251
+ * NOTE: This property will not be serialized. It can only be populated by the server.
252
+ */
253
+ readonly upgradeStatus?: CacheUpgradeStatus;
254
+ /** Specifies network settings of the cache. */
255
+ networkSettings?: CacheNetworkSettings;
256
+ /** Specifies encryption settings of the cache. */
257
+ encryptionSettings?: CacheEncryptionSettings;
258
+ /** Specifies security settings of the cache. */
259
+ securitySettings?: CacheSecuritySettings;
260
+ /** Specifies Directory Services settings of the cache. */
261
+ directoryServicesSettings?: CacheDirectorySettings;
262
+ }
263
+ /** Cache identity properties. */
264
+ export interface CacheIdentity {
265
+ /**
266
+ * The principal ID for the system-assigned identity of the cache.
267
+ * NOTE: This property will not be serialized. It can only be populated by the server.
268
+ */
269
+ readonly principalId?: string;
270
+ /**
271
+ * The tenant ID associated with the cache.
272
+ * NOTE: This property will not be serialized. It can only be populated by the server.
273
+ */
274
+ readonly tenantId?: string;
275
+ /** The type of identity used for the cache */
276
+ type?: CacheIdentityType;
277
+ /** A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary. */
278
+ userAssignedIdentities?: {
279
+ [propertyName: string]: UserAssignedIdentitiesValue;
280
+ };
281
+ }
282
+ export interface UserAssignedIdentitiesValue {
283
+ /**
284
+ * The principal ID of the user-assigned identity.
285
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
+ */
287
+ readonly principalId?: string;
288
+ /**
289
+ * The client ID of the user-assigned identity.
290
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
+ */
292
+ readonly clientId?: string;
293
+ }
294
+ /** Metadata pertaining to creation and last modification of the resource. */
295
+ export interface SystemData {
296
+ /** The identity that created the resource. */
297
+ createdBy?: string;
298
+ /** The type of identity that created the resource. */
299
+ createdByType?: CreatedByType;
300
+ /** The timestamp of resource creation (UTC). */
301
+ createdAt?: Date;
302
+ /** The identity that last modified the resource. */
303
+ lastModifiedBy?: string;
304
+ /** The type of identity that last modified the resource. */
305
+ lastModifiedByType?: CreatedByType;
306
+ /** The timestamp of resource last modification (UTC) */
307
+ lastModifiedAt?: Date;
308
+ }
309
+ /** An indication of Cache health. Gives more information about health than just that related to provisioning. */
310
+ export interface CacheHealth {
311
+ /** List of Cache health states. */
312
+ state?: HealthStateType;
313
+ /** Describes explanation of state. */
314
+ statusDescription?: string;
315
+ /**
316
+ * Outstanding conditions that need to be investigated and resolved.
317
+ * NOTE: This property will not be serialized. It can only be populated by the server.
318
+ */
319
+ readonly conditions?: Condition[];
320
+ }
321
+ /** Outstanding conditions that will need to be resolved. */
322
+ export interface Condition {
323
+ /**
324
+ * The time when the condition was raised.
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
326
+ */
327
+ readonly timestamp?: Date;
328
+ /**
329
+ * The issue requiring attention.
330
+ * NOTE: This property will not be serialized. It can only be populated by the server.
331
+ */
332
+ readonly message?: string;
333
+ }
334
+ /** Properties describing the software upgrade state of the Cache. */
335
+ export interface CacheUpgradeStatus {
336
+ /**
337
+ * Version string of the firmware currently installed on this Cache.
338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
339
+ */
340
+ readonly currentFirmwareVersion?: string;
341
+ /**
342
+ * True if there is a firmware update ready to install on this Cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.
343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
344
+ */
345
+ readonly firmwareUpdateStatus?: FirmwareStatusType;
346
+ /**
347
+ * Time at which the pending firmware update will automatically be installed on the Cache.
348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
349
+ */
350
+ readonly firmwareUpdateDeadline?: Date;
351
+ /**
352
+ * Time of the last successful firmware update.
353
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
+ */
355
+ readonly lastFirmwareUpdate?: Date;
356
+ /**
357
+ * When firmwareUpdateAvailable is true, this field holds the version string for the update.
358
+ * NOTE: This property will not be serialized. It can only be populated by the server.
359
+ */
360
+ readonly pendingFirmwareVersion?: string;
361
+ }
362
+ /** Cache network settings. */
363
+ export interface CacheNetworkSettings {
364
+ /** The IPv4 maximum transmission unit configured for the subnet. */
365
+ mtu?: number;
366
+ /**
367
+ * Array of additional IP addresses used by this Cache.
368
+ * NOTE: This property will not be serialized. It can only be populated by the server.
369
+ */
370
+ readonly utilityAddresses?: string[];
371
+ /** DNS servers for the cache to use. It will be set from the network configuration if no value is provided. */
372
+ dnsServers?: string[];
373
+ /** DNS search domain */
374
+ dnsSearchDomain?: string;
375
+ /** NTP server IP Address or FQDN for the cache to use. The default is time.windows.com. */
376
+ ntpServer?: string;
377
+ }
378
+ /** Cache encryption settings. */
379
+ export interface CacheEncryptionSettings {
380
+ /** Specifies the location of the key encryption key in Key Vault. */
381
+ keyEncryptionKey?: KeyVaultKeyReference;
382
+ /** Specifies whether the service will automatically rotate to the newest version of the key in the Key Vault. */
383
+ rotationToLatestKeyVersionEnabled?: boolean;
384
+ }
385
+ /** Describes a reference to Key Vault Key. */
386
+ export interface KeyVaultKeyReference {
387
+ /** The URL referencing a key encryption key in Key Vault. */
388
+ keyUrl: string;
389
+ /** Describes a resource Id to source Key Vault. */
390
+ sourceVault: KeyVaultKeyReferenceSourceVault;
391
+ }
392
+ /** Describes a resource Id to source Key Vault. */
393
+ export interface KeyVaultKeyReferenceSourceVault {
394
+ /** Resource Id. */
395
+ id?: string;
396
+ }
397
+ /** Cache security settings. */
398
+ export interface CacheSecuritySettings {
399
+ /** NFS access policies defined for this cache. */
400
+ accessPolicies?: NfsAccessPolicy[];
401
+ }
402
+ /** A set of rules describing access policies applied to NFSv3 clients of the cache. */
403
+ export interface NfsAccessPolicy {
404
+ /** Name identifying this policy. Access Policy names are not case sensitive. */
405
+ name: string;
406
+ /** The set of rules describing client accesses allowed under this policy. */
407
+ accessRules: NfsAccessRule[];
408
+ }
409
+ /** Rule to place restrictions on portions of the cache namespace being presented to clients. */
410
+ export interface NfsAccessRule {
411
+ /** Scope for this rule. The scope and filter determine which clients match the rule. */
412
+ scope: NfsAccessRuleScope;
413
+ /** Filter applied to the scope for this rule. The filter's format depends on its scope. 'default' scope matches all clients and has no filter value. 'network' scope takes a filter in CIDR format (for example, 10.99.1.0/24). 'host' takes an IP address or fully qualified domain name as filter. If a client does not match any filter rule and there is no default rule, access is denied. */
414
+ filter?: string;
415
+ /** Access allowed by this rule. */
416
+ access: NfsAccessRuleAccess;
417
+ /** Allow SUID semantics. */
418
+ suid?: boolean;
419
+ /** For the default policy, allow access to subdirectories under the root export. If this is set to no, clients can only mount the path '/'. If set to yes, clients can mount a deeper path, like '/a/b'. */
420
+ submountAccess?: boolean;
421
+ /** Map root accesses to anonymousUID and anonymousGID. */
422
+ rootSquash?: boolean;
423
+ /** UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided. */
424
+ anonymousUID?: string;
425
+ /** GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided. */
426
+ anonymousGID?: string;
427
+ }
428
+ /** Cache Directory Services settings. */
429
+ export interface CacheDirectorySettings {
430
+ /** Specifies settings for joining the HPC Cache to an Active Directory domain. */
431
+ activeDirectory?: CacheActiveDirectorySettings;
432
+ /** Specifies settings for Extended Groups. Extended Groups allows users to be members of more than 16 groups. */
433
+ usernameDownload?: CacheUsernameDownloadSettings;
434
+ }
435
+ /** Active Directory settings used to join a cache to a domain. */
436
+ export interface CacheActiveDirectorySettings {
437
+ /** Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name. */
438
+ primaryDnsIpAddress: string;
439
+ /** Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name. */
440
+ secondaryDnsIpAddress?: string;
441
+ /** The fully qualified domain name of the Active Directory domain controller. */
442
+ domainName: string;
443
+ /** The Active Directory domain's NetBIOS name. */
444
+ domainNetBiosName: string;
445
+ /** The NetBIOS name to assign to the HPC Cache when it joins the Active Directory domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z]. */
446
+ cacheNetBiosName: string;
447
+ /**
448
+ * True if the HPC Cache is joined to the Active Directory domain.
449
+ * NOTE: This property will not be serialized. It can only be populated by the server.
450
+ */
451
+ readonly domainJoined?: DomainJoinedType;
452
+ /** Active Directory admin credentials used to join the HPC Cache to a domain. */
453
+ credentials?: CacheActiveDirectorySettingsCredentials;
454
+ }
455
+ /** Active Directory admin credentials used to join the HPC Cache to a domain. */
456
+ export interface CacheActiveDirectorySettingsCredentials {
457
+ /** Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response. */
458
+ username: string;
459
+ /** Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response. */
460
+ password: string;
461
+ }
462
+ /** Settings for Extended Groups username and group download. */
463
+ export interface CacheUsernameDownloadSettings {
464
+ /** Whether or not Extended Groups is enabled. */
465
+ extendedGroups?: boolean;
466
+ /** This setting determines how the cache gets username and group names for clients. */
467
+ usernameSource?: UsernameSource;
468
+ /** The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'. */
469
+ groupFileURI?: string;
470
+ /** The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'. */
471
+ userFileURI?: string;
472
+ /** The fully qualified domain name or IP address of the LDAP server to use. */
473
+ ldapServer?: string;
474
+ /** The base distinguished name for the LDAP domain. */
475
+ ldapBaseDN?: string;
476
+ /** Whether or not the LDAP connection should be encrypted. */
477
+ encryptLdapConnection?: boolean;
478
+ /** Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided. */
479
+ requireValidCertificate?: boolean;
480
+ /** Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true. */
481
+ autoDownloadCertificate?: boolean;
482
+ /** The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true. */
483
+ caCertificateURI?: string;
484
+ /**
485
+ * Indicates whether or not the HPC Cache has performed the username download successfully.
486
+ * NOTE: This property will not be serialized. It can only be populated by the server.
487
+ */
488
+ readonly usernameDownloaded?: UsernameDownloadedType;
489
+ /** When present, these are the credentials for the secure LDAP connection. */
490
+ credentials?: CacheUsernameDownloadSettingsCredentials;
491
+ }
492
+ /** When present, these are the credentials for the secure LDAP connection. */
493
+ export interface CacheUsernameDownloadSettingsCredentials {
494
+ /** The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response. */
495
+ bindDn?: string;
496
+ /** The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response. */
497
+ bindPassword?: string;
498
+ }
499
+ /** SKU for the Cache. */
500
+ export interface CacheSku {
501
+ /** SKU name for this Cache. */
502
+ name?: string;
503
+ }
504
+ /** A list of Storage Targets. */
505
+ export interface StorageTargetsResult {
506
+ /** The URI to fetch the next page of Storage Targets. */
507
+ nextLink?: string;
508
+ /** The list of Storage Targets defined for the Cache. */
509
+ value?: StorageTarget[];
510
+ }
511
+ /** A namespace junction. */
512
+ export interface NamespaceJunction {
513
+ /** Namespace path on a Cache for a Storage Target. */
514
+ namespacePath?: string;
515
+ /** Path in Storage Target to which namespacePath points. */
516
+ targetPath?: string;
517
+ /** NFS export where targetPath exists. */
518
+ nfsExport?: string;
519
+ /** Name of the access policy applied to this junction. */
520
+ nfsAccessPolicy?: string;
521
+ }
522
+ /** Properties pertaining to the Nfs3Target */
523
+ export interface Nfs3Target {
524
+ /** IP address or host name of an NFSv3 host (e.g., 10.0.44.44). */
525
+ target?: string;
526
+ /** Identifies the StorageCache usage model to be used for this storage target. */
527
+ usageModel?: string;
528
+ }
529
+ /** Properties pertaining to the ClfsTarget */
530
+ export interface ClfsTarget {
531
+ /** Resource ID of storage container. */
532
+ target?: string;
533
+ }
534
+ /** Properties pertaining to the UnknownTarget */
535
+ export interface UnknownTarget {
536
+ /** Dictionary of string->string pairs containing information about the Storage Target. */
537
+ attributes?: {
538
+ [propertyName: string]: string;
539
+ };
540
+ }
541
+ /** Properties pertaining to the BlobNfsTarget. */
542
+ export interface BlobNfsTarget {
543
+ /** Resource ID of the storage container. */
544
+ target?: string;
545
+ /** Identifies the StorageCache usage model to be used for this storage target. */
546
+ usageModel?: string;
547
+ }
548
+ /** Resource used by a Cache. */
549
+ export interface StorageTargetResource {
550
+ /**
551
+ * Name of the Storage Target.
552
+ * NOTE: This property will not be serialized. It can only be populated by the server.
553
+ */
554
+ readonly name?: string;
555
+ /**
556
+ * Resource ID of the Storage Target.
557
+ * NOTE: This property will not be serialized. It can only be populated by the server.
558
+ */
559
+ readonly id?: string;
560
+ /**
561
+ * Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
563
+ */
564
+ readonly type?: string;
565
+ /**
566
+ * Region name string.
567
+ * NOTE: This property will not be serialized. It can only be populated by the server.
568
+ */
569
+ readonly location?: string;
570
+ /**
571
+ * The system meta data relating to this resource.
572
+ * NOTE: This property will not be serialized. It can only be populated by the server.
573
+ */
574
+ readonly systemData?: SystemData;
575
+ }
576
+ /** Type of the Storage Target. */
577
+ export declare type StorageTarget = StorageTargetResource & {
578
+ /** List of Cache namespace junctions to target for namespace associations. */
579
+ junctions?: NamespaceJunction[];
580
+ /** Type of the Storage Target. */
581
+ targetType?: StorageTargetType;
582
+ /**
583
+ * ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
584
+ * NOTE: This property will not be serialized. It can only be populated by the server.
585
+ */
586
+ readonly provisioningState?: ProvisioningStateType;
587
+ /** Storage target operational state. */
588
+ state?: OperationalStateType;
589
+ /** Properties when targetType is nfs3. */
590
+ nfs3?: Nfs3Target;
591
+ /** Properties when targetType is clfs. */
592
+ clfs?: ClfsTarget;
593
+ /** Properties when targetType is unknown. */
594
+ unknown?: UnknownTarget;
595
+ /** Properties when targetType is blobNfs. */
596
+ blobNfs?: BlobNfsTarget;
597
+ };
598
+ /** Known values of {@link MetricAggregationType} that the service accepts. */
599
+ export declare enum KnownMetricAggregationType {
600
+ NotSpecified = "NotSpecified",
601
+ None = "None",
602
+ Average = "Average",
603
+ Minimum = "Minimum",
604
+ Maximum = "Maximum",
605
+ Total = "Total",
606
+ Count = "Count"
607
+ }
608
+ /**
609
+ * Defines values for MetricAggregationType. \
610
+ * {@link KnownMetricAggregationType} can be used interchangeably with MetricAggregationType,
611
+ * this enum contains the known values that the service supports.
612
+ * ### Known values supported by the service
613
+ * **NotSpecified** \
614
+ * **None** \
615
+ * **Average** \
616
+ * **Minimum** \
617
+ * **Maximum** \
618
+ * **Total** \
619
+ * **Count**
620
+ */
621
+ export declare type MetricAggregationType = string;
622
+ /** Known values of {@link ReasonCode} that the service accepts. */
623
+ export declare enum KnownReasonCode {
624
+ QuotaId = "QuotaId",
625
+ NotAvailableForSubscription = "NotAvailableForSubscription"
626
+ }
627
+ /**
628
+ * Defines values for ReasonCode. \
629
+ * {@link KnownReasonCode} can be used interchangeably with ReasonCode,
630
+ * this enum contains the known values that the service supports.
631
+ * ### Known values supported by the service
632
+ * **QuotaId** \
633
+ * **NotAvailableForSubscription**
634
+ */
635
+ export declare type ReasonCode = string;
636
+ /** Known values of {@link CreatedByType} that the service accepts. */
637
+ export declare enum KnownCreatedByType {
638
+ User = "User",
639
+ Application = "Application",
640
+ ManagedIdentity = "ManagedIdentity",
641
+ Key = "Key"
642
+ }
643
+ /**
644
+ * Defines values for CreatedByType. \
645
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
646
+ * this enum contains the known values that the service supports.
647
+ * ### Known values supported by the service
648
+ * **User** \
649
+ * **Application** \
650
+ * **ManagedIdentity** \
651
+ * **Key**
652
+ */
653
+ export declare type CreatedByType = string;
654
+ /** Known values of {@link HealthStateType} that the service accepts. */
655
+ export declare enum KnownHealthStateType {
656
+ Unknown = "Unknown",
657
+ Healthy = "Healthy",
658
+ Degraded = "Degraded",
659
+ Down = "Down",
660
+ Transitioning = "Transitioning",
661
+ Stopping = "Stopping",
662
+ Stopped = "Stopped",
663
+ Upgrading = "Upgrading",
664
+ Flushing = "Flushing"
665
+ }
666
+ /**
667
+ * Defines values for HealthStateType. \
668
+ * {@link KnownHealthStateType} can be used interchangeably with HealthStateType,
669
+ * this enum contains the known values that the service supports.
670
+ * ### Known values supported by the service
671
+ * **Unknown** \
672
+ * **Healthy** \
673
+ * **Degraded** \
674
+ * **Down** \
675
+ * **Transitioning** \
676
+ * **Stopping** \
677
+ * **Stopped** \
678
+ * **Upgrading** \
679
+ * **Flushing**
680
+ */
681
+ export declare type HealthStateType = string;
682
+ /** Known values of {@link ProvisioningStateType} that the service accepts. */
683
+ export declare enum KnownProvisioningStateType {
684
+ Succeeded = "Succeeded",
685
+ Failed = "Failed",
686
+ Cancelled = "Cancelled",
687
+ Creating = "Creating",
688
+ Deleting = "Deleting",
689
+ Updating = "Updating"
690
+ }
691
+ /**
692
+ * Defines values for ProvisioningStateType. \
693
+ * {@link KnownProvisioningStateType} can be used interchangeably with ProvisioningStateType,
694
+ * this enum contains the known values that the service supports.
695
+ * ### Known values supported by the service
696
+ * **Succeeded** \
697
+ * **Failed** \
698
+ * **Cancelled** \
699
+ * **Creating** \
700
+ * **Deleting** \
701
+ * **Updating**
702
+ */
703
+ export declare type ProvisioningStateType = string;
704
+ /** Known values of {@link FirmwareStatusType} that the service accepts. */
705
+ export declare enum KnownFirmwareStatusType {
706
+ Available = "available",
707
+ Unavailable = "unavailable"
708
+ }
709
+ /**
710
+ * Defines values for FirmwareStatusType. \
711
+ * {@link KnownFirmwareStatusType} can be used interchangeably with FirmwareStatusType,
712
+ * this enum contains the known values that the service supports.
713
+ * ### Known values supported by the service
714
+ * **available** \
715
+ * **unavailable**
716
+ */
717
+ export declare type FirmwareStatusType = string;
718
+ /** Known values of {@link NfsAccessRuleScope} that the service accepts. */
719
+ export declare enum KnownNfsAccessRuleScope {
720
+ Default = "default",
721
+ Network = "network",
722
+ Host = "host"
723
+ }
724
+ /**
725
+ * Defines values for NfsAccessRuleScope. \
726
+ * {@link KnownNfsAccessRuleScope} can be used interchangeably with NfsAccessRuleScope,
727
+ * this enum contains the known values that the service supports.
728
+ * ### Known values supported by the service
729
+ * **default** \
730
+ * **network** \
731
+ * **host**
732
+ */
733
+ export declare type NfsAccessRuleScope = string;
734
+ /** Known values of {@link NfsAccessRuleAccess} that the service accepts. */
735
+ export declare enum KnownNfsAccessRuleAccess {
736
+ No = "no",
737
+ Ro = "ro",
738
+ Rw = "rw"
739
+ }
740
+ /**
741
+ * Defines values for NfsAccessRuleAccess. \
742
+ * {@link KnownNfsAccessRuleAccess} can be used interchangeably with NfsAccessRuleAccess,
743
+ * this enum contains the known values that the service supports.
744
+ * ### Known values supported by the service
745
+ * **no** \
746
+ * **ro** \
747
+ * **rw**
748
+ */
749
+ export declare type NfsAccessRuleAccess = string;
750
+ /** Known values of {@link DomainJoinedType} that the service accepts. */
751
+ export declare enum KnownDomainJoinedType {
752
+ Yes = "Yes",
753
+ No = "No",
754
+ Error = "Error"
755
+ }
756
+ /**
757
+ * Defines values for DomainJoinedType. \
758
+ * {@link KnownDomainJoinedType} can be used interchangeably with DomainJoinedType,
759
+ * this enum contains the known values that the service supports.
760
+ * ### Known values supported by the service
761
+ * **Yes** \
762
+ * **No** \
763
+ * **Error**
764
+ */
765
+ export declare type DomainJoinedType = string;
766
+ /** Known values of {@link UsernameSource} that the service accepts. */
767
+ export declare enum KnownUsernameSource {
768
+ AD = "AD",
769
+ Ldap = "LDAP",
770
+ File = "File",
771
+ None = "None"
772
+ }
773
+ /**
774
+ * Defines values for UsernameSource. \
775
+ * {@link KnownUsernameSource} can be used interchangeably with UsernameSource,
776
+ * this enum contains the known values that the service supports.
777
+ * ### Known values supported by the service
778
+ * **AD** \
779
+ * **LDAP** \
780
+ * **File** \
781
+ * **None**
782
+ */
783
+ export declare type UsernameSource = string;
784
+ /** Known values of {@link UsernameDownloadedType} that the service accepts. */
785
+ export declare enum KnownUsernameDownloadedType {
786
+ Yes = "Yes",
787
+ No = "No",
788
+ Error = "Error"
789
+ }
790
+ /**
791
+ * Defines values for UsernameDownloadedType. \
792
+ * {@link KnownUsernameDownloadedType} can be used interchangeably with UsernameDownloadedType,
793
+ * this enum contains the known values that the service supports.
794
+ * ### Known values supported by the service
795
+ * **Yes** \
796
+ * **No** \
797
+ * **Error**
798
+ */
799
+ export declare type UsernameDownloadedType = string;
800
+ /** Known values of {@link StorageTargetType} that the service accepts. */
801
+ export declare enum KnownStorageTargetType {
802
+ Nfs3 = "nfs3",
803
+ Clfs = "clfs",
804
+ Unknown = "unknown",
805
+ BlobNfs = "blobNfs"
806
+ }
807
+ /**
808
+ * Defines values for StorageTargetType. \
809
+ * {@link KnownStorageTargetType} can be used interchangeably with StorageTargetType,
810
+ * this enum contains the known values that the service supports.
811
+ * ### Known values supported by the service
812
+ * **nfs3** \
813
+ * **clfs** \
814
+ * **unknown** \
815
+ * **blobNfs**
816
+ */
817
+ export declare type StorageTargetType = string;
818
+ /** Known values of {@link OperationalStateType} that the service accepts. */
819
+ export declare enum KnownOperationalStateType {
820
+ Ready = "Ready",
821
+ Busy = "Busy",
822
+ Suspended = "Suspended",
823
+ Flushing = "Flushing"
824
+ }
825
+ /**
826
+ * Defines values for OperationalStateType. \
827
+ * {@link KnownOperationalStateType} can be used interchangeably with OperationalStateType,
828
+ * this enum contains the known values that the service supports.
829
+ * ### Known values supported by the service
830
+ * **Ready** \
831
+ * **Busy** \
832
+ * **Suspended** \
833
+ * **Flushing**
834
+ */
835
+ export declare type OperationalStateType = string;
836
+ /** Defines values for CacheIdentityType. */
837
+ export declare type CacheIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
838
+ /** Optional parameters. */
839
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
840
+ }
841
+ /** Contains response data for the list operation. */
842
+ export declare type OperationsListResponse = ApiOperationListResult;
843
+ /** Optional parameters. */
844
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
845
+ }
846
+ /** Contains response data for the listNext operation. */
847
+ export declare type OperationsListNextResponse = ApiOperationListResult;
848
+ /** Optional parameters. */
849
+ export interface SkusListOptionalParams extends coreClient.OperationOptions {
850
+ }
851
+ /** Contains response data for the list operation. */
852
+ export declare type SkusListResponse = ResourceSkusResult;
853
+ /** Optional parameters. */
854
+ export interface SkusListNextOptionalParams extends coreClient.OperationOptions {
855
+ }
856
+ /** Contains response data for the listNext operation. */
857
+ export declare type SkusListNextResponse = ResourceSkusResult;
858
+ /** Optional parameters. */
859
+ export interface UsageModelsListOptionalParams extends coreClient.OperationOptions {
860
+ }
861
+ /** Contains response data for the list operation. */
862
+ export declare type UsageModelsListResponse = UsageModelsResult;
863
+ /** Optional parameters. */
864
+ export interface UsageModelsListNextOptionalParams extends coreClient.OperationOptions {
865
+ }
866
+ /** Contains response data for the listNext operation. */
867
+ export declare type UsageModelsListNextResponse = UsageModelsResult;
868
+ /** Optional parameters. */
869
+ export interface AscOperationsGetOptionalParams extends coreClient.OperationOptions {
870
+ }
871
+ /** Contains response data for the get operation. */
872
+ export declare type AscOperationsGetResponse = AscOperation;
873
+ /** Optional parameters. */
874
+ export interface CachesListOptionalParams extends coreClient.OperationOptions {
875
+ }
876
+ /** Contains response data for the list operation. */
877
+ export declare type CachesListResponse = CachesListResult;
878
+ /** Optional parameters. */
879
+ export interface CachesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
880
+ }
881
+ /** Contains response data for the listByResourceGroup operation. */
882
+ export declare type CachesListByResourceGroupResponse = CachesListResult;
883
+ /** Optional parameters. */
884
+ export interface CachesDeleteOptionalParams extends coreClient.OperationOptions {
885
+ /** Delay to wait until next poll, in milliseconds. */
886
+ updateIntervalInMs?: number;
887
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
888
+ resumeFrom?: string;
889
+ }
890
+ /** Optional parameters. */
891
+ export interface CachesGetOptionalParams extends coreClient.OperationOptions {
892
+ }
893
+ /** Contains response data for the get operation. */
894
+ export declare type CachesGetResponse = Cache;
895
+ /** Optional parameters. */
896
+ export interface CachesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
897
+ /** Object containing the user-selectable properties of the new Cache. If read-only properties are included, they must match the existing values of those properties. */
898
+ cache?: Cache;
899
+ /** Delay to wait until next poll, in milliseconds. */
900
+ updateIntervalInMs?: number;
901
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
902
+ resumeFrom?: string;
903
+ }
904
+ /** Contains response data for the createOrUpdate operation. */
905
+ export declare type CachesCreateOrUpdateResponse = Cache;
906
+ /** Optional parameters. */
907
+ export interface CachesUpdateOptionalParams extends coreClient.OperationOptions {
908
+ /** Object containing the user-selectable properties of the Cache. If read-only properties are included, they must match the existing values of those properties. */
909
+ cache?: Cache;
910
+ }
911
+ /** Contains response data for the update operation. */
912
+ export declare type CachesUpdateResponse = Cache;
913
+ /** Optional parameters. */
914
+ export interface CachesDebugInfoOptionalParams extends coreClient.OperationOptions {
915
+ /** Delay to wait until next poll, in milliseconds. */
916
+ updateIntervalInMs?: number;
917
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
918
+ resumeFrom?: string;
919
+ }
920
+ /** Optional parameters. */
921
+ export interface CachesFlushOptionalParams extends coreClient.OperationOptions {
922
+ /** Delay to wait until next poll, in milliseconds. */
923
+ updateIntervalInMs?: number;
924
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
925
+ resumeFrom?: string;
926
+ }
927
+ /** Optional parameters. */
928
+ export interface CachesStartOptionalParams extends coreClient.OperationOptions {
929
+ /** Delay to wait until next poll, in milliseconds. */
930
+ updateIntervalInMs?: number;
931
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
932
+ resumeFrom?: string;
933
+ }
934
+ /** Optional parameters. */
935
+ export interface CachesStopOptionalParams extends coreClient.OperationOptions {
936
+ /** Delay to wait until next poll, in milliseconds. */
937
+ updateIntervalInMs?: number;
938
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
939
+ resumeFrom?: string;
940
+ }
941
+ /** Optional parameters. */
942
+ export interface CachesUpgradeFirmwareOptionalParams extends coreClient.OperationOptions {
943
+ /** Delay to wait until next poll, in milliseconds. */
944
+ updateIntervalInMs?: number;
945
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
946
+ resumeFrom?: string;
947
+ }
948
+ /** Optional parameters. */
949
+ export interface CachesListNextOptionalParams extends coreClient.OperationOptions {
950
+ }
951
+ /** Contains response data for the listNext operation. */
952
+ export declare type CachesListNextResponse = CachesListResult;
953
+ /** Optional parameters. */
954
+ export interface CachesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
955
+ }
956
+ /** Contains response data for the listByResourceGroupNext operation. */
957
+ export declare type CachesListByResourceGroupNextResponse = CachesListResult;
958
+ /** Optional parameters. */
959
+ export interface StorageTargetsDnsRefreshOptionalParams extends coreClient.OperationOptions {
960
+ /** Delay to wait until next poll, in milliseconds. */
961
+ updateIntervalInMs?: number;
962
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
963
+ resumeFrom?: string;
964
+ }
965
+ /** Optional parameters. */
966
+ export interface StorageTargetsListByCacheOptionalParams extends coreClient.OperationOptions {
967
+ }
968
+ /** Contains response data for the listByCache operation. */
969
+ export declare type StorageTargetsListByCacheResponse = StorageTargetsResult;
970
+ /** Optional parameters. */
971
+ export interface StorageTargetsDeleteOptionalParams extends coreClient.OperationOptions {
972
+ /** 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. */
973
+ force?: string;
974
+ /** Delay to wait until next poll, in milliseconds. */
975
+ updateIntervalInMs?: number;
976
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
977
+ resumeFrom?: string;
978
+ }
979
+ /** Optional parameters. */
980
+ export interface StorageTargetsGetOptionalParams extends coreClient.OperationOptions {
981
+ }
982
+ /** Contains response data for the get operation. */
983
+ export declare type StorageTargetsGetResponse = StorageTarget;
984
+ /** Optional parameters. */
985
+ export interface StorageTargetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
986
+ /** Object containing the definition of a Storage Target. */
987
+ storagetarget?: StorageTarget;
988
+ /** Delay to wait until next poll, in milliseconds. */
989
+ updateIntervalInMs?: number;
990
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
991
+ resumeFrom?: string;
992
+ }
993
+ /** Contains response data for the createOrUpdate operation. */
994
+ export declare type StorageTargetsCreateOrUpdateResponse = StorageTarget;
995
+ /** Optional parameters. */
996
+ export interface StorageTargetsListByCacheNextOptionalParams extends coreClient.OperationOptions {
997
+ }
998
+ /** Contains response data for the listByCacheNext operation. */
999
+ export declare type StorageTargetsListByCacheNextResponse = StorageTargetsResult;
1000
+ /** Optional parameters. */
1001
+ export interface StorageTargetFlushOptionalParams extends coreClient.OperationOptions {
1002
+ /** Delay to wait until next poll, in milliseconds. */
1003
+ updateIntervalInMs?: number;
1004
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1005
+ resumeFrom?: string;
1006
+ }
1007
+ /** Optional parameters. */
1008
+ export interface StorageTargetSuspendOptionalParams extends coreClient.OperationOptions {
1009
+ /** Delay to wait until next poll, in milliseconds. */
1010
+ updateIntervalInMs?: number;
1011
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1012
+ resumeFrom?: string;
1013
+ }
1014
+ /** Optional parameters. */
1015
+ export interface StorageTargetResumeOptionalParams extends coreClient.OperationOptions {
1016
+ /** Delay to wait until next poll, in milliseconds. */
1017
+ updateIntervalInMs?: number;
1018
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1019
+ resumeFrom?: string;
1020
+ }
1021
+ /** Optional parameters. */
1022
+ export interface StorageCacheManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1023
+ /** server parameter */
1024
+ $host?: string;
1025
+ /** Api Version */
1026
+ apiVersion?: string;
1027
+ /** Overrides client endpoint. */
1028
+ endpoint?: string;
1029
+ }
1030
+ //# sourceMappingURL=index.d.ts.map