@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,1507 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } from '@azure/core-lro';
6
+
7
+ /** REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation */
8
+ export declare interface ApiOperation {
9
+ /** The object that represents the operation. */
10
+ display?: ApiOperationDisplay;
11
+ /** Origin of the operation. */
12
+ origin?: string;
13
+ /** The flag that indicates whether the operation applies to data plane. */
14
+ isDataAction?: boolean;
15
+ /** Operation name: {provider}/{resource}/{operation} */
16
+ name?: string;
17
+ /** Specification of the all the metrics provided for a resource type. */
18
+ serviceSpecification?: ApiOperationPropertiesServiceSpecification;
19
+ }
20
+
21
+ /** The object that represents the operation. */
22
+ export declare interface ApiOperationDisplay {
23
+ /** Operation type: Read, write, delete, etc. */
24
+ operation?: string;
25
+ /** Service provider: Microsoft.StorageCache */
26
+ provider?: string;
27
+ /** Resource on which the operation is performed: Cache, etc. */
28
+ resource?: string;
29
+ /** The description of the operation */
30
+ description?: string;
31
+ }
32
+
33
+ /** 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. */
34
+ export declare interface ApiOperationListResult {
35
+ /** URL to get the next set of operation list results if there are any. */
36
+ nextLink?: string;
37
+ /** List of Resource Provider operations supported by the Microsoft.StorageCache resource provider. */
38
+ value?: ApiOperation[];
39
+ }
40
+
41
+ /** Specification of the all the metrics provided for a resource type. */
42
+ export declare interface ApiOperationPropertiesServiceSpecification {
43
+ /** Details about operations related to metrics. */
44
+ metricSpecifications?: MetricSpecification[];
45
+ }
46
+
47
+ /** The status of operation. */
48
+ export declare interface AscOperation {
49
+ /** The operation Id. */
50
+ id?: string;
51
+ /** The operation name. */
52
+ name?: string;
53
+ /** The start time of the operation. */
54
+ startTime?: string;
55
+ /** The end time of the operation. */
56
+ endTime?: string;
57
+ /** The status of the operation. */
58
+ status?: string;
59
+ /** The error detail of the operation if any. */
60
+ error?: ErrorResponse;
61
+ /** Additional operation-specific output. */
62
+ output?: {
63
+ [propertyName: string]: Record<string, unknown>;
64
+ };
65
+ }
66
+
67
+ /** Interface representing a AscOperations. */
68
+ export declare interface AscOperations {
69
+ /**
70
+ * Gets the status of an asynchronous operation for the Azure HPC Cache
71
+ * @param location The name of the region used to look up the operation.
72
+ * @param operationId The operation id which uniquely identifies the asynchronous operation.
73
+ * @param options The options parameters.
74
+ */
75
+ get(location: string, operationId: string, options?: AscOperationsGetOptionalParams): Promise<AscOperationsGetResponse>;
76
+ }
77
+
78
+ /** Optional parameters. */
79
+ export declare interface AscOperationsGetOptionalParams extends coreClient.OperationOptions {
80
+ }
81
+
82
+ /** Contains response data for the get operation. */
83
+ export declare type AscOperationsGetResponse = AscOperation;
84
+
85
+ /** Properties pertaining to the BlobNfsTarget. */
86
+ export declare interface BlobNfsTarget {
87
+ /** Resource ID of the storage container. */
88
+ target?: string;
89
+ /** Identifies the StorageCache usage model to be used for this storage target. */
90
+ usageModel?: string;
91
+ }
92
+
93
+ /** A Cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md */
94
+ declare interface Cache_2 {
95
+ /** Resource tags. */
96
+ tags?: {
97
+ [propertyName: string]: string;
98
+ };
99
+ /**
100
+ * Resource ID of the Cache.
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
102
+ */
103
+ readonly id?: string;
104
+ /** Region name string. */
105
+ location?: string;
106
+ /**
107
+ * Name of Cache.
108
+ * NOTE: This property will not be serialized. It can only be populated by the server.
109
+ */
110
+ readonly name?: string;
111
+ /**
112
+ * Type of the Cache; Microsoft.StorageCache/Cache
113
+ * NOTE: This property will not be serialized. It can only be populated by the server.
114
+ */
115
+ readonly type?: string;
116
+ /** The identity of the cache, if configured. */
117
+ identity?: CacheIdentity;
118
+ /**
119
+ * The system meta data relating to this resource.
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
121
+ */
122
+ readonly systemData?: SystemData;
123
+ /** SKU for the Cache. */
124
+ sku?: CacheSku;
125
+ /** The size of this Cache, in GB. */
126
+ cacheSizeGB?: number;
127
+ /**
128
+ * Health of the Cache.
129
+ * NOTE: This property will not be serialized. It can only be populated by the server.
130
+ */
131
+ readonly health?: CacheHealth;
132
+ /**
133
+ * Array of IP addresses that can be used by clients mounting this Cache.
134
+ * NOTE: This property will not be serialized. It can only be populated by the server.
135
+ */
136
+ readonly mountAddresses?: string[];
137
+ /**
138
+ * ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
139
+ * NOTE: This property will not be serialized. It can only be populated by the server.
140
+ */
141
+ readonly provisioningState?: ProvisioningStateType;
142
+ /** Subnet used for the Cache. */
143
+ subnet?: string;
144
+ /**
145
+ * Upgrade status of the Cache.
146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
147
+ */
148
+ readonly upgradeStatus?: CacheUpgradeStatus;
149
+ /** Specifies network settings of the cache. */
150
+ networkSettings?: CacheNetworkSettings;
151
+ /** Specifies encryption settings of the cache. */
152
+ encryptionSettings?: CacheEncryptionSettings;
153
+ /** Specifies security settings of the cache. */
154
+ securitySettings?: CacheSecuritySettings;
155
+ /** Specifies Directory Services settings of the cache. */
156
+ directoryServicesSettings?: CacheDirectorySettings;
157
+ }
158
+ export { Cache_2 as Cache }
159
+
160
+ /** Active Directory settings used to join a cache to a domain. */
161
+ export declare interface CacheActiveDirectorySettings {
162
+ /** Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name. */
163
+ primaryDnsIpAddress: string;
164
+ /** Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name. */
165
+ secondaryDnsIpAddress?: string;
166
+ /** The fully qualified domain name of the Active Directory domain controller. */
167
+ domainName: string;
168
+ /** The Active Directory domain's NetBIOS name. */
169
+ domainNetBiosName: string;
170
+ /** 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]. */
171
+ cacheNetBiosName: string;
172
+ /**
173
+ * True if the HPC Cache is joined to the Active Directory domain.
174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
+ */
176
+ readonly domainJoined?: DomainJoinedType;
177
+ /** Active Directory admin credentials used to join the HPC Cache to a domain. */
178
+ credentials?: CacheActiveDirectorySettingsCredentials;
179
+ }
180
+
181
+ /** Active Directory admin credentials used to join the HPC Cache to a domain. */
182
+ export declare interface CacheActiveDirectorySettingsCredentials {
183
+ /** Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response. */
184
+ username: string;
185
+ /** Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response. */
186
+ password: string;
187
+ }
188
+
189
+ /** Cache Directory Services settings. */
190
+ export declare interface CacheDirectorySettings {
191
+ /** Specifies settings for joining the HPC Cache to an Active Directory domain. */
192
+ activeDirectory?: CacheActiveDirectorySettings;
193
+ /** Specifies settings for Extended Groups. Extended Groups allows users to be members of more than 16 groups. */
194
+ usernameDownload?: CacheUsernameDownloadSettings;
195
+ }
196
+
197
+ /** Cache encryption settings. */
198
+ export declare interface CacheEncryptionSettings {
199
+ /** Specifies the location of the key encryption key in Key Vault. */
200
+ keyEncryptionKey?: KeyVaultKeyReference;
201
+ /** Specifies whether the service will automatically rotate to the newest version of the key in the Key Vault. */
202
+ rotationToLatestKeyVersionEnabled?: boolean;
203
+ }
204
+
205
+ /** An indication of Cache health. Gives more information about health than just that related to provisioning. */
206
+ export declare interface CacheHealth {
207
+ /** List of Cache health states. */
208
+ state?: HealthStateType;
209
+ /** Describes explanation of state. */
210
+ statusDescription?: string;
211
+ /**
212
+ * Outstanding conditions that need to be investigated and resolved.
213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
+ */
215
+ readonly conditions?: Condition[];
216
+ }
217
+
218
+ /** Cache identity properties. */
219
+ export declare interface CacheIdentity {
220
+ /**
221
+ * The principal ID for the system-assigned identity of the cache.
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
+ */
224
+ readonly principalId?: string;
225
+ /**
226
+ * The tenant ID associated with the cache.
227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
+ */
229
+ readonly tenantId?: string;
230
+ /** The type of identity used for the cache */
231
+ type?: CacheIdentityType;
232
+ /** A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary. */
233
+ userAssignedIdentities?: {
234
+ [propertyName: string]: UserAssignedIdentitiesValue;
235
+ };
236
+ }
237
+
238
+ /** Defines values for CacheIdentityType. */
239
+ export declare type CacheIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
240
+
241
+ /** Cache network settings. */
242
+ export declare interface CacheNetworkSettings {
243
+ /** The IPv4 maximum transmission unit configured for the subnet. */
244
+ mtu?: number;
245
+ /**
246
+ * Array of additional IP addresses used by this Cache.
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
248
+ */
249
+ readonly utilityAddresses?: string[];
250
+ /** DNS servers for the cache to use. It will be set from the network configuration if no value is provided. */
251
+ dnsServers?: string[];
252
+ /** DNS search domain */
253
+ dnsSearchDomain?: string;
254
+ /** NTP server IP Address or FQDN for the cache to use. The default is time.windows.com. */
255
+ ntpServer?: string;
256
+ }
257
+
258
+ /** Interface representing a Caches. */
259
+ export declare interface Caches {
260
+ /**
261
+ * Returns all Caches the user has access to under a subscription.
262
+ * @param options The options parameters.
263
+ */
264
+ list(options?: CachesListOptionalParams): PagedAsyncIterableIterator<Cache_2>;
265
+ /**
266
+ * Returns all Caches the user has access to under a resource group.
267
+ * @param resourceGroupName Target resource group.
268
+ * @param options The options parameters.
269
+ */
270
+ listByResourceGroup(resourceGroupName: string, options?: CachesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cache_2>;
271
+ /**
272
+ * Schedules a Cache for deletion.
273
+ * @param resourceGroupName Target resource group.
274
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
275
+ * the [-0-9a-zA-Z_] char class.
276
+ * @param options The options parameters.
277
+ */
278
+ beginDelete(resourceGroupName: string, cacheName: string, options?: CachesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
279
+ /**
280
+ * Schedules a Cache for deletion.
281
+ * @param resourceGroupName Target resource group.
282
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
283
+ * the [-0-9a-zA-Z_] char class.
284
+ * @param options The options parameters.
285
+ */
286
+ beginDeleteAndWait(resourceGroupName: string, cacheName: string, options?: CachesDeleteOptionalParams): Promise<void>;
287
+ /**
288
+ * Returns a Cache.
289
+ * @param resourceGroupName Target resource group.
290
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
291
+ * the [-0-9a-zA-Z_] char class.
292
+ * @param options The options parameters.
293
+ */
294
+ get(resourceGroupName: string, cacheName: string, options?: CachesGetOptionalParams): Promise<CachesGetResponse>;
295
+ /**
296
+ * Create or update a Cache.
297
+ * @param resourceGroupName Target resource group.
298
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
299
+ * the [-0-9a-zA-Z_] char class.
300
+ * @param options The options parameters.
301
+ */
302
+ beginCreateOrUpdate(resourceGroupName: string, cacheName: string, options?: CachesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CachesCreateOrUpdateResponse>, CachesCreateOrUpdateResponse>>;
303
+ /**
304
+ * Create or update a Cache.
305
+ * @param resourceGroupName Target resource group.
306
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
307
+ * the [-0-9a-zA-Z_] char class.
308
+ * @param options The options parameters.
309
+ */
310
+ beginCreateOrUpdateAndWait(resourceGroupName: string, cacheName: string, options?: CachesCreateOrUpdateOptionalParams): Promise<CachesCreateOrUpdateResponse>;
311
+ /**
312
+ * Update a Cache instance.
313
+ * @param resourceGroupName Target resource group.
314
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
315
+ * the [-0-9a-zA-Z_] char class.
316
+ * @param options The options parameters.
317
+ */
318
+ update(resourceGroupName: string, cacheName: string, options?: CachesUpdateOptionalParams): Promise<CachesUpdateResponse>;
319
+ /**
320
+ * Tells a Cache to write generate debug info for support to process.
321
+ * @param resourceGroupName Target resource group.
322
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
323
+ * the [-0-9a-zA-Z_] char class.
324
+ * @param options The options parameters.
325
+ */
326
+ beginDebugInfo(resourceGroupName: string, cacheName: string, options?: CachesDebugInfoOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
327
+ /**
328
+ * Tells a Cache to write generate debug info for support to process.
329
+ * @param resourceGroupName Target resource group.
330
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
331
+ * the [-0-9a-zA-Z_] char class.
332
+ * @param options The options parameters.
333
+ */
334
+ beginDebugInfoAndWait(resourceGroupName: string, cacheName: string, options?: CachesDebugInfoOptionalParams): Promise<void>;
335
+ /**
336
+ * Tells a Cache to write all dirty data to the Storage Target(s). During the flush, clients will see
337
+ * errors returned until the flush is complete.
338
+ * @param resourceGroupName Target resource group.
339
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
340
+ * the [-0-9a-zA-Z_] char class.
341
+ * @param options The options parameters.
342
+ */
343
+ beginFlush(resourceGroupName: string, cacheName: string, options?: CachesFlushOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
344
+ /**
345
+ * Tells a Cache to write all dirty data to the Storage Target(s). During the flush, clients will see
346
+ * errors returned until the flush is complete.
347
+ * @param resourceGroupName Target resource group.
348
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
349
+ * the [-0-9a-zA-Z_] char class.
350
+ * @param options The options parameters.
351
+ */
352
+ beginFlushAndWait(resourceGroupName: string, cacheName: string, options?: CachesFlushOptionalParams): Promise<void>;
353
+ /**
354
+ * Tells a Stopped state Cache to transition to Active state.
355
+ * @param resourceGroupName Target resource group.
356
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
357
+ * the [-0-9a-zA-Z_] char class.
358
+ * @param options The options parameters.
359
+ */
360
+ beginStart(resourceGroupName: string, cacheName: string, options?: CachesStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
361
+ /**
362
+ * Tells a Stopped state Cache to transition to Active state.
363
+ * @param resourceGroupName Target resource group.
364
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
365
+ * the [-0-9a-zA-Z_] char class.
366
+ * @param options The options parameters.
367
+ */
368
+ beginStartAndWait(resourceGroupName: string, cacheName: string, options?: CachesStartOptionalParams): Promise<void>;
369
+ /**
370
+ * Tells an Active Cache to transition to Stopped state.
371
+ * @param resourceGroupName Target resource group.
372
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
373
+ * the [-0-9a-zA-Z_] char class.
374
+ * @param options The options parameters.
375
+ */
376
+ beginStop(resourceGroupName: string, cacheName: string, options?: CachesStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
377
+ /**
378
+ * Tells an Active Cache to transition to Stopped state.
379
+ * @param resourceGroupName Target resource group.
380
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
381
+ * the [-0-9a-zA-Z_] char class.
382
+ * @param options The options parameters.
383
+ */
384
+ beginStopAndWait(resourceGroupName: string, cacheName: string, options?: CachesStopOptionalParams): Promise<void>;
385
+ /**
386
+ * Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no effect.
387
+ * @param resourceGroupName Target resource group.
388
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
389
+ * the [-0-9a-zA-Z_] char class.
390
+ * @param options The options parameters.
391
+ */
392
+ beginUpgradeFirmware(resourceGroupName: string, cacheName: string, options?: CachesUpgradeFirmwareOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
393
+ /**
394
+ * Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no effect.
395
+ * @param resourceGroupName Target resource group.
396
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
397
+ * the [-0-9a-zA-Z_] char class.
398
+ * @param options The options parameters.
399
+ */
400
+ beginUpgradeFirmwareAndWait(resourceGroupName: string, cacheName: string, options?: CachesUpgradeFirmwareOptionalParams): Promise<void>;
401
+ }
402
+
403
+ /** Optional parameters. */
404
+ export declare interface CachesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
405
+ /** 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. */
406
+ cache?: Cache_2;
407
+ /** Delay to wait until next poll, in milliseconds. */
408
+ updateIntervalInMs?: number;
409
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
410
+ resumeFrom?: string;
411
+ }
412
+
413
+ /** Contains response data for the createOrUpdate operation. */
414
+ export declare type CachesCreateOrUpdateResponse = Cache_2;
415
+
416
+ /** Optional parameters. */
417
+ export declare interface CachesDebugInfoOptionalParams extends coreClient.OperationOptions {
418
+ /** Delay to wait until next poll, in milliseconds. */
419
+ updateIntervalInMs?: number;
420
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
421
+ resumeFrom?: string;
422
+ }
423
+
424
+ /** Optional parameters. */
425
+ export declare interface CachesDeleteOptionalParams extends coreClient.OperationOptions {
426
+ /** Delay to wait until next poll, in milliseconds. */
427
+ updateIntervalInMs?: number;
428
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
429
+ resumeFrom?: string;
430
+ }
431
+
432
+ /** Cache security settings. */
433
+ export declare interface CacheSecuritySettings {
434
+ /** NFS access policies defined for this cache. */
435
+ accessPolicies?: NfsAccessPolicy[];
436
+ }
437
+
438
+ /** Optional parameters. */
439
+ export declare interface CachesFlushOptionalParams extends coreClient.OperationOptions {
440
+ /** Delay to wait until next poll, in milliseconds. */
441
+ updateIntervalInMs?: number;
442
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
443
+ resumeFrom?: string;
444
+ }
445
+
446
+ /** Optional parameters. */
447
+ export declare interface CachesGetOptionalParams extends coreClient.OperationOptions {
448
+ }
449
+
450
+ /** Contains response data for the get operation. */
451
+ export declare type CachesGetResponse = Cache_2;
452
+
453
+ /** SKU for the Cache. */
454
+ export declare interface CacheSku {
455
+ /** SKU name for this Cache. */
456
+ name?: string;
457
+ }
458
+
459
+ /** Optional parameters. */
460
+ export declare interface CachesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
461
+ }
462
+
463
+ /** Contains response data for the listByResourceGroupNext operation. */
464
+ export declare type CachesListByResourceGroupNextResponse = CachesListResult;
465
+
466
+ /** Optional parameters. */
467
+ export declare interface CachesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
468
+ }
469
+
470
+ /** Contains response data for the listByResourceGroup operation. */
471
+ export declare type CachesListByResourceGroupResponse = CachesListResult;
472
+
473
+ /** Optional parameters. */
474
+ export declare interface CachesListNextOptionalParams extends coreClient.OperationOptions {
475
+ }
476
+
477
+ /** Contains response data for the listNext operation. */
478
+ export declare type CachesListNextResponse = CachesListResult;
479
+
480
+ /** Optional parameters. */
481
+ export declare interface CachesListOptionalParams extends coreClient.OperationOptions {
482
+ }
483
+
484
+ /** Contains response data for the list operation. */
485
+ export declare type CachesListResponse = CachesListResult;
486
+
487
+ /** Result of the request to list Caches. It contains a list of Caches and a URL link to get the next set of results. */
488
+ export declare interface CachesListResult {
489
+ /** URL to get the next set of Cache list results, if there are any. */
490
+ nextLink?: string;
491
+ /** List of Caches. */
492
+ value?: Cache_2[];
493
+ }
494
+
495
+ /** Optional parameters. */
496
+ export declare interface CachesStartOptionalParams extends coreClient.OperationOptions {
497
+ /** Delay to wait until next poll, in milliseconds. */
498
+ updateIntervalInMs?: number;
499
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
500
+ resumeFrom?: string;
501
+ }
502
+
503
+ /** Optional parameters. */
504
+ export declare interface CachesStopOptionalParams extends coreClient.OperationOptions {
505
+ /** Delay to wait until next poll, in milliseconds. */
506
+ updateIntervalInMs?: number;
507
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
508
+ resumeFrom?: string;
509
+ }
510
+
511
+ /** Optional parameters. */
512
+ export declare interface CachesUpdateOptionalParams extends coreClient.OperationOptions {
513
+ /** Object containing the user-selectable properties of the Cache. If read-only properties are included, they must match the existing values of those properties. */
514
+ cache?: Cache_2;
515
+ }
516
+
517
+ /** Contains response data for the update operation. */
518
+ export declare type CachesUpdateResponse = Cache_2;
519
+
520
+ /** Optional parameters. */
521
+ export declare interface CachesUpgradeFirmwareOptionalParams extends coreClient.OperationOptions {
522
+ /** Delay to wait until next poll, in milliseconds. */
523
+ updateIntervalInMs?: number;
524
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
525
+ resumeFrom?: string;
526
+ }
527
+
528
+ /** Properties describing the software upgrade state of the Cache. */
529
+ export declare interface CacheUpgradeStatus {
530
+ /**
531
+ * Version string of the firmware currently installed on this Cache.
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
533
+ */
534
+ readonly currentFirmwareVersion?: string;
535
+ /**
536
+ * 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.
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
+ */
539
+ readonly firmwareUpdateStatus?: FirmwareStatusType;
540
+ /**
541
+ * Time at which the pending firmware update will automatically be installed on the Cache.
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
543
+ */
544
+ readonly firmwareUpdateDeadline?: Date;
545
+ /**
546
+ * Time of the last successful firmware update.
547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
548
+ */
549
+ readonly lastFirmwareUpdate?: Date;
550
+ /**
551
+ * When firmwareUpdateAvailable is true, this field holds the version string for the update.
552
+ * NOTE: This property will not be serialized. It can only be populated by the server.
553
+ */
554
+ readonly pendingFirmwareVersion?: string;
555
+ }
556
+
557
+ /** Settings for Extended Groups username and group download. */
558
+ export declare interface CacheUsernameDownloadSettings {
559
+ /** Whether or not Extended Groups is enabled. */
560
+ extendedGroups?: boolean;
561
+ /** This setting determines how the cache gets username and group names for clients. */
562
+ usernameSource?: UsernameSource;
563
+ /** The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'. */
564
+ groupFileURI?: string;
565
+ /** The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'. */
566
+ userFileURI?: string;
567
+ /** The fully qualified domain name or IP address of the LDAP server to use. */
568
+ ldapServer?: string;
569
+ /** The base distinguished name for the LDAP domain. */
570
+ ldapBaseDN?: string;
571
+ /** Whether or not the LDAP connection should be encrypted. */
572
+ encryptLdapConnection?: boolean;
573
+ /** Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided. */
574
+ requireValidCertificate?: boolean;
575
+ /** Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true. */
576
+ autoDownloadCertificate?: boolean;
577
+ /** The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true. */
578
+ caCertificateURI?: string;
579
+ /**
580
+ * Indicates whether or not the HPC Cache has performed the username download successfully.
581
+ * NOTE: This property will not be serialized. It can only be populated by the server.
582
+ */
583
+ readonly usernameDownloaded?: UsernameDownloadedType;
584
+ /** When present, these are the credentials for the secure LDAP connection. */
585
+ credentials?: CacheUsernameDownloadSettingsCredentials;
586
+ }
587
+
588
+ /** When present, these are the credentials for the secure LDAP connection. */
589
+ export declare interface CacheUsernameDownloadSettingsCredentials {
590
+ /** The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response. */
591
+ bindDn?: string;
592
+ /** The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response. */
593
+ bindPassword?: string;
594
+ }
595
+
596
+ /** Properties pertaining to the ClfsTarget */
597
+ export declare interface ClfsTarget {
598
+ /** Resource ID of storage container. */
599
+ target?: string;
600
+ }
601
+
602
+ /** An error response. */
603
+ export declare interface CloudError {
604
+ /** The body of the error. */
605
+ error?: CloudErrorBody;
606
+ }
607
+
608
+ /** An error response. */
609
+ export declare interface CloudErrorBody {
610
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
611
+ code?: string;
612
+ /** A list of additional details about the error. */
613
+ details?: CloudErrorBody[];
614
+ /** A message describing the error, intended to be suitable for display in a user interface. */
615
+ message?: string;
616
+ /** The target of the particular error. For example, the name of the property in error. */
617
+ target?: string;
618
+ }
619
+
620
+ /** Outstanding conditions that will need to be resolved. */
621
+ export declare interface Condition {
622
+ /**
623
+ * The time when the condition was raised.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly timestamp?: Date;
627
+ /**
628
+ * The issue requiring attention.
629
+ * NOTE: This property will not be serialized. It can only be populated by the server.
630
+ */
631
+ readonly message?: string;
632
+ }
633
+
634
+ /**
635
+ * Defines values for CreatedByType. \
636
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
637
+ * this enum contains the known values that the service supports.
638
+ * ### Known values supported by the service
639
+ * **User** \
640
+ * **Application** \
641
+ * **ManagedIdentity** \
642
+ * **Key**
643
+ */
644
+ export declare type CreatedByType = string;
645
+
646
+ /**
647
+ * Defines values for DomainJoinedType. \
648
+ * {@link KnownDomainJoinedType} can be used interchangeably with DomainJoinedType,
649
+ * this enum contains the known values that the service supports.
650
+ * ### Known values supported by the service
651
+ * **Yes** \
652
+ * **No** \
653
+ * **Error**
654
+ */
655
+ export declare type DomainJoinedType = string;
656
+
657
+ /** Describes the format of Error response. */
658
+ export declare interface ErrorResponse {
659
+ /** Error code */
660
+ code?: string;
661
+ /** Error message indicating why the operation failed. */
662
+ message?: string;
663
+ }
664
+
665
+ /**
666
+ * Defines values for FirmwareStatusType. \
667
+ * {@link KnownFirmwareStatusType} can be used interchangeably with FirmwareStatusType,
668
+ * this enum contains the known values that the service supports.
669
+ * ### Known values supported by the service
670
+ * **available** \
671
+ * **unavailable**
672
+ */
673
+ export declare type FirmwareStatusType = string;
674
+
675
+ /**
676
+ * Defines values for HealthStateType. \
677
+ * {@link KnownHealthStateType} can be used interchangeably with HealthStateType,
678
+ * this enum contains the known values that the service supports.
679
+ * ### Known values supported by the service
680
+ * **Unknown** \
681
+ * **Healthy** \
682
+ * **Degraded** \
683
+ * **Down** \
684
+ * **Transitioning** \
685
+ * **Stopping** \
686
+ * **Stopped** \
687
+ * **Upgrading** \
688
+ * **Flushing**
689
+ */
690
+ export declare type HealthStateType = string;
691
+
692
+ /** Describes a reference to Key Vault Key. */
693
+ export declare interface KeyVaultKeyReference {
694
+ /** The URL referencing a key encryption key in Key Vault. */
695
+ keyUrl: string;
696
+ /** Describes a resource Id to source Key Vault. */
697
+ sourceVault: KeyVaultKeyReferenceSourceVault;
698
+ }
699
+
700
+ /** Describes a resource Id to source Key Vault. */
701
+ export declare interface KeyVaultKeyReferenceSourceVault {
702
+ /** Resource Id. */
703
+ id?: string;
704
+ }
705
+
706
+ /** Known values of {@link CreatedByType} that the service accepts. */
707
+ export declare enum KnownCreatedByType {
708
+ User = "User",
709
+ Application = "Application",
710
+ ManagedIdentity = "ManagedIdentity",
711
+ Key = "Key"
712
+ }
713
+
714
+ /** Known values of {@link DomainJoinedType} that the service accepts. */
715
+ export declare enum KnownDomainJoinedType {
716
+ Yes = "Yes",
717
+ No = "No",
718
+ Error = "Error"
719
+ }
720
+
721
+ /** Known values of {@link FirmwareStatusType} that the service accepts. */
722
+ export declare enum KnownFirmwareStatusType {
723
+ Available = "available",
724
+ Unavailable = "unavailable"
725
+ }
726
+
727
+ /** Known values of {@link HealthStateType} that the service accepts. */
728
+ export declare enum KnownHealthStateType {
729
+ Unknown = "Unknown",
730
+ Healthy = "Healthy",
731
+ Degraded = "Degraded",
732
+ Down = "Down",
733
+ Transitioning = "Transitioning",
734
+ Stopping = "Stopping",
735
+ Stopped = "Stopped",
736
+ Upgrading = "Upgrading",
737
+ Flushing = "Flushing"
738
+ }
739
+
740
+ /** Known values of {@link MetricAggregationType} that the service accepts. */
741
+ export declare enum KnownMetricAggregationType {
742
+ NotSpecified = "NotSpecified",
743
+ None = "None",
744
+ Average = "Average",
745
+ Minimum = "Minimum",
746
+ Maximum = "Maximum",
747
+ Total = "Total",
748
+ Count = "Count"
749
+ }
750
+
751
+ /** Known values of {@link NfsAccessRuleAccess} that the service accepts. */
752
+ export declare enum KnownNfsAccessRuleAccess {
753
+ No = "no",
754
+ Ro = "ro",
755
+ Rw = "rw"
756
+ }
757
+
758
+ /** Known values of {@link NfsAccessRuleScope} that the service accepts. */
759
+ export declare enum KnownNfsAccessRuleScope {
760
+ Default = "default",
761
+ Network = "network",
762
+ Host = "host"
763
+ }
764
+
765
+ /** Known values of {@link OperationalStateType} that the service accepts. */
766
+ export declare enum KnownOperationalStateType {
767
+ Ready = "Ready",
768
+ Busy = "Busy",
769
+ Suspended = "Suspended",
770
+ Flushing = "Flushing"
771
+ }
772
+
773
+ /** Known values of {@link ProvisioningStateType} that the service accepts. */
774
+ export declare enum KnownProvisioningStateType {
775
+ Succeeded = "Succeeded",
776
+ Failed = "Failed",
777
+ Cancelled = "Cancelled",
778
+ Creating = "Creating",
779
+ Deleting = "Deleting",
780
+ Updating = "Updating"
781
+ }
782
+
783
+ /** Known values of {@link ReasonCode} that the service accepts. */
784
+ export declare enum KnownReasonCode {
785
+ QuotaId = "QuotaId",
786
+ NotAvailableForSubscription = "NotAvailableForSubscription"
787
+ }
788
+
789
+ /** Known values of {@link StorageTargetType} that the service accepts. */
790
+ export declare enum KnownStorageTargetType {
791
+ Nfs3 = "nfs3",
792
+ Clfs = "clfs",
793
+ Unknown = "unknown",
794
+ BlobNfs = "blobNfs"
795
+ }
796
+
797
+ /** Known values of {@link UsernameDownloadedType} that the service accepts. */
798
+ export declare enum KnownUsernameDownloadedType {
799
+ Yes = "Yes",
800
+ No = "No",
801
+ Error = "Error"
802
+ }
803
+
804
+ /** Known values of {@link UsernameSource} that the service accepts. */
805
+ export declare enum KnownUsernameSource {
806
+ AD = "AD",
807
+ Ldap = "LDAP",
808
+ File = "File",
809
+ None = "None"
810
+ }
811
+
812
+ /**
813
+ * Defines values for MetricAggregationType. \
814
+ * {@link KnownMetricAggregationType} can be used interchangeably with MetricAggregationType,
815
+ * this enum contains the known values that the service supports.
816
+ * ### Known values supported by the service
817
+ * **NotSpecified** \
818
+ * **None** \
819
+ * **Average** \
820
+ * **Minimum** \
821
+ * **Maximum** \
822
+ * **Total** \
823
+ * **Count**
824
+ */
825
+ export declare type MetricAggregationType = string;
826
+
827
+ /** Specifications of the Dimension of metrics. */
828
+ export declare interface MetricDimension {
829
+ /** Name of the dimension */
830
+ name?: string;
831
+ /** Localized friendly display name of the dimension */
832
+ displayName?: string;
833
+ /** Internal name of the dimension. */
834
+ internalName?: string;
835
+ /** To be exported to shoe box. */
836
+ toBeExportedForShoebox?: boolean;
837
+ }
838
+
839
+ /** Details about operation related to metrics. */
840
+ export declare interface MetricSpecification {
841
+ /** The name of the metric. */
842
+ name?: string;
843
+ /** Localized display name of the metric. */
844
+ displayName?: string;
845
+ /** The description of the metric. */
846
+ displayDescription?: string;
847
+ /** The unit that the metric is measured in. */
848
+ unit?: string;
849
+ /** The type of metric aggregation. */
850
+ aggregationType?: string;
851
+ /** Support metric aggregation type. */
852
+ supportedAggregationTypes?: MetricAggregationType[];
853
+ /** Type of metrics. */
854
+ metricClass?: string;
855
+ /** Dimensions of the metric */
856
+ dimensions?: MetricDimension[];
857
+ }
858
+
859
+ /** A namespace junction. */
860
+ export declare interface NamespaceJunction {
861
+ /** Namespace path on a Cache for a Storage Target. */
862
+ namespacePath?: string;
863
+ /** Path in Storage Target to which namespacePath points. */
864
+ targetPath?: string;
865
+ /** NFS export where targetPath exists. */
866
+ nfsExport?: string;
867
+ /** Name of the access policy applied to this junction. */
868
+ nfsAccessPolicy?: string;
869
+ }
870
+
871
+ /** Properties pertaining to the Nfs3Target */
872
+ export declare interface Nfs3Target {
873
+ /** IP address or host name of an NFSv3 host (e.g., 10.0.44.44). */
874
+ target?: string;
875
+ /** Identifies the StorageCache usage model to be used for this storage target. */
876
+ usageModel?: string;
877
+ }
878
+
879
+ /** A set of rules describing access policies applied to NFSv3 clients of the cache. */
880
+ export declare interface NfsAccessPolicy {
881
+ /** Name identifying this policy. Access Policy names are not case sensitive. */
882
+ name: string;
883
+ /** The set of rules describing client accesses allowed under this policy. */
884
+ accessRules: NfsAccessRule[];
885
+ }
886
+
887
+ /** Rule to place restrictions on portions of the cache namespace being presented to clients. */
888
+ export declare interface NfsAccessRule {
889
+ /** Scope for this rule. The scope and filter determine which clients match the rule. */
890
+ scope: NfsAccessRuleScope;
891
+ /** 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. */
892
+ filter?: string;
893
+ /** Access allowed by this rule. */
894
+ access: NfsAccessRuleAccess;
895
+ /** Allow SUID semantics. */
896
+ suid?: boolean;
897
+ /** 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'. */
898
+ submountAccess?: boolean;
899
+ /** Map root accesses to anonymousUID and anonymousGID. */
900
+ rootSquash?: boolean;
901
+ /** UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided. */
902
+ anonymousUID?: string;
903
+ /** GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided. */
904
+ anonymousGID?: string;
905
+ }
906
+
907
+ /**
908
+ * Defines values for NfsAccessRuleAccess. \
909
+ * {@link KnownNfsAccessRuleAccess} can be used interchangeably with NfsAccessRuleAccess,
910
+ * this enum contains the known values that the service supports.
911
+ * ### Known values supported by the service
912
+ * **no** \
913
+ * **ro** \
914
+ * **rw**
915
+ */
916
+ export declare type NfsAccessRuleAccess = string;
917
+
918
+ /**
919
+ * Defines values for NfsAccessRuleScope. \
920
+ * {@link KnownNfsAccessRuleScope} can be used interchangeably with NfsAccessRuleScope,
921
+ * this enum contains the known values that the service supports.
922
+ * ### Known values supported by the service
923
+ * **default** \
924
+ * **network** \
925
+ * **host**
926
+ */
927
+ export declare type NfsAccessRuleScope = string;
928
+
929
+ /**
930
+ * Defines values for OperationalStateType. \
931
+ * {@link KnownOperationalStateType} can be used interchangeably with OperationalStateType,
932
+ * this enum contains the known values that the service supports.
933
+ * ### Known values supported by the service
934
+ * **Ready** \
935
+ * **Busy** \
936
+ * **Suspended** \
937
+ * **Flushing**
938
+ */
939
+ export declare type OperationalStateType = string;
940
+
941
+ /** Interface representing a Operations. */
942
+ export declare interface Operations {
943
+ /**
944
+ * Lists all of the available Resource Provider operations.
945
+ * @param options The options parameters.
946
+ */
947
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<ApiOperation>;
948
+ }
949
+
950
+ /** Optional parameters. */
951
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
952
+ }
953
+
954
+ /** Contains response data for the listNext operation. */
955
+ export declare type OperationsListNextResponse = ApiOperationListResult;
956
+
957
+ /** Optional parameters. */
958
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
959
+ }
960
+
961
+ /** Contains response data for the list operation. */
962
+ export declare type OperationsListResponse = ApiOperationListResult;
963
+
964
+ /**
965
+ * Defines values for ProvisioningStateType. \
966
+ * {@link KnownProvisioningStateType} can be used interchangeably with ProvisioningStateType,
967
+ * this enum contains the known values that the service supports.
968
+ * ### Known values supported by the service
969
+ * **Succeeded** \
970
+ * **Failed** \
971
+ * **Cancelled** \
972
+ * **Creating** \
973
+ * **Deleting** \
974
+ * **Updating**
975
+ */
976
+ export declare type ProvisioningStateType = string;
977
+
978
+ /**
979
+ * Defines values for ReasonCode. \
980
+ * {@link KnownReasonCode} can be used interchangeably with ReasonCode,
981
+ * this enum contains the known values that the service supports.
982
+ * ### Known values supported by the service
983
+ * **QuotaId** \
984
+ * **NotAvailableForSubscription**
985
+ */
986
+ export declare type ReasonCode = string;
987
+
988
+ /** A resource SKU. */
989
+ export declare interface ResourceSku {
990
+ /**
991
+ * The type of resource the SKU applies to.
992
+ * NOTE: This property will not be serialized. It can only be populated by the server.
993
+ */
994
+ readonly resourceType?: string;
995
+ /** A list of capabilities of this SKU, such as throughput or ops/sec. */
996
+ capabilities?: ResourceSkuCapabilities[];
997
+ /**
998
+ * 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.).
999
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1000
+ */
1001
+ readonly locations?: string[];
1002
+ /** The set of locations where the SKU is available. */
1003
+ locationInfo?: ResourceSkuLocationInfo[];
1004
+ /** The name of this SKU. */
1005
+ name?: string;
1006
+ /** The restrictions preventing this SKU from being used. This is empty if there are no restrictions. */
1007
+ restrictions?: Restriction[];
1008
+ }
1009
+
1010
+ /** A resource SKU capability. */
1011
+ export declare interface ResourceSkuCapabilities {
1012
+ /** Name of a capability, such as ops/sec. */
1013
+ name?: string;
1014
+ /** Quantity, if the capability is measured by quantity. */
1015
+ value?: string;
1016
+ }
1017
+
1018
+ /** Resource SKU location information. */
1019
+ export declare interface ResourceSkuLocationInfo {
1020
+ /** Location where this SKU is available. */
1021
+ location?: string;
1022
+ /** Zones if any. */
1023
+ zones?: string[];
1024
+ }
1025
+
1026
+ /** The response from the List Cache SKUs operation. */
1027
+ export declare interface ResourceSkusResult {
1028
+ /** The URI to fetch the next page of Cache SKUs. */
1029
+ nextLink?: string;
1030
+ /**
1031
+ * The list of SKUs available for the subscription.
1032
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1033
+ */
1034
+ readonly value?: ResourceSku[];
1035
+ }
1036
+
1037
+ /** The restrictions preventing this SKU from being used. */
1038
+ export declare interface Restriction {
1039
+ /**
1040
+ * The type of restrictions. In this version, the only possible value for this is location.
1041
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1042
+ */
1043
+ readonly type?: string;
1044
+ /**
1045
+ * The value of restrictions. If the restriction type is set to location, then this would be the different locations where the SKU is restricted.
1046
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1047
+ */
1048
+ readonly values?: string[];
1049
+ /** 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. */
1050
+ reasonCode?: ReasonCode;
1051
+ }
1052
+
1053
+ /** Interface representing a Skus. */
1054
+ export declare interface Skus {
1055
+ /**
1056
+ * Get the list of StorageCache.Cache SKUs available to this subscription.
1057
+ * @param options The options parameters.
1058
+ */
1059
+ list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<ResourceSku>;
1060
+ }
1061
+
1062
+ /** Optional parameters. */
1063
+ export declare interface SkusListNextOptionalParams extends coreClient.OperationOptions {
1064
+ }
1065
+
1066
+ /** Contains response data for the listNext operation. */
1067
+ export declare type SkusListNextResponse = ResourceSkusResult;
1068
+
1069
+ /** Optional parameters. */
1070
+ export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
1071
+ }
1072
+
1073
+ /** Contains response data for the list operation. */
1074
+ export declare type SkusListResponse = ResourceSkusResult;
1075
+
1076
+ export declare class StorageCacheManagementClient extends coreClient.ServiceClient {
1077
+ $host: string;
1078
+ apiVersion: string;
1079
+ subscriptionId: string;
1080
+ /**
1081
+ * Initializes a new instance of the StorageCacheManagementClient class.
1082
+ * @param credentials Subscription credentials which uniquely identify client subscription.
1083
+ * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription.
1084
+ * The subscription ID forms part of the URI for every service call.
1085
+ * @param options The parameter options
1086
+ */
1087
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageCacheManagementClientOptionalParams);
1088
+ operations: Operations;
1089
+ skus: Skus;
1090
+ usageModels: UsageModels;
1091
+ ascOperations: AscOperations;
1092
+ caches: Caches;
1093
+ storageTargets: StorageTargets;
1094
+ storageTargetOperations: StorageTargetOperations;
1095
+ }
1096
+
1097
+ /** Optional parameters. */
1098
+ export declare interface StorageCacheManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1099
+ /** server parameter */
1100
+ $host?: string;
1101
+ /** Api Version */
1102
+ apiVersion?: string;
1103
+ /** Overrides client endpoint. */
1104
+ endpoint?: string;
1105
+ }
1106
+
1107
+ /** Type of the Storage Target. */
1108
+ export declare type StorageTarget = StorageTargetResource & {
1109
+ /** List of Cache namespace junctions to target for namespace associations. */
1110
+ junctions?: NamespaceJunction[];
1111
+ /** Type of the Storage Target. */
1112
+ targetType?: StorageTargetType;
1113
+ /**
1114
+ * ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
1115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1116
+ */
1117
+ readonly provisioningState?: ProvisioningStateType;
1118
+ /** Storage target operational state. */
1119
+ state?: OperationalStateType;
1120
+ /** Properties when targetType is nfs3. */
1121
+ nfs3?: Nfs3Target;
1122
+ /** Properties when targetType is clfs. */
1123
+ clfs?: ClfsTarget;
1124
+ /** Properties when targetType is unknown. */
1125
+ unknown?: UnknownTarget;
1126
+ /** Properties when targetType is blobNfs. */
1127
+ blobNfs?: BlobNfsTarget;
1128
+ };
1129
+
1130
+ /** Optional parameters. */
1131
+ export declare interface StorageTargetFlushOptionalParams extends coreClient.OperationOptions {
1132
+ /** Delay to wait until next poll, in milliseconds. */
1133
+ updateIntervalInMs?: number;
1134
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1135
+ resumeFrom?: string;
1136
+ }
1137
+
1138
+ /** Interface representing a StorageTargetOperations. */
1139
+ export declare interface StorageTargetOperations {
1140
+ /**
1141
+ * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to
1142
+ * this storage target's namespace will return errors until the flush operation completes.
1143
+ * @param resourceGroupName Target resource group.
1144
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1145
+ * the [-0-9a-zA-Z_] char class.
1146
+ * @param storageTargetName Name of Storage Target.
1147
+ * @param options The options parameters.
1148
+ */
1149
+ beginFlush(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetFlushOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1150
+ /**
1151
+ * Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to
1152
+ * this storage target's namespace will return errors until the flush operation completes.
1153
+ * @param resourceGroupName Target resource group.
1154
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1155
+ * the [-0-9a-zA-Z_] char class.
1156
+ * @param storageTargetName Name of Storage Target.
1157
+ * @param options The options parameters.
1158
+ */
1159
+ beginFlushAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetFlushOptionalParams): Promise<void>;
1160
+ /**
1161
+ * Suspends client access to a storage target.
1162
+ * @param resourceGroupName Target resource group.
1163
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1164
+ * the [-0-9a-zA-Z_] char class.
1165
+ * @param storageTargetName Name of Storage Target.
1166
+ * @param options The options parameters.
1167
+ */
1168
+ beginSuspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetSuspendOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1169
+ /**
1170
+ * Suspends client access to a storage target.
1171
+ * @param resourceGroupName Target resource group.
1172
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1173
+ * the [-0-9a-zA-Z_] char class.
1174
+ * @param storageTargetName Name of Storage Target.
1175
+ * @param options The options parameters.
1176
+ */
1177
+ beginSuspendAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetSuspendOptionalParams): Promise<void>;
1178
+ /**
1179
+ * Resumes client access to a previously suspended storage target.
1180
+ * @param resourceGroupName Target resource group.
1181
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1182
+ * the [-0-9a-zA-Z_] char class.
1183
+ * @param storageTargetName Name of Storage Target.
1184
+ * @param options The options parameters.
1185
+ */
1186
+ beginResume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetResumeOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1187
+ /**
1188
+ * Resumes client access to a previously suspended storage target.
1189
+ * @param resourceGroupName Target resource group.
1190
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1191
+ * the [-0-9a-zA-Z_] char class.
1192
+ * @param storageTargetName Name of Storage Target.
1193
+ * @param options The options parameters.
1194
+ */
1195
+ beginResumeAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetResumeOptionalParams): Promise<void>;
1196
+ }
1197
+
1198
+ /** Resource used by a Cache. */
1199
+ export declare interface StorageTargetResource {
1200
+ /**
1201
+ * Name of the Storage Target.
1202
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1203
+ */
1204
+ readonly name?: string;
1205
+ /**
1206
+ * Resource ID of the Storage Target.
1207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1208
+ */
1209
+ readonly id?: string;
1210
+ /**
1211
+ * Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
1212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1213
+ */
1214
+ readonly type?: string;
1215
+ /**
1216
+ * Region name string.
1217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1218
+ */
1219
+ readonly location?: string;
1220
+ /**
1221
+ * The system meta data relating to this resource.
1222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1223
+ */
1224
+ readonly systemData?: SystemData;
1225
+ }
1226
+
1227
+ /** Optional parameters. */
1228
+ export declare interface StorageTargetResumeOptionalParams extends coreClient.OperationOptions {
1229
+ /** Delay to wait until next poll, in milliseconds. */
1230
+ updateIntervalInMs?: number;
1231
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1232
+ resumeFrom?: string;
1233
+ }
1234
+
1235
+ /** Interface representing a StorageTargets. */
1236
+ export declare interface StorageTargets {
1237
+ /**
1238
+ * Returns a list of Storage Targets for the specified Cache.
1239
+ * @param resourceGroupName Target resource group.
1240
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1241
+ * the [-0-9a-zA-Z_] char class.
1242
+ * @param options The options parameters.
1243
+ */
1244
+ listByCache(resourceGroupName: string, cacheName: string, options?: StorageTargetsListByCacheOptionalParams): PagedAsyncIterableIterator<StorageTarget>;
1245
+ /**
1246
+ * Tells a storage target to refresh its DNS information.
1247
+ * @param resourceGroupName Target resource group.
1248
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1249
+ * the [-0-9a-zA-Z_] char class.
1250
+ * @param storageTargetName Name of Storage Target.
1251
+ * @param options The options parameters.
1252
+ */
1253
+ beginDnsRefresh(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDnsRefreshOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1254
+ /**
1255
+ * Tells a storage target to refresh its DNS information.
1256
+ * @param resourceGroupName Target resource group.
1257
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1258
+ * the [-0-9a-zA-Z_] char class.
1259
+ * @param storageTargetName Name of Storage Target.
1260
+ * @param options The options parameters.
1261
+ */
1262
+ beginDnsRefreshAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDnsRefreshOptionalParams): Promise<void>;
1263
+ /**
1264
+ * Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache is
1265
+ * down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is
1266
+ * healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be
1267
+ * flushed before the Storage Target will be deleted.
1268
+ * @param resourceGroupName Target resource group.
1269
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1270
+ * the [-0-9a-zA-Z_] char class.
1271
+ * @param storageTargetName Name of Storage Target.
1272
+ * @param options The options parameters.
1273
+ */
1274
+ beginDelete(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1275
+ /**
1276
+ * Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache is
1277
+ * down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is
1278
+ * healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be
1279
+ * flushed before the Storage Target will be deleted.
1280
+ * @param resourceGroupName Target resource group.
1281
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1282
+ * the [-0-9a-zA-Z_] char class.
1283
+ * @param storageTargetName Name of Storage Target.
1284
+ * @param options The options parameters.
1285
+ */
1286
+ beginDeleteAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDeleteOptionalParams): Promise<void>;
1287
+ /**
1288
+ * Returns a Storage Target from a Cache.
1289
+ * @param resourceGroupName Target resource group.
1290
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1291
+ * the [-0-9a-zA-Z_] char class.
1292
+ * @param storageTargetName Name of Storage Target.
1293
+ * @param options The options parameters.
1294
+ */
1295
+ get(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsGetOptionalParams): Promise<StorageTargetsGetResponse>;
1296
+ /**
1297
+ * Create or update a Storage Target. This operation is allowed at any time, but if the Cache is down
1298
+ * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache
1299
+ * is healthy again.
1300
+ * @param resourceGroupName Target resource group.
1301
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1302
+ * the [-0-9a-zA-Z_] char class.
1303
+ * @param storageTargetName Name of Storage Target.
1304
+ * @param options The options parameters.
1305
+ */
1306
+ beginCreateOrUpdate(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageTargetsCreateOrUpdateResponse>, StorageTargetsCreateOrUpdateResponse>>;
1307
+ /**
1308
+ * Create or update a Storage Target. This operation is allowed at any time, but if the Cache is down
1309
+ * or unhealthy, the actual creation/modification of the Storage Target may be delayed until the Cache
1310
+ * is healthy again.
1311
+ * @param resourceGroupName Target resource group.
1312
+ * @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be from
1313
+ * the [-0-9a-zA-Z_] char class.
1314
+ * @param storageTargetName Name of Storage Target.
1315
+ * @param options The options parameters.
1316
+ */
1317
+ beginCreateOrUpdateAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsCreateOrUpdateOptionalParams): Promise<StorageTargetsCreateOrUpdateResponse>;
1318
+ }
1319
+
1320
+ /** Optional parameters. */
1321
+ export declare interface StorageTargetsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1322
+ /** Object containing the definition of a Storage Target. */
1323
+ storagetarget?: StorageTarget;
1324
+ /** Delay to wait until next poll, in milliseconds. */
1325
+ updateIntervalInMs?: number;
1326
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1327
+ resumeFrom?: string;
1328
+ }
1329
+
1330
+ /** Contains response data for the createOrUpdate operation. */
1331
+ export declare type StorageTargetsCreateOrUpdateResponse = StorageTarget;
1332
+
1333
+ /** Optional parameters. */
1334
+ export declare interface StorageTargetsDeleteOptionalParams extends coreClient.OperationOptions {
1335
+ /** 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. */
1336
+ force?: string;
1337
+ /** Delay to wait until next poll, in milliseconds. */
1338
+ updateIntervalInMs?: number;
1339
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1340
+ resumeFrom?: string;
1341
+ }
1342
+
1343
+ /** Optional parameters. */
1344
+ export declare interface StorageTargetsDnsRefreshOptionalParams extends coreClient.OperationOptions {
1345
+ /** Delay to wait until next poll, in milliseconds. */
1346
+ updateIntervalInMs?: number;
1347
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1348
+ resumeFrom?: string;
1349
+ }
1350
+
1351
+ /** Optional parameters. */
1352
+ export declare interface StorageTargetsGetOptionalParams extends coreClient.OperationOptions {
1353
+ }
1354
+
1355
+ /** Contains response data for the get operation. */
1356
+ export declare type StorageTargetsGetResponse = StorageTarget;
1357
+
1358
+ /** Optional parameters. */
1359
+ export declare interface StorageTargetsListByCacheNextOptionalParams extends coreClient.OperationOptions {
1360
+ }
1361
+
1362
+ /** Contains response data for the listByCacheNext operation. */
1363
+ export declare type StorageTargetsListByCacheNextResponse = StorageTargetsResult;
1364
+
1365
+ /** Optional parameters. */
1366
+ export declare interface StorageTargetsListByCacheOptionalParams extends coreClient.OperationOptions {
1367
+ }
1368
+
1369
+ /** Contains response data for the listByCache operation. */
1370
+ export declare type StorageTargetsListByCacheResponse = StorageTargetsResult;
1371
+
1372
+ /** A list of Storage Targets. */
1373
+ export declare interface StorageTargetsResult {
1374
+ /** The URI to fetch the next page of Storage Targets. */
1375
+ nextLink?: string;
1376
+ /** The list of Storage Targets defined for the Cache. */
1377
+ value?: StorageTarget[];
1378
+ }
1379
+
1380
+ /** Optional parameters. */
1381
+ export declare interface StorageTargetSuspendOptionalParams extends coreClient.OperationOptions {
1382
+ /** Delay to wait until next poll, in milliseconds. */
1383
+ updateIntervalInMs?: number;
1384
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1385
+ resumeFrom?: string;
1386
+ }
1387
+
1388
+ /**
1389
+ * Defines values for StorageTargetType. \
1390
+ * {@link KnownStorageTargetType} can be used interchangeably with StorageTargetType,
1391
+ * this enum contains the known values that the service supports.
1392
+ * ### Known values supported by the service
1393
+ * **nfs3** \
1394
+ * **clfs** \
1395
+ * **unknown** \
1396
+ * **blobNfs**
1397
+ */
1398
+ export declare type StorageTargetType = string;
1399
+
1400
+ /** Metadata pertaining to creation and last modification of the resource. */
1401
+ export declare interface SystemData {
1402
+ /** The identity that created the resource. */
1403
+ createdBy?: string;
1404
+ /** The type of identity that created the resource. */
1405
+ createdByType?: CreatedByType;
1406
+ /** The timestamp of resource creation (UTC). */
1407
+ createdAt?: Date;
1408
+ /** The identity that last modified the resource. */
1409
+ lastModifiedBy?: string;
1410
+ /** The type of identity that last modified the resource. */
1411
+ lastModifiedByType?: CreatedByType;
1412
+ /** The timestamp of resource last modification (UTC) */
1413
+ lastModifiedAt?: Date;
1414
+ }
1415
+
1416
+ /** Properties pertaining to the UnknownTarget */
1417
+ export declare interface UnknownTarget {
1418
+ /** Dictionary of string->string pairs containing information about the Storage Target. */
1419
+ attributes?: {
1420
+ [propertyName: string]: string;
1421
+ };
1422
+ }
1423
+
1424
+ /** A usage model. */
1425
+ export declare interface UsageModel {
1426
+ /** Localized information describing this usage model. */
1427
+ display?: UsageModelDisplay;
1428
+ /** Non-localized keyword name for this usage model. */
1429
+ modelName?: string;
1430
+ /** The type of Storage Target to which this model is applicable (only nfs3 as of this version). */
1431
+ targetType?: string;
1432
+ }
1433
+
1434
+ /** Localized information describing this usage model. */
1435
+ export declare interface UsageModelDisplay {
1436
+ /** String to display for this usage model. */
1437
+ description?: string;
1438
+ }
1439
+
1440
+ /** Interface representing a UsageModels. */
1441
+ export declare interface UsageModels {
1442
+ /**
1443
+ * Get the list of Cache Usage Models available to this subscription.
1444
+ * @param options The options parameters.
1445
+ */
1446
+ list(options?: UsageModelsListOptionalParams): PagedAsyncIterableIterator<UsageModel>;
1447
+ }
1448
+
1449
+ /** Optional parameters. */
1450
+ export declare interface UsageModelsListNextOptionalParams extends coreClient.OperationOptions {
1451
+ }
1452
+
1453
+ /** Contains response data for the listNext operation. */
1454
+ export declare type UsageModelsListNextResponse = UsageModelsResult;
1455
+
1456
+ /** Optional parameters. */
1457
+ export declare interface UsageModelsListOptionalParams extends coreClient.OperationOptions {
1458
+ }
1459
+
1460
+ /** Contains response data for the list operation. */
1461
+ export declare type UsageModelsListResponse = UsageModelsResult;
1462
+
1463
+ /** A list of Cache usage models. */
1464
+ export declare interface UsageModelsResult {
1465
+ /** The URI to fetch the next page of Cache usage models. */
1466
+ nextLink?: string;
1467
+ /** The list of usage models available for the subscription. */
1468
+ value?: UsageModel[];
1469
+ }
1470
+
1471
+ export declare interface UserAssignedIdentitiesValue {
1472
+ /**
1473
+ * The principal ID of the user-assigned identity.
1474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1475
+ */
1476
+ readonly principalId?: string;
1477
+ /**
1478
+ * The client ID of the user-assigned identity.
1479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1480
+ */
1481
+ readonly clientId?: string;
1482
+ }
1483
+
1484
+ /**
1485
+ * Defines values for UsernameDownloadedType. \
1486
+ * {@link KnownUsernameDownloadedType} can be used interchangeably with UsernameDownloadedType,
1487
+ * this enum contains the known values that the service supports.
1488
+ * ### Known values supported by the service
1489
+ * **Yes** \
1490
+ * **No** \
1491
+ * **Error**
1492
+ */
1493
+ export declare type UsernameDownloadedType = string;
1494
+
1495
+ /**
1496
+ * Defines values for UsernameSource. \
1497
+ * {@link KnownUsernameSource} can be used interchangeably with UsernameSource,
1498
+ * this enum contains the known values that the service supports.
1499
+ * ### Known values supported by the service
1500
+ * **AD** \
1501
+ * **LDAP** \
1502
+ * **File** \
1503
+ * **None**
1504
+ */
1505
+ export declare type UsernameSource = string;
1506
+
1507
+ export { }