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