@azure/arm-storagecache 4.3.0 → 5.0.0

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