@azure/arm-netapp 24.1.0 → 25.0.0-beta.1

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 (545) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/api/accounts/index.d.ts +2 -2
  3. package/dist/browser/api/accounts/index.js +1 -1
  4. package/dist/browser/api/accounts/index.js.map +1 -1
  5. package/dist/browser/api/accounts/operations.d.ts +5 -1
  6. package/dist/browser/api/accounts/operations.js +59 -19
  7. package/dist/browser/api/accounts/operations.js.map +1 -1
  8. package/dist/browser/api/accounts/options.d.ts +5 -0
  9. package/dist/browser/api/accounts/options.js.map +1 -1
  10. package/dist/browser/api/activeDirectoryConfigs/index.d.ts +3 -0
  11. package/dist/browser/api/activeDirectoryConfigs/index.js +4 -0
  12. package/dist/browser/api/activeDirectoryConfigs/index.js.map +1 -0
  13. package/dist/browser/api/activeDirectoryConfigs/operations.d.ts +31 -0
  14. package/dist/browser/api/activeDirectoryConfigs/operations.js +207 -0
  15. package/dist/browser/api/activeDirectoryConfigs/operations.js.map +1 -0
  16. package/dist/browser/api/activeDirectoryConfigs/options.d.ts +26 -0
  17. package/dist/browser/api/activeDirectoryConfigs/options.js +4 -0
  18. package/dist/browser/api/activeDirectoryConfigs/options.js.map +1 -0
  19. package/dist/browser/api/backupPolicies/operations.js +13 -9
  20. package/dist/browser/api/backupPolicies/operations.js.map +1 -1
  21. package/dist/browser/api/backupVaults/operations.js +13 -9
  22. package/dist/browser/api/backupVaults/operations.js.map +1 -1
  23. package/dist/browser/api/backups/operations.js +15 -11
  24. package/dist/browser/api/backups/operations.js.map +1 -1
  25. package/dist/browser/api/backupsUnderAccount/operations.js +2 -2
  26. package/dist/browser/api/backupsUnderAccount/operations.js.map +1 -1
  27. package/dist/browser/api/backupsUnderBackupVault/operations.js +2 -2
  28. package/dist/browser/api/backupsUnderBackupVault/operations.js.map +1 -1
  29. package/dist/browser/api/backupsUnderVolume/operations.js +2 -2
  30. package/dist/browser/api/backupsUnderVolume/operations.js.map +1 -1
  31. package/dist/browser/api/buckets/operations.js +18 -14
  32. package/dist/browser/api/buckets/operations.js.map +1 -1
  33. package/dist/browser/api/caches/operations.js +18 -14
  34. package/dist/browser/api/caches/operations.js.map +1 -1
  35. package/dist/browser/api/elasticAccounts/index.d.ts +3 -0
  36. package/dist/browser/api/elasticAccounts/index.js +4 -0
  37. package/dist/browser/api/elasticAccounts/index.js.map +1 -0
  38. package/dist/browser/api/elasticAccounts/operations.d.ts +31 -0
  39. package/dist/browser/api/elasticAccounts/operations.js +207 -0
  40. package/dist/browser/api/elasticAccounts/operations.js.map +1 -0
  41. package/dist/browser/api/elasticAccounts/options.d.ts +26 -0
  42. package/dist/browser/api/elasticAccounts/options.js +4 -0
  43. package/dist/browser/api/elasticAccounts/options.js.map +1 -0
  44. package/dist/browser/api/elasticBackupPolicies/index.d.ts +3 -0
  45. package/dist/browser/api/elasticBackupPolicies/index.js +4 -0
  46. package/dist/browser/api/elasticBackupPolicies/index.js.map +1 -0
  47. package/dist/browser/api/elasticBackupPolicies/operations.d.ts +27 -0
  48. package/dist/browser/api/elasticBackupPolicies/operations.js +181 -0
  49. package/dist/browser/api/elasticBackupPolicies/operations.js.map +1 -0
  50. package/dist/browser/api/elasticBackupPolicies/options.d.ts +23 -0
  51. package/dist/browser/api/elasticBackupPolicies/options.js +4 -0
  52. package/dist/browser/api/elasticBackupPolicies/options.js.map +1 -0
  53. package/dist/browser/api/elasticBackupVaults/index.d.ts +3 -0
  54. package/dist/browser/api/elasticBackupVaults/index.js +4 -0
  55. package/dist/browser/api/elasticBackupVaults/index.js.map +1 -0
  56. package/dist/browser/api/elasticBackupVaults/operations.d.ts +27 -0
  57. package/dist/browser/api/elasticBackupVaults/operations.js +181 -0
  58. package/dist/browser/api/elasticBackupVaults/operations.js.map +1 -0
  59. package/dist/browser/api/elasticBackupVaults/options.d.ts +23 -0
  60. package/dist/browser/api/elasticBackupVaults/options.js +4 -0
  61. package/dist/browser/api/elasticBackupVaults/options.js.map +1 -0
  62. package/dist/browser/api/elasticBackups/index.d.ts +3 -0
  63. package/dist/browser/api/elasticBackups/index.js +4 -0
  64. package/dist/browser/api/elasticBackups/index.js.map +1 -0
  65. package/dist/browser/api/elasticBackups/operations.d.ts +27 -0
  66. package/dist/browser/api/elasticBackups/operations.js +186 -0
  67. package/dist/browser/api/elasticBackups/operations.js.map +1 -0
  68. package/dist/browser/api/elasticBackups/options.d.ts +23 -0
  69. package/dist/browser/api/elasticBackups/options.js +4 -0
  70. package/dist/browser/api/elasticBackups/options.js.map +1 -0
  71. package/dist/browser/api/elasticCapacityPools/index.d.ts +3 -0
  72. package/dist/browser/api/elasticCapacityPools/index.js +4 -0
  73. package/dist/browser/api/elasticCapacityPools/index.js.map +1 -0
  74. package/dist/browser/api/elasticCapacityPools/operations.d.ts +35 -0
  75. package/dist/browser/api/elasticCapacityPools/operations.js +256 -0
  76. package/dist/browser/api/elasticCapacityPools/operations.js.map +1 -0
  77. package/dist/browser/api/elasticCapacityPools/options.d.ts +31 -0
  78. package/dist/browser/api/elasticCapacityPools/options.js +4 -0
  79. package/dist/browser/api/elasticCapacityPools/options.js.map +1 -0
  80. package/dist/browser/api/elasticSnapshotPolicies/index.d.ts +3 -0
  81. package/dist/browser/api/elasticSnapshotPolicies/index.js +4 -0
  82. package/dist/browser/api/elasticSnapshotPolicies/index.js.map +1 -0
  83. package/dist/browser/api/elasticSnapshotPolicies/operations.d.ts +31 -0
  84. package/dist/browser/api/elasticSnapshotPolicies/operations.js +215 -0
  85. package/dist/browser/api/elasticSnapshotPolicies/operations.js.map +1 -0
  86. package/dist/browser/api/elasticSnapshotPolicies/options.d.ts +26 -0
  87. package/dist/browser/api/elasticSnapshotPolicies/options.js +4 -0
  88. package/dist/browser/api/elasticSnapshotPolicies/options.js.map +1 -0
  89. package/dist/browser/api/elasticSnapshots/index.d.ts +3 -0
  90. package/dist/browser/api/elasticSnapshots/index.js +4 -0
  91. package/dist/browser/api/elasticSnapshots/index.js.map +1 -0
  92. package/dist/browser/api/elasticSnapshots/operations.d.ts +23 -0
  93. package/dist/browser/api/elasticSnapshots/operations.js +151 -0
  94. package/dist/browser/api/elasticSnapshots/operations.js.map +1 -0
  95. package/dist/browser/api/elasticSnapshots/options.d.ts +18 -0
  96. package/dist/browser/api/elasticSnapshots/options.js +4 -0
  97. package/dist/browser/api/elasticSnapshots/options.js.map +1 -0
  98. package/dist/browser/api/elasticVolumes/index.d.ts +3 -0
  99. package/dist/browser/api/elasticVolumes/index.js +4 -0
  100. package/dist/browser/api/elasticVolumes/index.js.map +1 -0
  101. package/dist/browser/api/elasticVolumes/operations.d.ts +31 -0
  102. package/dist/browser/api/elasticVolumes/operations.js +225 -0
  103. package/dist/browser/api/elasticVolumes/operations.js.map +1 -0
  104. package/dist/browser/api/elasticVolumes/options.d.ts +28 -0
  105. package/dist/browser/api/elasticVolumes/options.js +4 -0
  106. package/dist/browser/api/elasticVolumes/options.js.map +1 -0
  107. package/dist/browser/api/netAppManagementContext.js +1 -1
  108. package/dist/browser/api/netAppManagementContext.js.map +1 -1
  109. package/dist/browser/api/netAppResource/operations.js +7 -7
  110. package/dist/browser/api/netAppResource/operations.js.map +1 -1
  111. package/dist/browser/api/netAppResourceQuotaLimits/operations.js +7 -3
  112. package/dist/browser/api/netAppResourceQuotaLimits/operations.js.map +1 -1
  113. package/dist/browser/api/netAppResourceQuotaLimitsAccount/operations.js +7 -3
  114. package/dist/browser/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
  115. package/dist/browser/api/netAppResourceRegionInfos/operations.js +7 -3
  116. package/dist/browser/api/netAppResourceRegionInfos/operations.js.map +1 -1
  117. package/dist/browser/api/netAppResourceUsages/operations.js +7 -3
  118. package/dist/browser/api/netAppResourceUsages/operations.js.map +1 -1
  119. package/dist/browser/api/operations/operations.js +6 -2
  120. package/dist/browser/api/operations/operations.js.map +1 -1
  121. package/dist/browser/api/pools/operations.js +13 -9
  122. package/dist/browser/api/pools/operations.js.map +1 -1
  123. package/dist/browser/api/ransomwareReports/operations.js +9 -5
  124. package/dist/browser/api/ransomwareReports/operations.js.map +1 -1
  125. package/dist/browser/api/snapshotPolicies/operations.js +13 -9
  126. package/dist/browser/api/snapshotPolicies/operations.js.map +1 -1
  127. package/dist/browser/api/snapshots/operations.js +15 -11
  128. package/dist/browser/api/snapshots/operations.js.map +1 -1
  129. package/dist/browser/api/subvolumes/operations.js +15 -11
  130. package/dist/browser/api/subvolumes/operations.js.map +1 -1
  131. package/dist/browser/api/volumeGroups/operations.js +11 -7
  132. package/dist/browser/api/volumeGroups/operations.js.map +1 -1
  133. package/dist/browser/api/volumeQuotaRules/operations.js +13 -9
  134. package/dist/browser/api/volumeQuotaRules/operations.js.map +1 -1
  135. package/dist/browser/api/volumes/operations.js +62 -54
  136. package/dist/browser/api/volumes/operations.js.map +1 -1
  137. package/dist/browser/classic/accounts/index.d.ts +3 -1
  138. package/dist/browser/classic/accounts/index.js +2 -1
  139. package/dist/browser/classic/accounts/index.js.map +1 -1
  140. package/dist/browser/classic/activeDirectoryConfigs/index.d.ts +22 -0
  141. package/dist/browser/classic/activeDirectoryConfigs/index.js +19 -0
  142. package/dist/browser/classic/activeDirectoryConfigs/index.js.map +1 -0
  143. package/dist/browser/classic/elasticAccounts/index.d.ts +22 -0
  144. package/dist/browser/classic/elasticAccounts/index.js +19 -0
  145. package/dist/browser/classic/elasticAccounts/index.js.map +1 -0
  146. package/dist/browser/classic/elasticBackupPolicies/index.d.ts +20 -0
  147. package/dist/browser/classic/elasticBackupPolicies/index.js +18 -0
  148. package/dist/browser/classic/elasticBackupPolicies/index.js.map +1 -0
  149. package/dist/browser/classic/elasticBackupVaults/index.d.ts +20 -0
  150. package/dist/browser/classic/elasticBackupVaults/index.js +18 -0
  151. package/dist/browser/classic/elasticBackupVaults/index.js.map +1 -0
  152. package/dist/browser/classic/elasticBackups/index.d.ts +20 -0
  153. package/dist/browser/classic/elasticBackups/index.js +18 -0
  154. package/dist/browser/classic/elasticBackups/index.js.map +1 -0
  155. package/dist/browser/classic/elasticCapacityPools/index.d.ts +24 -0
  156. package/dist/browser/classic/elasticCapacityPools/index.js +20 -0
  157. package/dist/browser/classic/elasticCapacityPools/index.js.map +1 -0
  158. package/dist/browser/classic/elasticSnapshotPolicies/index.d.ts +22 -0
  159. package/dist/browser/classic/elasticSnapshotPolicies/index.js +19 -0
  160. package/dist/browser/classic/elasticSnapshotPolicies/index.js.map +1 -0
  161. package/dist/browser/classic/elasticSnapshots/index.d.ts +18 -0
  162. package/dist/browser/classic/elasticSnapshots/index.js +17 -0
  163. package/dist/browser/classic/elasticSnapshots/index.js.map +1 -0
  164. package/dist/browser/classic/elasticVolumes/index.d.ts +22 -0
  165. package/dist/browser/classic/elasticVolumes/index.js +19 -0
  166. package/dist/browser/classic/elasticVolumes/index.js.map +1 -0
  167. package/dist/browser/classic/index.d.ts +9 -0
  168. package/dist/browser/classic/index.js.map +1 -1
  169. package/dist/browser/index.d.ts +13 -4
  170. package/dist/browser/index.js +1 -1
  171. package/dist/browser/index.js.map +1 -1
  172. package/dist/browser/models/index.d.ts +2 -2
  173. package/dist/browser/models/index.js +1 -1
  174. package/dist/browser/models/index.js.map +1 -1
  175. package/dist/browser/models/models.d.ts +1639 -343
  176. package/dist/browser/models/models.js +1791 -284
  177. package/dist/browser/models/models.js.map +1 -1
  178. package/dist/browser/netAppManagementClient.d.ts +27 -0
  179. package/dist/browser/netAppManagementClient.js +36 -0
  180. package/dist/browser/netAppManagementClient.js.map +1 -1
  181. package/dist/browser/restorePollerHelpers.js +98 -3
  182. package/dist/browser/restorePollerHelpers.js.map +1 -1
  183. package/dist/commonjs/api/accounts/index.d.ts +2 -2
  184. package/dist/commonjs/api/accounts/index.js +2 -0
  185. package/dist/commonjs/api/accounts/index.js.map +2 -2
  186. package/dist/commonjs/api/accounts/operations.d.ts +5 -1
  187. package/dist/commonjs/api/accounts/operations.js +68 -19
  188. package/dist/commonjs/api/accounts/operations.js.map +2 -2
  189. package/dist/commonjs/api/accounts/options.d.ts +5 -0
  190. package/dist/commonjs/api/accounts/options.js.map +1 -1
  191. package/dist/commonjs/api/activeDirectoryConfigs/index.d.ts +3 -0
  192. package/dist/commonjs/api/activeDirectoryConfigs/index.js +38 -0
  193. package/dist/commonjs/api/activeDirectoryConfigs/index.js.map +7 -0
  194. package/dist/commonjs/api/activeDirectoryConfigs/operations.d.ts +31 -0
  195. package/dist/commonjs/api/activeDirectoryConfigs/operations.js +295 -0
  196. package/dist/commonjs/api/activeDirectoryConfigs/operations.js.map +7 -0
  197. package/dist/commonjs/api/activeDirectoryConfigs/options.d.ts +26 -0
  198. package/dist/commonjs/api/activeDirectoryConfigs/options.js +16 -0
  199. package/dist/commonjs/api/activeDirectoryConfigs/options.js.map +7 -0
  200. package/dist/commonjs/api/backupPolicies/operations.js +13 -9
  201. package/dist/commonjs/api/backupPolicies/operations.js.map +2 -2
  202. package/dist/commonjs/api/backupVaults/operations.js +13 -9
  203. package/dist/commonjs/api/backupVaults/operations.js.map +2 -2
  204. package/dist/commonjs/api/backups/operations.js +15 -11
  205. package/dist/commonjs/api/backups/operations.js.map +2 -2
  206. package/dist/commonjs/api/backupsUnderAccount/operations.js +2 -2
  207. package/dist/commonjs/api/backupsUnderAccount/operations.js.map +1 -1
  208. package/dist/commonjs/api/backupsUnderBackupVault/operations.js +2 -2
  209. package/dist/commonjs/api/backupsUnderBackupVault/operations.js.map +1 -1
  210. package/dist/commonjs/api/backupsUnderVolume/operations.js +2 -2
  211. package/dist/commonjs/api/backupsUnderVolume/operations.js.map +1 -1
  212. package/dist/commonjs/api/buckets/operations.js +18 -14
  213. package/dist/commonjs/api/buckets/operations.js.map +2 -2
  214. package/dist/commonjs/api/caches/operations.js +18 -14
  215. package/dist/commonjs/api/caches/operations.js.map +2 -2
  216. package/dist/commonjs/api/elasticAccounts/index.d.ts +3 -0
  217. package/dist/commonjs/api/elasticAccounts/index.js +38 -0
  218. package/dist/commonjs/api/elasticAccounts/index.js.map +7 -0
  219. package/dist/commonjs/api/elasticAccounts/operations.d.ts +31 -0
  220. package/dist/commonjs/api/elasticAccounts/operations.js +295 -0
  221. package/dist/commonjs/api/elasticAccounts/operations.js.map +7 -0
  222. package/dist/commonjs/api/elasticAccounts/options.d.ts +26 -0
  223. package/dist/commonjs/api/elasticAccounts/options.js +16 -0
  224. package/dist/commonjs/api/elasticAccounts/options.js.map +7 -0
  225. package/dist/commonjs/api/elasticBackupPolicies/index.d.ts +3 -0
  226. package/dist/commonjs/api/elasticBackupPolicies/index.js +36 -0
  227. package/dist/commonjs/api/elasticBackupPolicies/index.js.map +7 -0
  228. package/dist/commonjs/api/elasticBackupPolicies/operations.d.ts +27 -0
  229. package/dist/commonjs/api/elasticBackupPolicies/operations.js +254 -0
  230. package/dist/commonjs/api/elasticBackupPolicies/operations.js.map +7 -0
  231. package/dist/commonjs/api/elasticBackupPolicies/options.d.ts +23 -0
  232. package/dist/commonjs/api/elasticBackupPolicies/options.js +16 -0
  233. package/dist/commonjs/api/elasticBackupPolicies/options.js.map +7 -0
  234. package/dist/commonjs/api/elasticBackupVaults/index.d.ts +3 -0
  235. package/dist/commonjs/api/elasticBackupVaults/index.js +36 -0
  236. package/dist/commonjs/api/elasticBackupVaults/index.js.map +7 -0
  237. package/dist/commonjs/api/elasticBackupVaults/operations.d.ts +27 -0
  238. package/dist/commonjs/api/elasticBackupVaults/operations.js +254 -0
  239. package/dist/commonjs/api/elasticBackupVaults/operations.js.map +7 -0
  240. package/dist/commonjs/api/elasticBackupVaults/options.d.ts +23 -0
  241. package/dist/commonjs/api/elasticBackupVaults/options.js +16 -0
  242. package/dist/commonjs/api/elasticBackupVaults/options.js.map +7 -0
  243. package/dist/commonjs/api/elasticBackups/index.d.ts +3 -0
  244. package/dist/commonjs/api/elasticBackups/index.js +36 -0
  245. package/dist/commonjs/api/elasticBackups/index.js.map +7 -0
  246. package/dist/commonjs/api/elasticBackups/operations.d.ts +27 -0
  247. package/dist/commonjs/api/elasticBackups/operations.js +282 -0
  248. package/dist/commonjs/api/elasticBackups/operations.js.map +7 -0
  249. package/dist/commonjs/api/elasticBackups/options.d.ts +23 -0
  250. package/dist/commonjs/api/elasticBackups/options.js +16 -0
  251. package/dist/commonjs/api/elasticBackups/options.js.map +7 -0
  252. package/dist/commonjs/api/elasticCapacityPools/index.d.ts +3 -0
  253. package/dist/commonjs/api/elasticCapacityPools/index.js +40 -0
  254. package/dist/commonjs/api/elasticCapacityPools/index.js.map +7 -0
  255. package/dist/commonjs/api/elasticCapacityPools/operations.d.ts +35 -0
  256. package/dist/commonjs/api/elasticCapacityPools/operations.js +354 -0
  257. package/dist/commonjs/api/elasticCapacityPools/operations.js.map +7 -0
  258. package/dist/commonjs/api/elasticCapacityPools/options.d.ts +31 -0
  259. package/dist/commonjs/api/elasticCapacityPools/options.js +16 -0
  260. package/dist/commonjs/api/elasticCapacityPools/options.js.map +7 -0
  261. package/dist/commonjs/api/elasticSnapshotPolicies/index.d.ts +3 -0
  262. package/dist/commonjs/api/elasticSnapshotPolicies/index.js +38 -0
  263. package/dist/commonjs/api/elasticSnapshotPolicies/index.js.map +7 -0
  264. package/dist/commonjs/api/elasticSnapshotPolicies/operations.d.ts +31 -0
  265. package/dist/commonjs/api/elasticSnapshotPolicies/operations.js +316 -0
  266. package/dist/commonjs/api/elasticSnapshotPolicies/operations.js.map +7 -0
  267. package/dist/commonjs/api/elasticSnapshotPolicies/options.d.ts +26 -0
  268. package/dist/commonjs/api/elasticSnapshotPolicies/options.js +16 -0
  269. package/dist/commonjs/api/elasticSnapshotPolicies/options.js.map +7 -0
  270. package/dist/commonjs/api/elasticSnapshots/index.d.ts +3 -0
  271. package/dist/commonjs/api/elasticSnapshots/index.js +34 -0
  272. package/dist/commonjs/api/elasticSnapshots/index.js.map +7 -0
  273. package/dist/commonjs/api/elasticSnapshots/operations.d.ts +23 -0
  274. package/dist/commonjs/api/elasticSnapshots/operations.js +247 -0
  275. package/dist/commonjs/api/elasticSnapshots/operations.js.map +7 -0
  276. package/dist/commonjs/api/elasticSnapshots/options.d.ts +18 -0
  277. package/dist/commonjs/api/elasticSnapshots/options.js +16 -0
  278. package/dist/commonjs/api/elasticSnapshots/options.js.map +7 -0
  279. package/dist/commonjs/api/elasticVolumes/index.d.ts +3 -0
  280. package/dist/commonjs/api/elasticVolumes/index.js +38 -0
  281. package/dist/commonjs/api/elasticVolumes/index.js.map +7 -0
  282. package/dist/commonjs/api/elasticVolumes/operations.d.ts +31 -0
  283. package/dist/commonjs/api/elasticVolumes/operations.js +322 -0
  284. package/dist/commonjs/api/elasticVolumes/operations.js.map +7 -0
  285. package/dist/commonjs/api/elasticVolumes/options.d.ts +28 -0
  286. package/dist/commonjs/api/elasticVolumes/options.js +16 -0
  287. package/dist/commonjs/api/elasticVolumes/options.js.map +7 -0
  288. package/dist/commonjs/api/netAppManagementContext.js +1 -1
  289. package/dist/commonjs/api/netAppManagementContext.js.map +1 -1
  290. package/dist/commonjs/api/netAppResource/operations.js +7 -7
  291. package/dist/commonjs/api/netAppResource/operations.js.map +1 -1
  292. package/dist/commonjs/api/netAppResourceQuotaLimits/operations.js +7 -3
  293. package/dist/commonjs/api/netAppResourceQuotaLimits/operations.js.map +2 -2
  294. package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/operations.js +7 -3
  295. package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/operations.js.map +2 -2
  296. package/dist/commonjs/api/netAppResourceRegionInfos/operations.js +7 -3
  297. package/dist/commonjs/api/netAppResourceRegionInfos/operations.js.map +2 -2
  298. package/dist/commonjs/api/netAppResourceUsages/operations.js +7 -3
  299. package/dist/commonjs/api/netAppResourceUsages/operations.js.map +2 -2
  300. package/dist/commonjs/api/operations/operations.js +6 -2
  301. package/dist/commonjs/api/operations/operations.js.map +2 -2
  302. package/dist/commonjs/api/pools/operations.js +13 -9
  303. package/dist/commonjs/api/pools/operations.js.map +2 -2
  304. package/dist/commonjs/api/ransomwareReports/operations.js +9 -5
  305. package/dist/commonjs/api/ransomwareReports/operations.js.map +2 -2
  306. package/dist/commonjs/api/snapshotPolicies/operations.js +13 -9
  307. package/dist/commonjs/api/snapshotPolicies/operations.js.map +2 -2
  308. package/dist/commonjs/api/snapshots/operations.js +15 -11
  309. package/dist/commonjs/api/snapshots/operations.js.map +2 -2
  310. package/dist/commonjs/api/subvolumes/operations.js +15 -11
  311. package/dist/commonjs/api/subvolumes/operations.js.map +2 -2
  312. package/dist/commonjs/api/volumeGroups/operations.js +11 -7
  313. package/dist/commonjs/api/volumeGroups/operations.js.map +2 -2
  314. package/dist/commonjs/api/volumeQuotaRules/operations.js +13 -9
  315. package/dist/commonjs/api/volumeQuotaRules/operations.js.map +2 -2
  316. package/dist/commonjs/api/volumes/operations.js +62 -54
  317. package/dist/commonjs/api/volumes/operations.js.map +2 -2
  318. package/dist/commonjs/classic/accounts/index.d.ts +3 -1
  319. package/dist/commonjs/classic/accounts/index.js +1 -0
  320. package/dist/commonjs/classic/accounts/index.js.map +2 -2
  321. package/dist/commonjs/classic/activeDirectoryConfigs/index.d.ts +22 -0
  322. package/dist/commonjs/classic/activeDirectoryConfigs/index.js +43 -0
  323. package/dist/commonjs/classic/activeDirectoryConfigs/index.js.map +7 -0
  324. package/dist/commonjs/classic/elasticAccounts/index.d.ts +22 -0
  325. package/dist/commonjs/classic/elasticAccounts/index.js +43 -0
  326. package/dist/commonjs/classic/elasticAccounts/index.js.map +7 -0
  327. package/dist/commonjs/classic/elasticBackupPolicies/index.d.ts +20 -0
  328. package/dist/commonjs/classic/elasticBackupPolicies/index.js +42 -0
  329. package/dist/commonjs/classic/elasticBackupPolicies/index.js.map +7 -0
  330. package/dist/commonjs/classic/elasticBackupVaults/index.d.ts +20 -0
  331. package/dist/commonjs/classic/elasticBackupVaults/index.js +42 -0
  332. package/dist/commonjs/classic/elasticBackupVaults/index.js.map +7 -0
  333. package/dist/commonjs/classic/elasticBackups/index.d.ts +20 -0
  334. package/dist/commonjs/classic/elasticBackups/index.js +50 -0
  335. package/dist/commonjs/classic/elasticBackups/index.js.map +7 -0
  336. package/dist/commonjs/classic/elasticCapacityPools/index.d.ts +24 -0
  337. package/dist/commonjs/classic/elasticCapacityPools/index.js +51 -0
  338. package/dist/commonjs/classic/elasticCapacityPools/index.js.map +7 -0
  339. package/dist/commonjs/classic/elasticSnapshotPolicies/index.d.ts +22 -0
  340. package/dist/commonjs/classic/elasticSnapshotPolicies/index.js +43 -0
  341. package/dist/commonjs/classic/elasticSnapshotPolicies/index.js.map +7 -0
  342. package/dist/commonjs/classic/elasticSnapshots/index.d.ts +18 -0
  343. package/dist/commonjs/classic/elasticSnapshots/index.js +50 -0
  344. package/dist/commonjs/classic/elasticSnapshots/index.js.map +7 -0
  345. package/dist/commonjs/classic/elasticVolumes/index.d.ts +22 -0
  346. package/dist/commonjs/classic/elasticVolumes/index.js +43 -0
  347. package/dist/commonjs/classic/elasticVolumes/index.js.map +7 -0
  348. package/dist/commonjs/classic/index.d.ts +9 -0
  349. package/dist/commonjs/classic/index.js.map +1 -1
  350. package/dist/commonjs/index.d.ts +13 -4
  351. package/dist/commonjs/index.js +48 -0
  352. package/dist/commonjs/index.js.map +2 -2
  353. package/dist/commonjs/models/index.d.ts +2 -2
  354. package/dist/commonjs/models/index.js +48 -0
  355. package/dist/commonjs/models/index.js.map +2 -2
  356. package/dist/commonjs/models/models.d.ts +1639 -343
  357. package/dist/commonjs/models/models.js +1653 -184
  358. package/dist/commonjs/models/models.js.map +3 -3
  359. package/dist/commonjs/netAppManagementClient.d.ts +27 -0
  360. package/dist/commonjs/netAppManagementClient.js +36 -0
  361. package/dist/commonjs/netAppManagementClient.js.map +2 -2
  362. package/dist/commonjs/restorePollerHelpers.js +161 -66
  363. package/dist/commonjs/restorePollerHelpers.js.map +3 -3
  364. package/dist/esm/api/accounts/index.d.ts +2 -2
  365. package/dist/esm/api/accounts/index.js +1 -1
  366. package/dist/esm/api/accounts/index.js.map +1 -1
  367. package/dist/esm/api/accounts/operations.d.ts +5 -1
  368. package/dist/esm/api/accounts/operations.js +59 -19
  369. package/dist/esm/api/accounts/operations.js.map +1 -1
  370. package/dist/esm/api/accounts/options.d.ts +5 -0
  371. package/dist/esm/api/accounts/options.js.map +1 -1
  372. package/dist/esm/api/activeDirectoryConfigs/index.d.ts +3 -0
  373. package/dist/esm/api/activeDirectoryConfigs/index.js +4 -0
  374. package/dist/esm/api/activeDirectoryConfigs/index.js.map +1 -0
  375. package/dist/esm/api/activeDirectoryConfigs/operations.d.ts +31 -0
  376. package/dist/esm/api/activeDirectoryConfigs/operations.js +207 -0
  377. package/dist/esm/api/activeDirectoryConfigs/operations.js.map +1 -0
  378. package/dist/esm/api/activeDirectoryConfigs/options.d.ts +26 -0
  379. package/dist/esm/api/activeDirectoryConfigs/options.js +4 -0
  380. package/dist/esm/api/activeDirectoryConfigs/options.js.map +1 -0
  381. package/dist/esm/api/backupPolicies/operations.js +13 -9
  382. package/dist/esm/api/backupPolicies/operations.js.map +1 -1
  383. package/dist/esm/api/backupVaults/operations.js +13 -9
  384. package/dist/esm/api/backupVaults/operations.js.map +1 -1
  385. package/dist/esm/api/backups/operations.js +15 -11
  386. package/dist/esm/api/backups/operations.js.map +1 -1
  387. package/dist/esm/api/backupsUnderAccount/operations.js +2 -2
  388. package/dist/esm/api/backupsUnderAccount/operations.js.map +1 -1
  389. package/dist/esm/api/backupsUnderBackupVault/operations.js +2 -2
  390. package/dist/esm/api/backupsUnderBackupVault/operations.js.map +1 -1
  391. package/dist/esm/api/backupsUnderVolume/operations.js +2 -2
  392. package/dist/esm/api/backupsUnderVolume/operations.js.map +1 -1
  393. package/dist/esm/api/buckets/operations.js +18 -14
  394. package/dist/esm/api/buckets/operations.js.map +1 -1
  395. package/dist/esm/api/caches/operations.js +18 -14
  396. package/dist/esm/api/caches/operations.js.map +1 -1
  397. package/dist/esm/api/elasticAccounts/index.d.ts +3 -0
  398. package/dist/esm/api/elasticAccounts/index.js +4 -0
  399. package/dist/esm/api/elasticAccounts/index.js.map +1 -0
  400. package/dist/esm/api/elasticAccounts/operations.d.ts +31 -0
  401. package/dist/esm/api/elasticAccounts/operations.js +207 -0
  402. package/dist/esm/api/elasticAccounts/operations.js.map +1 -0
  403. package/dist/esm/api/elasticAccounts/options.d.ts +26 -0
  404. package/dist/esm/api/elasticAccounts/options.js +4 -0
  405. package/dist/esm/api/elasticAccounts/options.js.map +1 -0
  406. package/dist/esm/api/elasticBackupPolicies/index.d.ts +3 -0
  407. package/dist/esm/api/elasticBackupPolicies/index.js +4 -0
  408. package/dist/esm/api/elasticBackupPolicies/index.js.map +1 -0
  409. package/dist/esm/api/elasticBackupPolicies/operations.d.ts +27 -0
  410. package/dist/esm/api/elasticBackupPolicies/operations.js +181 -0
  411. package/dist/esm/api/elasticBackupPolicies/operations.js.map +1 -0
  412. package/dist/esm/api/elasticBackupPolicies/options.d.ts +23 -0
  413. package/dist/esm/api/elasticBackupPolicies/options.js +4 -0
  414. package/dist/esm/api/elasticBackupPolicies/options.js.map +1 -0
  415. package/dist/esm/api/elasticBackupVaults/index.d.ts +3 -0
  416. package/dist/esm/api/elasticBackupVaults/index.js +4 -0
  417. package/dist/esm/api/elasticBackupVaults/index.js.map +1 -0
  418. package/dist/esm/api/elasticBackupVaults/operations.d.ts +27 -0
  419. package/dist/esm/api/elasticBackupVaults/operations.js +181 -0
  420. package/dist/esm/api/elasticBackupVaults/operations.js.map +1 -0
  421. package/dist/esm/api/elasticBackupVaults/options.d.ts +23 -0
  422. package/dist/esm/api/elasticBackupVaults/options.js +4 -0
  423. package/dist/esm/api/elasticBackupVaults/options.js.map +1 -0
  424. package/dist/esm/api/elasticBackups/index.d.ts +3 -0
  425. package/dist/esm/api/elasticBackups/index.js +4 -0
  426. package/dist/esm/api/elasticBackups/index.js.map +1 -0
  427. package/dist/esm/api/elasticBackups/operations.d.ts +27 -0
  428. package/dist/esm/api/elasticBackups/operations.js +186 -0
  429. package/dist/esm/api/elasticBackups/operations.js.map +1 -0
  430. package/dist/esm/api/elasticBackups/options.d.ts +23 -0
  431. package/dist/esm/api/elasticBackups/options.js +4 -0
  432. package/dist/esm/api/elasticBackups/options.js.map +1 -0
  433. package/dist/esm/api/elasticCapacityPools/index.d.ts +3 -0
  434. package/dist/esm/api/elasticCapacityPools/index.js +4 -0
  435. package/dist/esm/api/elasticCapacityPools/index.js.map +1 -0
  436. package/dist/esm/api/elasticCapacityPools/operations.d.ts +35 -0
  437. package/dist/esm/api/elasticCapacityPools/operations.js +256 -0
  438. package/dist/esm/api/elasticCapacityPools/operations.js.map +1 -0
  439. package/dist/esm/api/elasticCapacityPools/options.d.ts +31 -0
  440. package/dist/esm/api/elasticCapacityPools/options.js +4 -0
  441. package/dist/esm/api/elasticCapacityPools/options.js.map +1 -0
  442. package/dist/esm/api/elasticSnapshotPolicies/index.d.ts +3 -0
  443. package/dist/esm/api/elasticSnapshotPolicies/index.js +4 -0
  444. package/dist/esm/api/elasticSnapshotPolicies/index.js.map +1 -0
  445. package/dist/esm/api/elasticSnapshotPolicies/operations.d.ts +31 -0
  446. package/dist/esm/api/elasticSnapshotPolicies/operations.js +215 -0
  447. package/dist/esm/api/elasticSnapshotPolicies/operations.js.map +1 -0
  448. package/dist/esm/api/elasticSnapshotPolicies/options.d.ts +26 -0
  449. package/dist/esm/api/elasticSnapshotPolicies/options.js +4 -0
  450. package/dist/esm/api/elasticSnapshotPolicies/options.js.map +1 -0
  451. package/dist/esm/api/elasticSnapshots/index.d.ts +3 -0
  452. package/dist/esm/api/elasticSnapshots/index.js +4 -0
  453. package/dist/esm/api/elasticSnapshots/index.js.map +1 -0
  454. package/dist/esm/api/elasticSnapshots/operations.d.ts +23 -0
  455. package/dist/esm/api/elasticSnapshots/operations.js +151 -0
  456. package/dist/esm/api/elasticSnapshots/operations.js.map +1 -0
  457. package/dist/esm/api/elasticSnapshots/options.d.ts +18 -0
  458. package/dist/esm/api/elasticSnapshots/options.js +4 -0
  459. package/dist/esm/api/elasticSnapshots/options.js.map +1 -0
  460. package/dist/esm/api/elasticVolumes/index.d.ts +3 -0
  461. package/dist/esm/api/elasticVolumes/index.js +4 -0
  462. package/dist/esm/api/elasticVolumes/index.js.map +1 -0
  463. package/dist/esm/api/elasticVolumes/operations.d.ts +31 -0
  464. package/dist/esm/api/elasticVolumes/operations.js +225 -0
  465. package/dist/esm/api/elasticVolumes/operations.js.map +1 -0
  466. package/dist/esm/api/elasticVolumes/options.d.ts +28 -0
  467. package/dist/esm/api/elasticVolumes/options.js +4 -0
  468. package/dist/esm/api/elasticVolumes/options.js.map +1 -0
  469. package/dist/esm/api/netAppManagementContext.js +1 -1
  470. package/dist/esm/api/netAppManagementContext.js.map +1 -1
  471. package/dist/esm/api/netAppResource/operations.js +7 -7
  472. package/dist/esm/api/netAppResource/operations.js.map +1 -1
  473. package/dist/esm/api/netAppResourceQuotaLimits/operations.js +7 -3
  474. package/dist/esm/api/netAppResourceQuotaLimits/operations.js.map +1 -1
  475. package/dist/esm/api/netAppResourceQuotaLimitsAccount/operations.js +7 -3
  476. package/dist/esm/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
  477. package/dist/esm/api/netAppResourceRegionInfos/operations.js +7 -3
  478. package/dist/esm/api/netAppResourceRegionInfos/operations.js.map +1 -1
  479. package/dist/esm/api/netAppResourceUsages/operations.js +7 -3
  480. package/dist/esm/api/netAppResourceUsages/operations.js.map +1 -1
  481. package/dist/esm/api/operations/operations.js +6 -2
  482. package/dist/esm/api/operations/operations.js.map +1 -1
  483. package/dist/esm/api/pools/operations.js +13 -9
  484. package/dist/esm/api/pools/operations.js.map +1 -1
  485. package/dist/esm/api/ransomwareReports/operations.js +9 -5
  486. package/dist/esm/api/ransomwareReports/operations.js.map +1 -1
  487. package/dist/esm/api/snapshotPolicies/operations.js +13 -9
  488. package/dist/esm/api/snapshotPolicies/operations.js.map +1 -1
  489. package/dist/esm/api/snapshots/operations.js +15 -11
  490. package/dist/esm/api/snapshots/operations.js.map +1 -1
  491. package/dist/esm/api/subvolumes/operations.js +15 -11
  492. package/dist/esm/api/subvolumes/operations.js.map +1 -1
  493. package/dist/esm/api/volumeGroups/operations.js +11 -7
  494. package/dist/esm/api/volumeGroups/operations.js.map +1 -1
  495. package/dist/esm/api/volumeQuotaRules/operations.js +13 -9
  496. package/dist/esm/api/volumeQuotaRules/operations.js.map +1 -1
  497. package/dist/esm/api/volumes/operations.js +62 -54
  498. package/dist/esm/api/volumes/operations.js.map +1 -1
  499. package/dist/esm/classic/accounts/index.d.ts +3 -1
  500. package/dist/esm/classic/accounts/index.js +2 -1
  501. package/dist/esm/classic/accounts/index.js.map +1 -1
  502. package/dist/esm/classic/activeDirectoryConfigs/index.d.ts +22 -0
  503. package/dist/esm/classic/activeDirectoryConfigs/index.js +19 -0
  504. package/dist/esm/classic/activeDirectoryConfigs/index.js.map +1 -0
  505. package/dist/esm/classic/elasticAccounts/index.d.ts +22 -0
  506. package/dist/esm/classic/elasticAccounts/index.js +19 -0
  507. package/dist/esm/classic/elasticAccounts/index.js.map +1 -0
  508. package/dist/esm/classic/elasticBackupPolicies/index.d.ts +20 -0
  509. package/dist/esm/classic/elasticBackupPolicies/index.js +18 -0
  510. package/dist/esm/classic/elasticBackupPolicies/index.js.map +1 -0
  511. package/dist/esm/classic/elasticBackupVaults/index.d.ts +20 -0
  512. package/dist/esm/classic/elasticBackupVaults/index.js +18 -0
  513. package/dist/esm/classic/elasticBackupVaults/index.js.map +1 -0
  514. package/dist/esm/classic/elasticBackups/index.d.ts +20 -0
  515. package/dist/esm/classic/elasticBackups/index.js +18 -0
  516. package/dist/esm/classic/elasticBackups/index.js.map +1 -0
  517. package/dist/esm/classic/elasticCapacityPools/index.d.ts +24 -0
  518. package/dist/esm/classic/elasticCapacityPools/index.js +20 -0
  519. package/dist/esm/classic/elasticCapacityPools/index.js.map +1 -0
  520. package/dist/esm/classic/elasticSnapshotPolicies/index.d.ts +22 -0
  521. package/dist/esm/classic/elasticSnapshotPolicies/index.js +19 -0
  522. package/dist/esm/classic/elasticSnapshotPolicies/index.js.map +1 -0
  523. package/dist/esm/classic/elasticSnapshots/index.d.ts +18 -0
  524. package/dist/esm/classic/elasticSnapshots/index.js +17 -0
  525. package/dist/esm/classic/elasticSnapshots/index.js.map +1 -0
  526. package/dist/esm/classic/elasticVolumes/index.d.ts +22 -0
  527. package/dist/esm/classic/elasticVolumes/index.js +19 -0
  528. package/dist/esm/classic/elasticVolumes/index.js.map +1 -0
  529. package/dist/esm/classic/index.d.ts +9 -0
  530. package/dist/esm/classic/index.js.map +1 -1
  531. package/dist/esm/index.d.ts +13 -4
  532. package/dist/esm/index.js +1 -1
  533. package/dist/esm/index.js.map +1 -1
  534. package/dist/esm/models/index.d.ts +2 -2
  535. package/dist/esm/models/index.js +1 -1
  536. package/dist/esm/models/index.js.map +1 -1
  537. package/dist/esm/models/models.d.ts +1639 -343
  538. package/dist/esm/models/models.js +1791 -284
  539. package/dist/esm/models/models.js.map +1 -1
  540. package/dist/esm/netAppManagementClient.d.ts +27 -0
  541. package/dist/esm/netAppManagementClient.js +36 -0
  542. package/dist/esm/netAppManagementClient.js.map +1 -1
  543. package/dist/esm/restorePollerHelpers.js +98 -3
  544. package/dist/esm/restorePollerHelpers.js.map +1 -1
  545. package/package.json +129 -3
@@ -385,6 +385,7 @@ export function volumePropertiesSerializer(item) {
385
385
  encryptionKeySource: item["encryptionKeySource"],
386
386
  keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"],
387
387
  ldapEnabled: item["ldapEnabled"],
388
+ ldapServerType: item["ldapServerType"],
388
389
  coolAccess: item["coolAccess"],
389
390
  coolnessPeriod: item["coolnessPeriod"],
390
391
  coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"],
@@ -402,6 +403,9 @@ export function volumePropertiesSerializer(item) {
402
403
  : placementKeyValuePairsArraySerializer(item["placementRules"]),
403
404
  enableSubvolumes: item["enableSubvolumes"],
404
405
  isLargeVolume: item["isLargeVolume"],
406
+ largeVolumeType: item["largeVolumeType"],
407
+ language: item["language"],
408
+ breakthroughMode: item["breakthroughMode"],
405
409
  };
406
410
  }
407
411
  export function volumePropertiesDeserializer(item) {
@@ -449,6 +453,7 @@ export function volumePropertiesDeserializer(item) {
449
453
  encryptionKeySource: item["encryptionKeySource"],
450
454
  keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"],
451
455
  ldapEnabled: item["ldapEnabled"],
456
+ ldapServerType: item["ldapServerType"],
452
457
  coolAccess: item["coolAccess"],
453
458
  coolnessPeriod: item["coolnessPeriod"],
454
459
  coolAccessRetrievalPolicy: item["coolAccessRetrievalPolicy"],
@@ -478,8 +483,11 @@ export function volumePropertiesDeserializer(item) {
478
483
  enableSubvolumes: item["enableSubvolumes"],
479
484
  provisionedAvailabilityZone: item["provisionedAvailabilityZone"],
480
485
  isLargeVolume: item["isLargeVolume"],
486
+ largeVolumeType: item["largeVolumeType"],
481
487
  originatingResourceId: item["originatingResourceId"],
482
488
  inheritedSizeInBytes: item["inheritedSizeInBytes"],
489
+ language: item["language"],
490
+ breakthroughMode: item["breakthroughMode"],
483
491
  };
484
492
  }
485
493
  /** The service level of the file system */
@@ -843,6 +851,14 @@ export var KnownEncryptionKeySource;
843
851
  /** Customer-managed key encryption */
844
852
  KnownEncryptionKeySource["MicrosoftKeyVault"] = "Microsoft.KeyVault";
845
853
  })(KnownEncryptionKeySource || (KnownEncryptionKeySource = {}));
854
+ /** The type of the LDAP server */
855
+ export var KnownLdapServerType;
856
+ (function (KnownLdapServerType) {
857
+ /** The volume should use Active Directory for LDAP connections. */
858
+ KnownLdapServerType["ActiveDirectory"] = "ActiveDirectory";
859
+ /** The volume should use OpenLDAP for LDAP connections. */
860
+ KnownLdapServerType["OpenLdap"] = "OpenLDAP";
861
+ })(KnownLdapServerType || (KnownLdapServerType = {}));
846
862
  /**
847
863
  * coolAccessRetrievalPolicy determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes. The possible values for this field are:
848
864
  * Default - Data will be pulled from cool tier to standard storage on random reads. This policy is the default.
@@ -890,6 +906,172 @@ export var KnownEnableSubvolumes;
890
906
  /** subvolumes are not enabled */
891
907
  KnownEnableSubvolumes["Disabled"] = "Disabled";
892
908
  })(KnownEnableSubvolumes || (KnownEnableSubvolumes = {}));
909
+ /**
910
+ * Specifies the type of the Large Volume. When set to 'LargeVolume', the large volume is created with standard configuration.
911
+ * If it is set to 'ExtraLargeVolume7Dot2PiB', the extra large volume is created with higher capacity limit 7.2PiB with cool access enabled,
912
+ * delivering higher capacity limit with lower costs.
913
+ */
914
+ export var KnownLargeVolumeType;
915
+ (function (KnownLargeVolumeType) {
916
+ /** The large volume is created with standard configuration that provides standard performance and throughput. */
917
+ KnownLargeVolumeType["LargeVolume"] = "LargeVolume";
918
+ /** The extra large volume is created with higher volume capacity limit 7.2PiB with cool access enabled, delivering higher capacity limit with lower costs */
919
+ KnownLargeVolumeType["ExtraLargeVolume7Dot2PiB"] = "PremExtraLargeVolume7Dot2PiB";
920
+ })(KnownLargeVolumeType || (KnownLargeVolumeType = {}));
921
+ /** Language supported for volume. */
922
+ export var KnownVolumeLanguage;
923
+ (function (KnownVolumeLanguage) {
924
+ /** Posix with UTF-8 */
925
+ KnownVolumeLanguage["CUtf8"] = "c.utf-8";
926
+ /** UTF-8 with 4 byte character support */
927
+ KnownVolumeLanguage["Utf8Mb4"] = "utf8mb4";
928
+ /** Arabic - Deprecated */
929
+ KnownVolumeLanguage["Ar"] = "ar";
930
+ /** Arabic with UTF-8 */
931
+ KnownVolumeLanguage["ArUtf8"] = "ar.utf-8";
932
+ /** Croatian - Deprecated */
933
+ KnownVolumeLanguage["Hr"] = "hr";
934
+ /** Croatian with UTF-8 */
935
+ KnownVolumeLanguage["HrUtf8"] = "hr.utf-8";
936
+ /** Czech - Deprecated */
937
+ KnownVolumeLanguage["Cs"] = "cs";
938
+ /** Czech with UTF-8 */
939
+ KnownVolumeLanguage["CsUtf8"] = "cs.utf-8";
940
+ /** Danish - Deprecated */
941
+ KnownVolumeLanguage["Da"] = "da";
942
+ /** Danish with UTF-8 */
943
+ KnownVolumeLanguage["DaUtf8"] = "da.utf-8";
944
+ /** Dutch - Deprecated */
945
+ KnownVolumeLanguage["Nl"] = "nl";
946
+ /** Dutch with UTF-8 */
947
+ KnownVolumeLanguage["NlUtf8"] = "nl.utf-8";
948
+ /** English - Deprecated */
949
+ KnownVolumeLanguage["En"] = "en";
950
+ /** English with UTF-8 */
951
+ KnownVolumeLanguage["EnUtf8"] = "en.utf-8";
952
+ /** Finnish - Deprecated */
953
+ KnownVolumeLanguage["Fi"] = "fi";
954
+ /** Finnish with UTF-8 */
955
+ KnownVolumeLanguage["FiUtf8"] = "fi.utf-8";
956
+ /** French - Deprecated */
957
+ KnownVolumeLanguage["Fr"] = "fr";
958
+ /** French with UTF-8 */
959
+ KnownVolumeLanguage["FrUtf8"] = "fr.utf-8";
960
+ /** German - Deprecated */
961
+ KnownVolumeLanguage["De"] = "de";
962
+ /** German with UTF-8 */
963
+ KnownVolumeLanguage["DeUtf8"] = "de.utf-8";
964
+ /** Hebrew - Deprecated */
965
+ KnownVolumeLanguage["He"] = "he";
966
+ /** Hebrew with UTF-8 */
967
+ KnownVolumeLanguage["HeUtf8"] = "he.utf-8";
968
+ /** Hungarian - Deprecated */
969
+ KnownVolumeLanguage["Hu"] = "hu";
970
+ /** Hungarian with UTF-8 */
971
+ KnownVolumeLanguage["HuUtf8"] = "hu.utf-8";
972
+ /** Italian - Deprecated */
973
+ KnownVolumeLanguage["It"] = "it";
974
+ /** Italian with UTF-8 */
975
+ KnownVolumeLanguage["ItUtf8"] = "it.utf-8";
976
+ /** Japanese euc-j - Deprecated */
977
+ KnownVolumeLanguage["Ja"] = "ja";
978
+ /** Japanese euc-j with UTF-8 */
979
+ KnownVolumeLanguage["JaUtf8"] = "ja.utf-8";
980
+ /** Japanese euc-j - Deprecated */
981
+ KnownVolumeLanguage["JaV1"] = "ja-v1";
982
+ /** Japanese euc-j with UTF-8 */
983
+ KnownVolumeLanguage["JaV1Utf8"] = "ja-v1.utf-8";
984
+ /** Japanese pck */
985
+ KnownVolumeLanguage["JaJpPck"] = "ja-jp.pck";
986
+ /** Japanese pck with UTF-8 - Deprecated */
987
+ KnownVolumeLanguage["JaJpPckUtf8"] = "ja-jp.pck.utf-8";
988
+ /** Japanese cp932 */
989
+ KnownVolumeLanguage["JaJp932"] = "ja-jp.932";
990
+ /** Japanese cp932 with UTF-8 - Deprecated */
991
+ KnownVolumeLanguage["JaJp932Utf8"] = "ja-jp.932.utf-8";
992
+ /** Japanese pck - sjis */
993
+ KnownVolumeLanguage["JaJpPckV2"] = "ja-jp.pck-v2";
994
+ /** Japanese pck - sjis with UTF-8 - Deprecated */
995
+ KnownVolumeLanguage["JaJpPckV2Utf8"] = "ja-jp.pck-v2.utf-8";
996
+ /** Korean - Deprecated */
997
+ KnownVolumeLanguage["Ko"] = "ko";
998
+ /** Korean with UTF-8 */
999
+ KnownVolumeLanguage["KoUtf8"] = "ko.utf-8";
1000
+ /** Norwegian - Deprecated */
1001
+ KnownVolumeLanguage["No"] = "no";
1002
+ /** Norwegian with UTF-8 */
1003
+ KnownVolumeLanguage["NoUtf8"] = "no.utf-8";
1004
+ /** Polish - Deprecated */
1005
+ KnownVolumeLanguage["Pl"] = "pl";
1006
+ /** Polish with UTF-8 */
1007
+ KnownVolumeLanguage["PlUtf8"] = "pl.utf-8";
1008
+ /** Portuguese - Deprecated */
1009
+ KnownVolumeLanguage["Pt"] = "pt";
1010
+ /** Portuguese with UTF-8 */
1011
+ KnownVolumeLanguage["PtUtf8"] = "pt.utf-8";
1012
+ /** Posix - Deprecated */
1013
+ KnownVolumeLanguage["C"] = "c";
1014
+ /** Romanian - Deprecated */
1015
+ KnownVolumeLanguage["Ro"] = "ro";
1016
+ /** Romanian with UTF-8 */
1017
+ KnownVolumeLanguage["RoUtf8"] = "ro.utf-8";
1018
+ /** Russian - Deprecated */
1019
+ KnownVolumeLanguage["Ru"] = "ru";
1020
+ /** Russian with UTF-8 */
1021
+ KnownVolumeLanguage["RuUtf8"] = "ru.utf-8";
1022
+ /** Simplified Chinese - Deprecated */
1023
+ KnownVolumeLanguage["Zh"] = "zh";
1024
+ /** Simplified Chinese with UTF-8 */
1025
+ KnownVolumeLanguage["ZhUtf8"] = "zh.utf-8";
1026
+ /** Simplified gbk Chinese */
1027
+ KnownVolumeLanguage["ZhGbk"] = "zh.gbk";
1028
+ /** Simplified gbk Chinese with UTF-8 - Deprecated */
1029
+ KnownVolumeLanguage["ZhGbkUtf8"] = "zh.gbk.utf-8";
1030
+ /** Traditional Chinese BIG 5 */
1031
+ KnownVolumeLanguage["ZhTwBig5"] = "zh-tw.big5";
1032
+ /** Traditional Chinese BIG 5 with UTF-8 - Deprecated */
1033
+ KnownVolumeLanguage["ZhTwBig5Utf8"] = "zh-tw.big5.utf-8";
1034
+ /** Traditional Chinese EUC-TW */
1035
+ KnownVolumeLanguage["ZhTw"] = "zh-tw";
1036
+ /** Traditional Chinese EUC-TW with UTF-8 - Deprecated */
1037
+ KnownVolumeLanguage["ZhTwUtf8"] = "zh-tw.utf-8";
1038
+ /** Slovak - Deprecated */
1039
+ KnownVolumeLanguage["Sk"] = "sk";
1040
+ /** Slovak with UTF-8 */
1041
+ KnownVolumeLanguage["SkUtf8"] = "sk.utf-8";
1042
+ /** Slovenian - Deprecated */
1043
+ KnownVolumeLanguage["Sl"] = "sl";
1044
+ /** Slovenian with UTF-8 */
1045
+ KnownVolumeLanguage["SlUtf8"] = "sl.utf-8";
1046
+ /** Spanish - Deprecated */
1047
+ KnownVolumeLanguage["Es"] = "es";
1048
+ /** Spanish with UTF-8 */
1049
+ KnownVolumeLanguage["EsUtf8"] = "es.utf-8";
1050
+ /** Swedish - Deprecated */
1051
+ KnownVolumeLanguage["Sv"] = "sv";
1052
+ /** Swedish with UTF-8 */
1053
+ KnownVolumeLanguage["SvUtf8"] = "sv.utf-8";
1054
+ /** Turkish - Deprecated */
1055
+ KnownVolumeLanguage["Tr"] = "tr";
1056
+ /** Turkish with UTF-8 */
1057
+ KnownVolumeLanguage["TrUtf8"] = "tr.utf-8";
1058
+ /** US English - Deprecated */
1059
+ KnownVolumeLanguage["EnUs"] = "en-us";
1060
+ /** US English with UTF-8 */
1061
+ KnownVolumeLanguage["EnUsUtf8"] = "en-us.utf-8";
1062
+ })(KnownVolumeLanguage || (KnownVolumeLanguage = {}));
1063
+ /**
1064
+ * Specifies whether the volume operates in Breakthrough Mode. When set to 'Enabled', the volume runs on the resources configured for this mode,
1065
+ * delivering improved performance and higher throughput. If set to 'Disabled' or omitted, the volume uses the basic configuration. This feature
1066
+ * is available only in regions where it’s been configured and first-time users must finish onboarding prior to using Breakthrough Mode.
1067
+ */
1068
+ export var KnownBreakthroughMode;
1069
+ (function (KnownBreakthroughMode) {
1070
+ /** The volume runs on the resources configured for Breakthrough mode which ensures consistent high performance and a higher throughput. */
1071
+ KnownBreakthroughMode["Enabled"] = "Enabled";
1072
+ /** The volume uses configuration that provides basic performance and throughput. */
1073
+ KnownBreakthroughMode["Disabled"] = "Disabled";
1074
+ })(KnownBreakthroughMode || (KnownBreakthroughMode = {}));
893
1075
  export function _volumeGroupListDeserializer(item) {
894
1076
  return {
895
1077
  value: volumeGroupArrayDeserializer(item["value"]),
@@ -2029,21 +2211,28 @@ export function certificateAkvDetailsSerializer(item) {
2029
2211
  return {
2030
2212
  certificateKeyVaultUri: item["certificateKeyVaultUri"],
2031
2213
  certificateName: item["certificateName"],
2214
+ userAssignedIdentity: item["userAssignedIdentity"],
2032
2215
  };
2033
2216
  }
2034
2217
  export function certificateAkvDetailsDeserializer(item) {
2035
2218
  return {
2036
2219
  certificateKeyVaultUri: item["certificateKeyVaultUri"],
2037
2220
  certificateName: item["certificateName"],
2221
+ userAssignedIdentity: item["userAssignedIdentity"],
2038
2222
  };
2039
2223
  }
2040
2224
  export function credentialsAkvDetailsSerializer(item) {
2041
- return { credentialsKeyVaultUri: item["credentialsKeyVaultUri"], secretName: item["secretName"] };
2225
+ return {
2226
+ credentialsKeyVaultUri: item["credentialsKeyVaultUri"],
2227
+ secretName: item["secretName"],
2228
+ userAssignedIdentity: item["userAssignedIdentity"],
2229
+ };
2042
2230
  }
2043
2231
  export function credentialsAkvDetailsDeserializer(item) {
2044
2232
  return {
2045
2233
  credentialsKeyVaultUri: item["credentialsKeyVaultUri"],
2046
2234
  secretName: item["secretName"],
2235
+ userAssignedIdentity: item["userAssignedIdentity"],
2047
2236
  };
2048
2237
  }
2049
2238
  export function bucketPatchSerializer(item) {
@@ -2307,148 +2496,6 @@ export var KnownEncryptionState;
2307
2496
  /** Encryption is enabled */
2308
2497
  KnownEncryptionState["Enabled"] = "Enabled";
2309
2498
  })(KnownEncryptionState || (KnownEncryptionState = {}));
2310
- /** Language supported for volume. */
2311
- export var KnownVolumeLanguage;
2312
- (function (KnownVolumeLanguage) {
2313
- /** Posix with UTF-8 */
2314
- KnownVolumeLanguage["CUtf8"] = "c.utf-8";
2315
- /** UTF-8 with 4 byte character support */
2316
- KnownVolumeLanguage["Utf8Mb4"] = "utf8mb4";
2317
- /** Arabic - Deprecated */
2318
- KnownVolumeLanguage["Ar"] = "ar";
2319
- /** Arabic with UTF-8 */
2320
- KnownVolumeLanguage["ArUtf8"] = "ar.utf-8";
2321
- /** Croatian - Deprecated */
2322
- KnownVolumeLanguage["Hr"] = "hr";
2323
- /** Croatian with UTF-8 */
2324
- KnownVolumeLanguage["HrUtf8"] = "hr.utf-8";
2325
- /** Czech - Deprecated */
2326
- KnownVolumeLanguage["Cs"] = "cs";
2327
- /** Czech with UTF-8 */
2328
- KnownVolumeLanguage["CsUtf8"] = "cs.utf-8";
2329
- /** Danish - Deprecated */
2330
- KnownVolumeLanguage["Da"] = "da";
2331
- /** Danish with UTF-8 */
2332
- KnownVolumeLanguage["DaUtf8"] = "da.utf-8";
2333
- /** Dutch - Deprecated */
2334
- KnownVolumeLanguage["Nl"] = "nl";
2335
- /** Dutch with UTF-8 */
2336
- KnownVolumeLanguage["NlUtf8"] = "nl.utf-8";
2337
- /** English - Deprecated */
2338
- KnownVolumeLanguage["En"] = "en";
2339
- /** English with UTF-8 */
2340
- KnownVolumeLanguage["EnUtf8"] = "en.utf-8";
2341
- /** Finnish - Deprecated */
2342
- KnownVolumeLanguage["Fi"] = "fi";
2343
- /** Finnish with UTF-8 */
2344
- KnownVolumeLanguage["FiUtf8"] = "fi.utf-8";
2345
- /** French - Deprecated */
2346
- KnownVolumeLanguage["Fr"] = "fr";
2347
- /** French with UTF-8 */
2348
- KnownVolumeLanguage["FrUtf8"] = "fr.utf-8";
2349
- /** German - Deprecated */
2350
- KnownVolumeLanguage["De"] = "de";
2351
- /** German with UTF-8 */
2352
- KnownVolumeLanguage["DeUtf8"] = "de.utf-8";
2353
- /** Hebrew - Deprecated */
2354
- KnownVolumeLanguage["He"] = "he";
2355
- /** Hebrew with UTF-8 */
2356
- KnownVolumeLanguage["HeUtf8"] = "he.utf-8";
2357
- /** Hungarian - Deprecated */
2358
- KnownVolumeLanguage["Hu"] = "hu";
2359
- /** Hungarian with UTF-8 */
2360
- KnownVolumeLanguage["HuUtf8"] = "hu.utf-8";
2361
- /** Italian - Deprecated */
2362
- KnownVolumeLanguage["It"] = "it";
2363
- /** Italian with UTF-8 */
2364
- KnownVolumeLanguage["ItUtf8"] = "it.utf-8";
2365
- /** Japanese euc-j - Deprecated */
2366
- KnownVolumeLanguage["Ja"] = "ja";
2367
- /** Japanese euc-j with UTF-8 */
2368
- KnownVolumeLanguage["JaUtf8"] = "ja.utf-8";
2369
- /** Japanese euc-j - Deprecated */
2370
- KnownVolumeLanguage["JaV1"] = "ja-v1";
2371
- /** Japanese euc-j with UTF-8 */
2372
- KnownVolumeLanguage["JaV1Utf8"] = "ja-v1.utf-8";
2373
- /** Japanese pck */
2374
- KnownVolumeLanguage["JaJpPck"] = "ja-jp.pck";
2375
- /** Japanese pck with UTF-8 - Deprecated */
2376
- KnownVolumeLanguage["JaJpPckUtf8"] = "ja-jp.pck.utf-8";
2377
- /** Japanese cp932 */
2378
- KnownVolumeLanguage["JaJp932"] = "ja-jp.932";
2379
- /** Japanese cp932 with UTF-8 - Deprecated */
2380
- KnownVolumeLanguage["JaJp932Utf8"] = "ja-jp.932.utf-8";
2381
- /** Japanese pck - sjis */
2382
- KnownVolumeLanguage["JaJpPckV2"] = "ja-jp.pck-v2";
2383
- /** Japanese pck - sjis with UTF-8 - Deprecated */
2384
- KnownVolumeLanguage["JaJpPckV2Utf8"] = "ja-jp.pck-v2.utf-8";
2385
- /** Korean - Deprecated */
2386
- KnownVolumeLanguage["Ko"] = "ko";
2387
- /** Korean with UTF-8 */
2388
- KnownVolumeLanguage["KoUtf8"] = "ko.utf-8";
2389
- /** Norwegian - Deprecated */
2390
- KnownVolumeLanguage["No"] = "no";
2391
- /** Norwegian with UTF-8 */
2392
- KnownVolumeLanguage["NoUtf8"] = "no.utf-8";
2393
- /** Polish - Deprecated */
2394
- KnownVolumeLanguage["Pl"] = "pl";
2395
- /** Polish with UTF-8 */
2396
- KnownVolumeLanguage["PlUtf8"] = "pl.utf-8";
2397
- /** Portuguese - Deprecated */
2398
- KnownVolumeLanguage["Pt"] = "pt";
2399
- /** Portuguese with UTF-8 */
2400
- KnownVolumeLanguage["PtUtf8"] = "pt.utf-8";
2401
- /** Posix - Deprecated */
2402
- KnownVolumeLanguage["C"] = "c";
2403
- /** Romanian - Deprecated */
2404
- KnownVolumeLanguage["Ro"] = "ro";
2405
- /** Romanian with UTF-8 */
2406
- KnownVolumeLanguage["RoUtf8"] = "ro.utf-8";
2407
- /** Russian - Deprecated */
2408
- KnownVolumeLanguage["Ru"] = "ru";
2409
- /** Russian with UTF-8 */
2410
- KnownVolumeLanguage["RuUtf8"] = "ru.utf-8";
2411
- /** Simplified Chinese - Deprecated */
2412
- KnownVolumeLanguage["Zh"] = "zh";
2413
- /** Simplified Chinese with UTF-8 */
2414
- KnownVolumeLanguage["ZhUtf8"] = "zh.utf-8";
2415
- /** Simplified gbk Chinese */
2416
- KnownVolumeLanguage["ZhGbk"] = "zh.gbk";
2417
- /** Simplified gbk Chinese with UTF-8 - Deprecated */
2418
- KnownVolumeLanguage["ZhGbkUtf8"] = "zh.gbk.utf-8";
2419
- /** Traditional Chinese BIG 5 */
2420
- KnownVolumeLanguage["ZhTwBig5"] = "zh-tw.big5";
2421
- /** Traditional Chinese BIG 5 with UTF-8 - Deprecated */
2422
- KnownVolumeLanguage["ZhTwBig5Utf8"] = "zh-tw.big5.utf-8";
2423
- /** Traditional Chinese EUC-TW */
2424
- KnownVolumeLanguage["ZhTw"] = "zh-tw";
2425
- /** Traditional Chinese EUC-TW with UTF-8 - Deprecated */
2426
- KnownVolumeLanguage["ZhTwUtf8"] = "zh-tw.utf-8";
2427
- /** Slovak - Deprecated */
2428
- KnownVolumeLanguage["Sk"] = "sk";
2429
- /** Slovak with UTF-8 */
2430
- KnownVolumeLanguage["SkUtf8"] = "sk.utf-8";
2431
- /** Slovenian - Deprecated */
2432
- KnownVolumeLanguage["Sl"] = "sl";
2433
- /** Slovenian with UTF-8 */
2434
- KnownVolumeLanguage["SlUtf8"] = "sl.utf-8";
2435
- /** Spanish - Deprecated */
2436
- KnownVolumeLanguage["Es"] = "es";
2437
- /** Spanish with UTF-8 */
2438
- KnownVolumeLanguage["EsUtf8"] = "es.utf-8";
2439
- /** Swedish - Deprecated */
2440
- KnownVolumeLanguage["Sv"] = "sv";
2441
- /** Swedish with UTF-8 */
2442
- KnownVolumeLanguage["SvUtf8"] = "sv.utf-8";
2443
- /** Turkish - Deprecated */
2444
- KnownVolumeLanguage["Tr"] = "tr";
2445
- /** Turkish with UTF-8 */
2446
- KnownVolumeLanguage["TrUtf8"] = "tr.utf-8";
2447
- /** US English - Deprecated */
2448
- KnownVolumeLanguage["EnUs"] = "en-us";
2449
- /** US English with UTF-8 */
2450
- KnownVolumeLanguage["EnUsUtf8"] = "en-us.utf-8";
2451
- })(KnownVolumeLanguage || (KnownVolumeLanguage = {}));
2452
2499
  /** Specifies whether LDAP is enabled or not. */
2453
2500
  export var KnownLdapState;
2454
2501
  (function (KnownLdapState) {
@@ -2457,118 +2504,1467 @@ export var KnownLdapState;
2457
2504
  /** ldap is enabled */
2458
2505
  KnownLdapState["Enabled"] = "Enabled";
2459
2506
  })(KnownLdapState || (KnownLdapState = {}));
2460
- /** The type of the LDAP server */
2461
- export var KnownLdapServerType;
2462
- (function (KnownLdapServerType) {
2463
- /** The volume should use Active Directory for LDAP connections. */
2464
- KnownLdapServerType["ActiveDirectory"] = "ActiveDirectory";
2465
- /** The volume should use OpenLDAP for LDAP connections. */
2466
- KnownLdapServerType["OpenLdap"] = "OpenLDAP";
2467
- })(KnownLdapServerType || (KnownLdapServerType = {}));
2468
2507
  export function originClusterInformationSerializer(item) {
2469
2508
  return {
2470
- peerClusterName: item["peerClusterName"],
2471
- peerAddresses: item["peerAddresses"].map((p) => {
2472
- return p;
2473
- }),
2474
- peerVserverName: item["peerVserverName"],
2475
- peerVolumeName: item["peerVolumeName"],
2509
+ peerClusterName: item["peerClusterName"],
2510
+ peerAddresses: item["peerAddresses"].map((p) => {
2511
+ return p;
2512
+ }),
2513
+ peerVserverName: item["peerVserverName"],
2514
+ peerVolumeName: item["peerVolumeName"],
2515
+ };
2516
+ }
2517
+ export function originClusterInformationDeserializer(item) {
2518
+ return {
2519
+ peerClusterName: item["peerClusterName"],
2520
+ peerAddresses: item["peerAddresses"].map((p) => {
2521
+ return p;
2522
+ }),
2523
+ peerVserverName: item["peerVserverName"],
2524
+ peerVolumeName: item["peerVolumeName"],
2525
+ };
2526
+ }
2527
+ /** Flag indicating whether a CIFS change notification is enabled for the cache. */
2528
+ export var KnownCifsChangeNotifyState;
2529
+ (function (KnownCifsChangeNotifyState) {
2530
+ /** CIFS change notification is disabled */
2531
+ KnownCifsChangeNotifyState["Disabled"] = "Disabled";
2532
+ /** CIFS change notification is enabled */
2533
+ KnownCifsChangeNotifyState["Enabled"] = "Enabled";
2534
+ })(KnownCifsChangeNotifyState || (KnownCifsChangeNotifyState = {}));
2535
+ /** Flag indicating whether the global file lock is enabled for the cache. */
2536
+ export var KnownGlobalFileLockingState;
2537
+ (function (KnownGlobalFileLockingState) {
2538
+ /** Global file locking is disabled */
2539
+ KnownGlobalFileLockingState["Disabled"] = "Disabled";
2540
+ /** Global file locking is enabled */
2541
+ KnownGlobalFileLockingState["Enabled"] = "Enabled";
2542
+ })(KnownGlobalFileLockingState || (KnownGlobalFileLockingState = {}));
2543
+ /** Flag indicating whether writeback is enabled for the cache. */
2544
+ export var KnownEnableWriteBackState;
2545
+ (function (KnownEnableWriteBackState) {
2546
+ /** Writeback cache is disabled */
2547
+ KnownEnableWriteBackState["Disabled"] = "Disabled";
2548
+ /** Writeback cache is enabled */
2549
+ KnownEnableWriteBackState["Enabled"] = "Enabled";
2550
+ })(KnownEnableWriteBackState || (KnownEnableWriteBackState = {}));
2551
+ /** Flag indicating whether file access logs are enabled for the Cache, based on active diagnostic settings present on the Cache. */
2552
+ export var KnownCacheFileAccessLogs;
2553
+ (function (KnownCacheFileAccessLogs) {
2554
+ /** fileAccessLogs are enabled */
2555
+ KnownCacheFileAccessLogs["Enabled"] = "Enabled";
2556
+ /** fileAccessLogs are not enabled */
2557
+ KnownCacheFileAccessLogs["Disabled"] = "Disabled";
2558
+ })(KnownCacheFileAccessLogs || (KnownCacheFileAccessLogs = {}));
2559
+ export function cacheUpdateSerializer(item) {
2560
+ return {
2561
+ tags: item["tags"],
2562
+ properties: !item["properties"]
2563
+ ? item["properties"]
2564
+ : cacheUpdatePropertiesSerializer(item["properties"]),
2565
+ };
2566
+ }
2567
+ export function cacheUpdatePropertiesSerializer(item) {
2568
+ return {
2569
+ size: item["size"],
2570
+ exportPolicy: !item["exportPolicy"]
2571
+ ? item["exportPolicy"]
2572
+ : cachePropertiesExportPolicySerializer(item["exportPolicy"]),
2573
+ protocolTypes: !item["protocolTypes"]
2574
+ ? item["protocolTypes"]
2575
+ : item["protocolTypes"].map((p) => {
2576
+ return p;
2577
+ }),
2578
+ smbSettings: !item["smbSettings"]
2579
+ ? item["smbSettings"]
2580
+ : smbSettingsSerializer(item["smbSettings"]),
2581
+ throughputMibps: item["throughputMibps"],
2582
+ keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"],
2583
+ cifsChangeNotifications: item["cifsChangeNotifications"],
2584
+ writeBack: item["writeBack"],
2585
+ };
2586
+ }
2587
+ export function _cacheListDeserializer(item) {
2588
+ return {
2589
+ value: cacheArrayDeserializer(item["value"]),
2590
+ nextLink: item["nextLink"],
2591
+ };
2592
+ }
2593
+ export function cacheArraySerializer(result) {
2594
+ return result.map((item) => {
2595
+ return cacheSerializer(item);
2596
+ });
2597
+ }
2598
+ export function cacheArrayDeserializer(result) {
2599
+ return result.map((item) => {
2600
+ return cacheDeserializer(item);
2601
+ });
2602
+ }
2603
+ export function peeringPassphrasesDeserializer(item) {
2604
+ return {
2605
+ clusterPeeringCommand: item["clusterPeeringCommand"],
2606
+ clusterPeeringPassphrase: item["clusterPeeringPassphrase"],
2607
+ vserverPeeringCommand: item["vserverPeeringCommand"],
2608
+ criticalWarning: item["criticalWarning"],
2609
+ };
2610
+ }
2611
+ export function elasticAccountSerializer(item) {
2612
+ return {
2613
+ tags: item["tags"],
2614
+ location: item["location"],
2615
+ properties: !item["properties"]
2616
+ ? item["properties"]
2617
+ : elasticAccountPropertiesSerializer(item["properties"]),
2618
+ identity: !item["identity"]
2619
+ ? item["identity"]
2620
+ : managedServiceIdentitySerializer(item["identity"]),
2621
+ };
2622
+ }
2623
+ export function elasticAccountDeserializer(item) {
2624
+ return {
2625
+ tags: !item["tags"]
2626
+ ? item["tags"]
2627
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
2628
+ location: item["location"],
2629
+ id: item["id"],
2630
+ name: item["name"],
2631
+ type: item["type"],
2632
+ systemData: !item["systemData"]
2633
+ ? item["systemData"]
2634
+ : systemDataDeserializer(item["systemData"]),
2635
+ properties: !item["properties"]
2636
+ ? item["properties"]
2637
+ : elasticAccountPropertiesDeserializer(item["properties"]),
2638
+ eTag: item["eTag"],
2639
+ identity: !item["identity"]
2640
+ ? item["identity"]
2641
+ : managedServiceIdentityDeserializer(item["identity"]),
2642
+ };
2643
+ }
2644
+ export function elasticAccountPropertiesSerializer(item) {
2645
+ return {
2646
+ encryption: !item["encryption"]
2647
+ ? item["encryption"]
2648
+ : elasticEncryptionSerializer(item["encryption"]),
2649
+ };
2650
+ }
2651
+ export function elasticAccountPropertiesDeserializer(item) {
2652
+ return {
2653
+ provisioningState: item["provisioningState"],
2654
+ encryption: !item["encryption"]
2655
+ ? item["encryption"]
2656
+ : elasticEncryptionDeserializer(item["encryption"]),
2657
+ };
2658
+ }
2659
+ export function elasticEncryptionSerializer(item) {
2660
+ return {
2661
+ keySource: item["keySource"],
2662
+ keyVaultProperties: !item["keyVaultProperties"]
2663
+ ? item["keyVaultProperties"]
2664
+ : elasticKeyVaultPropertiesSerializer(item["keyVaultProperties"]),
2665
+ identity: !item["identity"]
2666
+ ? item["identity"]
2667
+ : elasticEncryptionIdentitySerializer(item["identity"]),
2668
+ };
2669
+ }
2670
+ export function elasticEncryptionDeserializer(item) {
2671
+ return {
2672
+ keySource: item["keySource"],
2673
+ keyVaultProperties: !item["keyVaultProperties"]
2674
+ ? item["keyVaultProperties"]
2675
+ : elasticKeyVaultPropertiesDeserializer(item["keyVaultProperties"]),
2676
+ identity: !item["identity"]
2677
+ ? item["identity"]
2678
+ : elasticEncryptionIdentityDeserializer(item["identity"]),
2679
+ };
2680
+ }
2681
+ /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault */
2682
+ export var KnownKeySource;
2683
+ (function (KnownKeySource) {
2684
+ /** Microsoft-managed key encryption */
2685
+ KnownKeySource["MicrosoftNetApp"] = "Microsoft.NetApp";
2686
+ /** Customer-managed key encryption */
2687
+ KnownKeySource["MicrosoftKeyVault"] = "Microsoft.KeyVault";
2688
+ })(KnownKeySource || (KnownKeySource = {}));
2689
+ export function elasticKeyVaultPropertiesSerializer(item) {
2690
+ return {
2691
+ keyVaultUri: item["keyVaultUri"],
2692
+ keyName: item["keyName"],
2693
+ keyVaultResourceId: item["keyVaultResourceId"],
2694
+ };
2695
+ }
2696
+ export function elasticKeyVaultPropertiesDeserializer(item) {
2697
+ return {
2698
+ keyVaultUri: item["keyVaultUri"],
2699
+ keyName: item["keyName"],
2700
+ keyVaultResourceId: item["keyVaultResourceId"],
2701
+ status: item["status"],
2702
+ };
2703
+ }
2704
+ /** KeyVault status */
2705
+ export var KnownElasticKeyVaultStatus;
2706
+ (function (KnownElasticKeyVaultStatus) {
2707
+ /** KeyVault connection created but not in use */
2708
+ KnownElasticKeyVaultStatus["Created"] = "Created";
2709
+ /** KeyVault connection in use by SMB Volume */
2710
+ KnownElasticKeyVaultStatus["InUse"] = "InUse";
2711
+ /** KeyVault connection Deleted */
2712
+ KnownElasticKeyVaultStatus["Deleted"] = "Deleted";
2713
+ /** Error with the KeyVault connection */
2714
+ KnownElasticKeyVaultStatus["Error"] = "Error";
2715
+ /** KeyVault connection Updating */
2716
+ KnownElasticKeyVaultStatus["Updating"] = "Updating";
2717
+ })(KnownElasticKeyVaultStatus || (KnownElasticKeyVaultStatus = {}));
2718
+ export function elasticEncryptionIdentitySerializer(item) {
2719
+ return {
2720
+ userAssignedIdentity: item["userAssignedIdentity"],
2721
+ federatedClientId: item["federatedClientId"],
2722
+ };
2723
+ }
2724
+ export function elasticEncryptionIdentityDeserializer(item) {
2725
+ return {
2726
+ principalId: item["principalId"],
2727
+ userAssignedIdentity: item["userAssignedIdentity"],
2728
+ federatedClientId: item["federatedClientId"],
2729
+ };
2730
+ }
2731
+ export function managedServiceIdentitySerializer(item) {
2732
+ return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
2733
+ }
2734
+ export function managedServiceIdentityDeserializer(item) {
2735
+ return {
2736
+ principalId: item["principalId"],
2737
+ tenantId: item["tenantId"],
2738
+ type: item["type"],
2739
+ userAssignedIdentities: !item["userAssignedIdentities"]
2740
+ ? item["userAssignedIdentities"]
2741
+ : Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
2742
+ k,
2743
+ !p ? p : userAssignedIdentityDeserializer(p),
2744
+ ])),
2745
+ };
2746
+ }
2747
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
2748
+ export var KnownManagedServiceIdentityType;
2749
+ (function (KnownManagedServiceIdentityType) {
2750
+ /** No managed identity. */
2751
+ KnownManagedServiceIdentityType["None"] = "None";
2752
+ /** System assigned managed identity. */
2753
+ KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
2754
+ /** User assigned managed identity. */
2755
+ KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
2756
+ /** System and user assigned managed identity. */
2757
+ KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
2758
+ })(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
2759
+ export function userAssignedIdentitySerializer(_item) {
2760
+ return {};
2761
+ }
2762
+ export function userAssignedIdentityDeserializer(item) {
2763
+ return {
2764
+ principalId: item["principalId"],
2765
+ clientId: item["clientId"],
2766
+ };
2767
+ }
2768
+ export function elasticAccountUpdateSerializer(item) {
2769
+ return {
2770
+ identity: !item["identity"]
2771
+ ? item["identity"]
2772
+ : managedServiceIdentitySerializer(item["identity"]),
2773
+ tags: item["tags"],
2774
+ properties: !item["properties"]
2775
+ ? item["properties"]
2776
+ : elasticAccountUpdatePropertiesSerializer(item["properties"]),
2777
+ };
2778
+ }
2779
+ export function elasticAccountUpdatePropertiesSerializer(item) {
2780
+ return {
2781
+ encryption: !item["encryption"]
2782
+ ? item["encryption"]
2783
+ : elasticEncryptionSerializer(item["encryption"]),
2784
+ };
2785
+ }
2786
+ export function _elasticAccountListResultDeserializer(item) {
2787
+ return {
2788
+ value: elasticAccountArrayDeserializer(item["value"]),
2789
+ nextLink: item["nextLink"],
2790
+ };
2791
+ }
2792
+ export function elasticAccountArraySerializer(result) {
2793
+ return result.map((item) => {
2794
+ return elasticAccountSerializer(item);
2795
+ });
2796
+ }
2797
+ export function elasticAccountArrayDeserializer(result) {
2798
+ return result.map((item) => {
2799
+ return elasticAccountDeserializer(item);
2800
+ });
2801
+ }
2802
+ export function elasticCapacityPoolSerializer(item) {
2803
+ return {
2804
+ tags: item["tags"],
2805
+ location: item["location"],
2806
+ properties: !item["properties"]
2807
+ ? item["properties"]
2808
+ : elasticCapacityPoolPropertiesSerializer(item["properties"]),
2809
+ zones: !item["zones"]
2810
+ ? item["zones"]
2811
+ : item["zones"].map((p) => {
2812
+ return p;
2813
+ }),
2814
+ };
2815
+ }
2816
+ export function elasticCapacityPoolDeserializer(item) {
2817
+ return {
2818
+ tags: !item["tags"]
2819
+ ? item["tags"]
2820
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
2821
+ location: item["location"],
2822
+ id: item["id"],
2823
+ name: item["name"],
2824
+ type: item["type"],
2825
+ systemData: !item["systemData"]
2826
+ ? item["systemData"]
2827
+ : systemDataDeserializer(item["systemData"]),
2828
+ properties: !item["properties"]
2829
+ ? item["properties"]
2830
+ : elasticCapacityPoolPropertiesDeserializer(item["properties"]),
2831
+ eTag: item["eTag"],
2832
+ zones: !item["zones"]
2833
+ ? item["zones"]
2834
+ : item["zones"].map((p) => {
2835
+ return p;
2836
+ }),
2837
+ };
2838
+ }
2839
+ export function elasticCapacityPoolPropertiesSerializer(item) {
2840
+ return {
2841
+ size: item["size"],
2842
+ serviceLevel: item["serviceLevel"],
2843
+ encryption: !item["encryption"]
2844
+ ? item["encryption"]
2845
+ : elasticEncryptionConfigurationSerializer(item["encryption"]),
2846
+ subnetResourceId: item["subnetResourceId"],
2847
+ activeDirectoryConfigResourceId: item["activeDirectoryConfigResourceId"],
2848
+ };
2849
+ }
2850
+ export function elasticCapacityPoolPropertiesDeserializer(item) {
2851
+ return {
2852
+ size: item["size"],
2853
+ serviceLevel: item["serviceLevel"],
2854
+ provisioningState: item["provisioningState"],
2855
+ encryption: !item["encryption"]
2856
+ ? item["encryption"]
2857
+ : elasticEncryptionConfigurationDeserializer(item["encryption"]),
2858
+ totalThroughputMibps: item["totalThroughputMibps"],
2859
+ subnetResourceId: item["subnetResourceId"],
2860
+ currentZone: item["currentZone"],
2861
+ availabilityStatus: item["availabilityStatus"],
2862
+ activeDirectoryConfigResourceId: item["activeDirectoryConfigResourceId"],
2863
+ };
2864
+ }
2865
+ /** Service level for elastic capacity pool */
2866
+ export var KnownElasticServiceLevel;
2867
+ (function (KnownElasticServiceLevel) {
2868
+ /** Zone redundant storage service level. */
2869
+ KnownElasticServiceLevel["ZoneRedundant"] = "ZoneRedundant";
2870
+ })(KnownElasticServiceLevel || (KnownElasticServiceLevel = {}));
2871
+ export function elasticEncryptionConfigurationSerializer(item) {
2872
+ return {
2873
+ elasticPoolEncryptionKeySource: item["elasticPoolEncryptionKeySource"],
2874
+ keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"],
2875
+ };
2876
+ }
2877
+ export function elasticEncryptionConfigurationDeserializer(item) {
2878
+ return {
2879
+ elasticPoolEncryptionKeySource: item["elasticPoolEncryptionKeySource"],
2880
+ keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"],
2881
+ };
2882
+ }
2883
+ /** Pool Encryption Key Source. */
2884
+ export var KnownElasticPoolEncryptionKeySource;
2885
+ (function (KnownElasticPoolEncryptionKeySource) {
2886
+ /** Represents the encryption key source of Elastic pool is Microsoft.NetApp */
2887
+ KnownElasticPoolEncryptionKeySource["NetApp"] = "NetApp";
2888
+ /** Represents the encryption key source of Elastic pool is Microsoft.KeyVault */
2889
+ KnownElasticPoolEncryptionKeySource["KeyVault"] = "KeyVault";
2890
+ })(KnownElasticPoolEncryptionKeySource || (KnownElasticPoolEncryptionKeySource = {}));
2891
+ /** Current availability status of the resource. */
2892
+ export var KnownElasticResourceAvailabilityStatus;
2893
+ (function (KnownElasticResourceAvailabilityStatus) {
2894
+ /** The resource is currently Online and accessible */
2895
+ KnownElasticResourceAvailabilityStatus["Online"] = "Online";
2896
+ /** The resource is currently Offline and not accessible */
2897
+ KnownElasticResourceAvailabilityStatus["Offline"] = "Offline";
2898
+ })(KnownElasticResourceAvailabilityStatus || (KnownElasticResourceAvailabilityStatus = {}));
2899
+ export function elasticCapacityPoolUpdateSerializer(item) {
2900
+ return {
2901
+ tags: item["tags"],
2902
+ properties: !item["properties"]
2903
+ ? item["properties"]
2904
+ : elasticCapacityPoolUpdatePropertiesSerializer(item["properties"]),
2905
+ };
2906
+ }
2907
+ export function elasticCapacityPoolUpdatePropertiesSerializer(item) {
2908
+ return {
2909
+ size: item["size"],
2910
+ encryption: !item["encryption"]
2911
+ ? item["encryption"]
2912
+ : elasticEncryptionConfigurationSerializer(item["encryption"]),
2913
+ activeDirectoryConfigResourceId: item["activeDirectoryConfigResourceId"],
2914
+ };
2915
+ }
2916
+ export function _elasticCapacityPoolListResultDeserializer(item) {
2917
+ return {
2918
+ value: elasticCapacityPoolArrayDeserializer(item["value"]),
2919
+ nextLink: item["nextLink"],
2920
+ };
2921
+ }
2922
+ export function elasticCapacityPoolArraySerializer(result) {
2923
+ return result.map((item) => {
2924
+ return elasticCapacityPoolSerializer(item);
2925
+ });
2926
+ }
2927
+ export function elasticCapacityPoolArrayDeserializer(result) {
2928
+ return result.map((item) => {
2929
+ return elasticCapacityPoolDeserializer(item);
2930
+ });
2931
+ }
2932
+ export function changeZoneRequestSerializer(item) {
2933
+ return { newZone: item["newZone"] };
2934
+ }
2935
+ export function checkElasticVolumeFilePathAvailabilityRequestSerializer(item) {
2936
+ return { filePath: item["filePath"] };
2937
+ }
2938
+ export function checkElasticResourceAvailabilityResponseDeserializer(item) {
2939
+ return {
2940
+ isAvailable: item["isAvailable"],
2941
+ reason: item["reason"],
2942
+ message: item["message"],
2943
+ };
2944
+ }
2945
+ /** Availability status */
2946
+ export var KnownCheckElasticResourceAvailabilityStatus;
2947
+ (function (KnownCheckElasticResourceAvailabilityStatus) {
2948
+ /** Value indicating the name is valid and available */
2949
+ KnownCheckElasticResourceAvailabilityStatus["True"] = "True";
2950
+ /** Value indicating the the name is invalid, unavailable, or both. */
2951
+ KnownCheckElasticResourceAvailabilityStatus["False"] = "False";
2952
+ })(KnownCheckElasticResourceAvailabilityStatus || (KnownCheckElasticResourceAvailabilityStatus = {}));
2953
+ /** Availability reason */
2954
+ export var KnownCheckElasticResourceAvailabilityReason;
2955
+ (function (KnownCheckElasticResourceAvailabilityReason) {
2956
+ /** Value indicating the name provided does not match Azure NetApp Files naming requirements */
2957
+ KnownCheckElasticResourceAvailabilityReason["Invalid"] = "Invalid";
2958
+ /** Value indicating the name is already in use and is therefore unavailable */
2959
+ KnownCheckElasticResourceAvailabilityReason["AlreadyExists"] = "AlreadyExists";
2960
+ })(KnownCheckElasticResourceAvailabilityReason || (KnownCheckElasticResourceAvailabilityReason = {}));
2961
+ export function elasticVolumeSerializer(item) {
2962
+ return {
2963
+ tags: item["tags"],
2964
+ location: item["location"],
2965
+ properties: !item["properties"]
2966
+ ? item["properties"]
2967
+ : elasticVolumePropertiesSerializer(item["properties"]),
2968
+ zones: !item["zones"]
2969
+ ? item["zones"]
2970
+ : item["zones"].map((p) => {
2971
+ return p;
2972
+ }),
2973
+ };
2974
+ }
2975
+ export function elasticVolumeDeserializer(item) {
2976
+ return {
2977
+ tags: !item["tags"]
2978
+ ? item["tags"]
2979
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
2980
+ location: item["location"],
2981
+ id: item["id"],
2982
+ name: item["name"],
2983
+ type: item["type"],
2984
+ systemData: !item["systemData"]
2985
+ ? item["systemData"]
2986
+ : systemDataDeserializer(item["systemData"]),
2987
+ properties: !item["properties"]
2988
+ ? item["properties"]
2989
+ : elasticVolumePropertiesDeserializer(item["properties"]),
2990
+ eTag: item["eTag"],
2991
+ zones: !item["zones"]
2992
+ ? item["zones"]
2993
+ : item["zones"].map((p) => {
2994
+ return p;
2995
+ }),
2996
+ };
2997
+ }
2998
+ export function elasticVolumePropertiesSerializer(item) {
2999
+ return {
3000
+ filePath: item["filePath"],
3001
+ size: item["size"],
3002
+ exportPolicy: !item["exportPolicy"]
3003
+ ? item["exportPolicy"]
3004
+ : elasticExportPolicySerializer(item["exportPolicy"]),
3005
+ protocolTypes: item["protocolTypes"].map((p) => {
3006
+ return p;
3007
+ }),
3008
+ snapshotResourceId: item["snapshotResourceId"],
3009
+ dataProtection: !item["dataProtection"]
3010
+ ? item["dataProtection"]
3011
+ : elasticVolumeDataProtectionPropertiesSerializer(item["dataProtection"]),
3012
+ snapshotDirectoryVisibility: item["snapshotDirectoryVisibility"],
3013
+ smbProperties: !item["smbProperties"]
3014
+ ? item["smbProperties"]
3015
+ : elasticSmbPropertiesSerializer(item["smbProperties"]),
3016
+ backupResourceId: item["backupResourceId"],
3017
+ };
3018
+ }
3019
+ export function elasticVolumePropertiesDeserializer(item) {
3020
+ return {
3021
+ filePath: item["filePath"],
3022
+ size: item["size"],
3023
+ exportPolicy: !item["exportPolicy"]
3024
+ ? item["exportPolicy"]
3025
+ : elasticExportPolicyDeserializer(item["exportPolicy"]),
3026
+ protocolTypes: item["protocolTypes"].map((p) => {
3027
+ return p;
3028
+ }),
3029
+ provisioningState: item["provisioningState"],
3030
+ availabilityStatus: item["availabilityStatus"],
3031
+ snapshotResourceId: item["snapshotResourceId"],
3032
+ mountTargets: !item["mountTargets"]
3033
+ ? item["mountTargets"]
3034
+ : elasticMountTargetPropertiesArrayDeserializer(item["mountTargets"]),
3035
+ dataProtection: !item["dataProtection"]
3036
+ ? item["dataProtection"]
3037
+ : elasticVolumeDataProtectionPropertiesDeserializer(item["dataProtection"]),
3038
+ snapshotDirectoryVisibility: item["snapshotDirectoryVisibility"],
3039
+ smbProperties: !item["smbProperties"]
3040
+ ? item["smbProperties"]
3041
+ : elasticSmbPropertiesDeserializer(item["smbProperties"]),
3042
+ backupResourceId: item["backupResourceId"],
3043
+ restorationState: item["restorationState"],
3044
+ };
3045
+ }
3046
+ export function elasticExportPolicySerializer(item) {
3047
+ return {
3048
+ rules: !item["rules"] ? item["rules"] : elasticExportPolicyRuleArraySerializer(item["rules"]),
3049
+ };
3050
+ }
3051
+ export function elasticExportPolicyDeserializer(item) {
3052
+ return {
3053
+ rules: !item["rules"] ? item["rules"] : elasticExportPolicyRuleArrayDeserializer(item["rules"]),
3054
+ };
3055
+ }
3056
+ export function elasticExportPolicyRuleArraySerializer(result) {
3057
+ return result.map((item) => {
3058
+ return elasticExportPolicyRuleSerializer(item);
3059
+ });
3060
+ }
3061
+ export function elasticExportPolicyRuleArrayDeserializer(result) {
3062
+ return result.map((item) => {
3063
+ return elasticExportPolicyRuleDeserializer(item);
3064
+ });
3065
+ }
3066
+ export function elasticExportPolicyRuleSerializer(item) {
3067
+ return {
3068
+ ruleIndex: item["ruleIndex"],
3069
+ unixAccessRule: item["unixAccessRule"],
3070
+ nfsv3: item["nfsv3"],
3071
+ nfsv4: item["nfsv4"],
3072
+ allowedClients: !item["allowedClients"]
3073
+ ? item["allowedClients"]
3074
+ : item["allowedClients"].map((p) => {
3075
+ return p;
3076
+ }),
3077
+ rootAccess: item["rootAccess"],
3078
+ };
3079
+ }
3080
+ export function elasticExportPolicyRuleDeserializer(item) {
3081
+ return {
3082
+ ruleIndex: item["ruleIndex"],
3083
+ unixAccessRule: item["unixAccessRule"],
3084
+ nfsv3: item["nfsv3"],
3085
+ nfsv4: item["nfsv4"],
3086
+ allowedClients: !item["allowedClients"]
3087
+ ? item["allowedClients"]
3088
+ : item["allowedClients"].map((p) => {
3089
+ return p;
3090
+ }),
3091
+ rootAccess: item["rootAccess"],
3092
+ };
3093
+ }
3094
+ /** Unix access rule */
3095
+ export var KnownElasticUnixAccessRule;
3096
+ (function (KnownElasticUnixAccessRule) {
3097
+ /** Clients connecting with this rule will only have read access to the volume */
3098
+ KnownElasticUnixAccessRule["ReadOnly"] = "ReadOnly";
3099
+ /** Clients connecting with this rule will have full read and write access to the volume */
3100
+ KnownElasticUnixAccessRule["ReadWrite"] = "ReadWrite";
3101
+ /** Clients connecting with this rule will have no access to the volume */
3102
+ KnownElasticUnixAccessRule["NoAccess"] = "NoAccess";
3103
+ })(KnownElasticUnixAccessRule || (KnownElasticUnixAccessRule = {}));
3104
+ /** NFSv3 access */
3105
+ export var KnownElasticNfsv3Access;
3106
+ (function (KnownElasticNfsv3Access) {
3107
+ /** Clients can connect to the volume using the NFSv3 protocol. */
3108
+ KnownElasticNfsv3Access["Enabled"] = "Enabled";
3109
+ /** Clients can't connect to the volume using the NFSv3 protocol. */
3110
+ KnownElasticNfsv3Access["Disabled"] = "Disabled";
3111
+ })(KnownElasticNfsv3Access || (KnownElasticNfsv3Access = {}));
3112
+ /** NFSv4 access */
3113
+ export var KnownElasticNfsv4Access;
3114
+ (function (KnownElasticNfsv4Access) {
3115
+ /** Clients can connect to the volume using the NFSv4 protocol. */
3116
+ KnownElasticNfsv4Access["Enabled"] = "Enabled";
3117
+ /** Clients can't connect to the volume using the NFSv4 protocol. */
3118
+ KnownElasticNfsv4Access["Disabled"] = "Disabled";
3119
+ })(KnownElasticNfsv4Access || (KnownElasticNfsv4Access = {}));
3120
+ /** Root access */
3121
+ export var KnownElasticRootAccess;
3122
+ (function (KnownElasticRootAccess) {
3123
+ /** Root user access is enabled for clients affected by this rule */
3124
+ KnownElasticRootAccess["Enabled"] = "Enabled";
3125
+ /** Root user access is disabled for clients affected by this rule */
3126
+ KnownElasticRootAccess["Disabled"] = "Disabled";
3127
+ })(KnownElasticRootAccess || (KnownElasticRootAccess = {}));
3128
+ /** Protocol types for elastic volume */
3129
+ export var KnownElasticProtocolType;
3130
+ (function (KnownElasticProtocolType) {
3131
+ /** NFSv3 protocol type */
3132
+ KnownElasticProtocolType["NFSv3"] = "NFSv3";
3133
+ /** NFSv4 protocol type */
3134
+ KnownElasticProtocolType["NFSv4"] = "NFSv4";
3135
+ /** SMB/CIFS protocol type */
3136
+ KnownElasticProtocolType["SMB"] = "SMB";
3137
+ })(KnownElasticProtocolType || (KnownElasticProtocolType = {}));
3138
+ export function elasticMountTargetPropertiesArrayDeserializer(result) {
3139
+ return result.map((item) => {
3140
+ return elasticMountTargetPropertiesDeserializer(item);
3141
+ });
3142
+ }
3143
+ export function elasticMountTargetPropertiesDeserializer(item) {
3144
+ return {
3145
+ ipAddress: item["ipAddress"],
3146
+ smbServerFqdn: item["smbServerFqdn"],
3147
+ };
3148
+ }
3149
+ export function elasticVolumeDataProtectionPropertiesSerializer(item) {
3150
+ return {
3151
+ snapshot: !item["snapshot"]
3152
+ ? item["snapshot"]
3153
+ : elasticVolumeSnapshotPropertiesSerializer(item["snapshot"]),
3154
+ backup: !item["backup"]
3155
+ ? item["backup"]
3156
+ : elasticVolumeBackupPropertiesSerializer(item["backup"]),
3157
+ };
3158
+ }
3159
+ export function elasticVolumeDataProtectionPropertiesDeserializer(item) {
3160
+ return {
3161
+ snapshot: !item["snapshot"]
3162
+ ? item["snapshot"]
3163
+ : elasticVolumeSnapshotPropertiesDeserializer(item["snapshot"]),
3164
+ backup: !item["backup"]
3165
+ ? item["backup"]
3166
+ : elasticVolumeBackupPropertiesDeserializer(item["backup"]),
3167
+ };
3168
+ }
3169
+ export function elasticVolumeSnapshotPropertiesSerializer(item) {
3170
+ return { snapshotPolicyResourceId: item["snapshotPolicyResourceId"] };
3171
+ }
3172
+ export function elasticVolumeSnapshotPropertiesDeserializer(item) {
3173
+ return {
3174
+ snapshotPolicyResourceId: item["snapshotPolicyResourceId"],
3175
+ };
3176
+ }
3177
+ export function elasticVolumeBackupPropertiesSerializer(item) {
3178
+ return {
3179
+ elasticBackupPolicyResourceId: item["elasticBackupPolicyResourceId"],
3180
+ policyEnforcement: item["policyEnforcement"],
3181
+ elasticBackupVaultResourceId: item["elasticBackupVaultResourceId"],
3182
+ };
3183
+ }
3184
+ export function elasticVolumeBackupPropertiesDeserializer(item) {
3185
+ return {
3186
+ elasticBackupPolicyResourceId: item["elasticBackupPolicyResourceId"],
3187
+ policyEnforcement: item["policyEnforcement"],
3188
+ elasticBackupVaultResourceId: item["elasticBackupVaultResourceId"],
3189
+ };
3190
+ }
3191
+ /** Policy enforcement */
3192
+ export var KnownElasticVolumePolicyEnforcement;
3193
+ (function (KnownElasticVolumePolicyEnforcement) {
3194
+ /** Value indicating the policy is enforced on the volume. */
3195
+ KnownElasticVolumePolicyEnforcement["Enforced"] = "Enforced";
3196
+ /** Value indicating the policy is not enforced on the volume. */
3197
+ KnownElasticVolumePolicyEnforcement["NotEnforced"] = "NotEnforced";
3198
+ })(KnownElasticVolumePolicyEnforcement || (KnownElasticVolumePolicyEnforcement = {}));
3199
+ /** Controls the visibility of the Elastic Volume's read-only snapshot directory, which provides access to each of the volume's snapshots. */
3200
+ export var KnownSnapshotDirectoryVisibility;
3201
+ (function (KnownSnapshotDirectoryVisibility) {
3202
+ /** Value indicating the read-only snapshot directory is not visible */
3203
+ KnownSnapshotDirectoryVisibility["Hidden"] = "Hidden";
3204
+ /** Value indicating the read-only snapshot directory is visible */
3205
+ KnownSnapshotDirectoryVisibility["Visible"] = "Visible";
3206
+ })(KnownSnapshotDirectoryVisibility || (KnownSnapshotDirectoryVisibility = {}));
3207
+ export function elasticSmbPropertiesSerializer(item) {
3208
+ return { smbEncryption: item["smbEncryption"] };
3209
+ }
3210
+ export function elasticSmbPropertiesDeserializer(item) {
3211
+ return {
3212
+ smbEncryption: item["smbEncryption"],
3213
+ };
3214
+ }
3215
+ /** SMB encryption */
3216
+ export var KnownElasticSmbEncryption;
3217
+ (function (KnownElasticSmbEncryption) {
3218
+ /** Value indicating the SMB encryption is enabled */
3219
+ KnownElasticSmbEncryption["Enabled"] = "Enabled";
3220
+ /** Value indicating the SMB encryption is disabled */
3221
+ KnownElasticSmbEncryption["Disabled"] = "Disabled";
3222
+ })(KnownElasticSmbEncryption || (KnownElasticSmbEncryption = {}));
3223
+ /** The current state of the restoration process. */
3224
+ export var KnownElasticVolumeRestorationState;
3225
+ (function (KnownElasticVolumeRestorationState) {
3226
+ /** Value indicating that the volume is currently restoring. */
3227
+ KnownElasticVolumeRestorationState["Restoring"] = "Restoring";
3228
+ /** Value indicating that the volume is restored. */
3229
+ KnownElasticVolumeRestorationState["Restored"] = "Restored";
3230
+ /** Value indicating that the volume restore has failed. */
3231
+ KnownElasticVolumeRestorationState["Failed"] = "Failed";
3232
+ })(KnownElasticVolumeRestorationState || (KnownElasticVolumeRestorationState = {}));
3233
+ export function elasticVolumeUpdateSerializer(item) {
3234
+ return {
3235
+ tags: item["tags"],
3236
+ properties: !item["properties"]
3237
+ ? item["properties"]
3238
+ : elasticVolumeUpdatePropertiesSerializer(item["properties"]),
3239
+ };
3240
+ }
3241
+ export function elasticVolumeUpdatePropertiesSerializer(item) {
3242
+ return {
3243
+ size: item["size"],
3244
+ exportPolicy: !item["exportPolicy"]
3245
+ ? item["exportPolicy"]
3246
+ : elasticExportPolicySerializer(item["exportPolicy"]),
3247
+ dataProtection: !item["dataProtection"]
3248
+ ? item["dataProtection"]
3249
+ : elasticVolumeDataProtectionPatchPropertiesSerializer(item["dataProtection"]),
3250
+ snapshotDirectoryVisibility: item["snapshotDirectoryVisibility"],
3251
+ smbProperties: !item["smbProperties"]
3252
+ ? item["smbProperties"]
3253
+ : elasticSmbPatchPropertiesSerializer(item["smbProperties"]),
3254
+ };
3255
+ }
3256
+ export function elasticVolumeDataProtectionPatchPropertiesSerializer(item) {
3257
+ return {
3258
+ snapshot: !item["snapshot"]
3259
+ ? item["snapshot"]
3260
+ : elasticVolumeSnapshotPropertiesSerializer(item["snapshot"]),
3261
+ backup: !item["backup"]
3262
+ ? item["backup"]
3263
+ : elasticVolumeBackupPropertiesSerializer(item["backup"]),
3264
+ };
3265
+ }
3266
+ export function elasticSmbPatchPropertiesSerializer(item) {
3267
+ return { smbEncryption: item["smbEncryption"] };
3268
+ }
3269
+ export function _elasticVolumeListResultDeserializer(item) {
3270
+ return {
3271
+ value: elasticVolumeArrayDeserializer(item["value"]),
3272
+ nextLink: item["nextLink"],
3273
+ };
3274
+ }
3275
+ export function elasticVolumeArraySerializer(result) {
3276
+ return result.map((item) => {
3277
+ return elasticVolumeSerializer(item);
3278
+ });
3279
+ }
3280
+ export function elasticVolumeArrayDeserializer(result) {
3281
+ return result.map((item) => {
3282
+ return elasticVolumeDeserializer(item);
3283
+ });
3284
+ }
3285
+ export function elasticVolumeRevertSerializer(item) {
3286
+ return { snapshotResourceId: item["snapshotResourceId"] };
3287
+ }
3288
+ export function elasticSnapshotSerializer(item) {
3289
+ return {
3290
+ properties: !item["properties"]
3291
+ ? item["properties"]
3292
+ : elasticSnapshotPropertiesSerializer(item["properties"]),
3293
+ };
3294
+ }
3295
+ export function elasticSnapshotDeserializer(item) {
3296
+ return {
3297
+ id: item["id"],
3298
+ name: item["name"],
3299
+ type: item["type"],
3300
+ systemData: !item["systemData"]
3301
+ ? item["systemData"]
3302
+ : systemDataDeserializer(item["systemData"]),
3303
+ properties: !item["properties"]
3304
+ ? item["properties"]
3305
+ : elasticSnapshotPropertiesDeserializer(item["properties"]),
3306
+ };
3307
+ }
3308
+ export function elasticSnapshotPropertiesSerializer(_item) {
3309
+ return {};
3310
+ }
3311
+ export function elasticSnapshotPropertiesDeserializer(item) {
3312
+ return {
3313
+ provisioningState: item["provisioningState"],
3314
+ };
3315
+ }
3316
+ export function _elasticSnapshotListResultDeserializer(item) {
3317
+ return {
3318
+ value: elasticSnapshotArrayDeserializer(item["value"]),
3319
+ nextLink: item["nextLink"],
3320
+ };
3321
+ }
3322
+ export function elasticSnapshotArraySerializer(result) {
3323
+ return result.map((item) => {
3324
+ return elasticSnapshotSerializer(item);
3325
+ });
3326
+ }
3327
+ export function elasticSnapshotArrayDeserializer(result) {
3328
+ return result.map((item) => {
3329
+ return elasticSnapshotDeserializer(item);
3330
+ });
3331
+ }
3332
+ export function elasticSnapshotPolicySerializer(item) {
3333
+ return {
3334
+ tags: item["tags"],
3335
+ location: item["location"],
3336
+ properties: !item["properties"]
3337
+ ? item["properties"]
3338
+ : elasticSnapshotPolicyPropertiesSerializer(item["properties"]),
3339
+ };
3340
+ }
3341
+ export function elasticSnapshotPolicyDeserializer(item) {
3342
+ return {
3343
+ tags: !item["tags"]
3344
+ ? item["tags"]
3345
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
3346
+ location: item["location"],
3347
+ id: item["id"],
3348
+ name: item["name"],
3349
+ type: item["type"],
3350
+ systemData: !item["systemData"]
3351
+ ? item["systemData"]
3352
+ : systemDataDeserializer(item["systemData"]),
3353
+ properties: !item["properties"]
3354
+ ? item["properties"]
3355
+ : elasticSnapshotPolicyPropertiesDeserializer(item["properties"]),
3356
+ eTag: item["eTag"],
3357
+ };
3358
+ }
3359
+ export function elasticSnapshotPolicyPropertiesSerializer(item) {
3360
+ return {
3361
+ hourlySchedule: !item["hourlySchedule"]
3362
+ ? item["hourlySchedule"]
3363
+ : elasticSnapshotPolicyHourlyScheduleSerializer(item["hourlySchedule"]),
3364
+ dailySchedule: !item["dailySchedule"]
3365
+ ? item["dailySchedule"]
3366
+ : elasticSnapshotPolicyDailyScheduleSerializer(item["dailySchedule"]),
3367
+ weeklySchedule: !item["weeklySchedule"]
3368
+ ? item["weeklySchedule"]
3369
+ : elasticSnapshotPolicyWeeklyScheduleSerializer(item["weeklySchedule"]),
3370
+ monthlySchedule: !item["monthlySchedule"]
3371
+ ? item["monthlySchedule"]
3372
+ : elasticSnapshotPolicyMonthlyScheduleSerializer(item["monthlySchedule"]),
3373
+ policyStatus: item["policyStatus"],
3374
+ };
3375
+ }
3376
+ export function elasticSnapshotPolicyPropertiesDeserializer(item) {
3377
+ return {
3378
+ hourlySchedule: !item["hourlySchedule"]
3379
+ ? item["hourlySchedule"]
3380
+ : elasticSnapshotPolicyHourlyScheduleDeserializer(item["hourlySchedule"]),
3381
+ dailySchedule: !item["dailySchedule"]
3382
+ ? item["dailySchedule"]
3383
+ : elasticSnapshotPolicyDailyScheduleDeserializer(item["dailySchedule"]),
3384
+ weeklySchedule: !item["weeklySchedule"]
3385
+ ? item["weeklySchedule"]
3386
+ : elasticSnapshotPolicyWeeklyScheduleDeserializer(item["weeklySchedule"]),
3387
+ monthlySchedule: !item["monthlySchedule"]
3388
+ ? item["monthlySchedule"]
3389
+ : elasticSnapshotPolicyMonthlyScheduleDeserializer(item["monthlySchedule"]),
3390
+ policyStatus: item["policyStatus"],
3391
+ provisioningState: item["provisioningState"],
3392
+ };
3393
+ }
3394
+ export function elasticSnapshotPolicyHourlyScheduleSerializer(item) {
3395
+ return { snapshotsToKeep: item["snapshotsToKeep"], minute: item["minute"] };
3396
+ }
3397
+ export function elasticSnapshotPolicyHourlyScheduleDeserializer(item) {
3398
+ return {
3399
+ snapshotsToKeep: item["snapshotsToKeep"],
3400
+ minute: item["minute"],
3401
+ };
3402
+ }
3403
+ export function elasticSnapshotPolicyDailyScheduleSerializer(item) {
3404
+ return { snapshotsToKeep: item["snapshotsToKeep"], hour: item["hour"], minute: item["minute"] };
3405
+ }
3406
+ export function elasticSnapshotPolicyDailyScheduleDeserializer(item) {
3407
+ return {
3408
+ snapshotsToKeep: item["snapshotsToKeep"],
3409
+ hour: item["hour"],
3410
+ minute: item["minute"],
3411
+ };
3412
+ }
3413
+ export function elasticSnapshotPolicyWeeklyScheduleSerializer(item) {
3414
+ return {
3415
+ snapshotsToKeep: item["snapshotsToKeep"],
3416
+ days: !item["days"]
3417
+ ? item["days"]
3418
+ : item["days"].map((p) => {
3419
+ return p;
3420
+ }),
3421
+ hour: item["hour"],
3422
+ minute: item["minute"],
3423
+ };
3424
+ }
3425
+ export function elasticSnapshotPolicyWeeklyScheduleDeserializer(item) {
3426
+ return {
3427
+ snapshotsToKeep: item["snapshotsToKeep"],
3428
+ days: !item["days"]
3429
+ ? item["days"]
3430
+ : item["days"].map((p) => {
3431
+ return p;
3432
+ }),
3433
+ hour: item["hour"],
3434
+ minute: item["minute"],
3435
+ };
3436
+ }
3437
+ /** Day of the week */
3438
+ export var KnownDayOfWeek;
3439
+ (function (KnownDayOfWeek) {
3440
+ /** Take a snapshot each Sunday */
3441
+ KnownDayOfWeek["Sunday"] = "Sunday";
3442
+ /** Take a snapshot each Monday */
3443
+ KnownDayOfWeek["Monday"] = "Monday";
3444
+ /** Take a snapshot each Tuesday */
3445
+ KnownDayOfWeek["Tuesday"] = "Tuesday";
3446
+ /** Take a snapshot each Wednesday */
3447
+ KnownDayOfWeek["Wednesday"] = "Wednesday";
3448
+ /** Take a snapshot each Thursday */
3449
+ KnownDayOfWeek["Thursday"] = "Thursday";
3450
+ /** Take a snapshot each Friday */
3451
+ KnownDayOfWeek["Friday"] = "Friday";
3452
+ /** Take a snapshot each Saturday */
3453
+ KnownDayOfWeek["Saturday"] = "Saturday";
3454
+ })(KnownDayOfWeek || (KnownDayOfWeek = {}));
3455
+ export function elasticSnapshotPolicyMonthlyScheduleSerializer(item) {
3456
+ return {
3457
+ snapshotsToKeep: item["snapshotsToKeep"],
3458
+ daysOfMonth: !item["daysOfMonth"]
3459
+ ? item["daysOfMonth"]
3460
+ : item["daysOfMonth"].map((p) => {
3461
+ return p;
3462
+ }),
3463
+ hour: item["hour"],
3464
+ minute: item["minute"],
3465
+ };
3466
+ }
3467
+ export function elasticSnapshotPolicyMonthlyScheduleDeserializer(item) {
3468
+ return {
3469
+ snapshotsToKeep: item["snapshotsToKeep"],
3470
+ daysOfMonth: !item["daysOfMonth"]
3471
+ ? item["daysOfMonth"]
3472
+ : item["daysOfMonth"].map((p) => {
3473
+ return p;
3474
+ }),
3475
+ hour: item["hour"],
3476
+ minute: item["minute"],
3477
+ };
3478
+ }
3479
+ /** Policy status */
3480
+ export var KnownPolicyStatus;
3481
+ (function (KnownPolicyStatus) {
3482
+ /** Value indicating the policy is enabled */
3483
+ KnownPolicyStatus["Enabled"] = "Enabled";
3484
+ /** Value indicating the policy is disabled */
3485
+ KnownPolicyStatus["Disabled"] = "Disabled";
3486
+ })(KnownPolicyStatus || (KnownPolicyStatus = {}));
3487
+ export function elasticSnapshotPolicyUpdateSerializer(item) {
3488
+ return {
3489
+ tags: item["tags"],
3490
+ properties: !item["properties"]
3491
+ ? item["properties"]
3492
+ : elasticSnapshotPolicyUpdatePropertiesSerializer(item["properties"]),
3493
+ };
3494
+ }
3495
+ export function elasticSnapshotPolicyUpdatePropertiesSerializer(item) {
3496
+ return {
3497
+ hourlySchedule: !item["hourlySchedule"]
3498
+ ? item["hourlySchedule"]
3499
+ : elasticSnapshotPolicyHourlyScheduleSerializer(item["hourlySchedule"]),
3500
+ dailySchedule: !item["dailySchedule"]
3501
+ ? item["dailySchedule"]
3502
+ : elasticSnapshotPolicyDailyScheduleSerializer(item["dailySchedule"]),
3503
+ weeklySchedule: !item["weeklySchedule"]
3504
+ ? item["weeklySchedule"]
3505
+ : elasticSnapshotPolicyWeeklyScheduleSerializer(item["weeklySchedule"]),
3506
+ monthlySchedule: !item["monthlySchedule"]
3507
+ ? item["monthlySchedule"]
3508
+ : elasticSnapshotPolicyMonthlyScheduleSerializer(item["monthlySchedule"]),
3509
+ policyStatus: item["policyStatus"],
3510
+ };
3511
+ }
3512
+ export function _elasticSnapshotPolicyListResultDeserializer(item) {
3513
+ return {
3514
+ value: elasticSnapshotPolicyArrayDeserializer(item["value"]),
3515
+ nextLink: item["nextLink"],
3516
+ };
3517
+ }
3518
+ export function elasticSnapshotPolicyArraySerializer(result) {
3519
+ return result.map((item) => {
3520
+ return elasticSnapshotPolicySerializer(item);
3521
+ });
3522
+ }
3523
+ export function elasticSnapshotPolicyArrayDeserializer(result) {
3524
+ return result.map((item) => {
3525
+ return elasticSnapshotPolicyDeserializer(item);
3526
+ });
3527
+ }
3528
+ export function _elasticSnapshotPolicyVolumeListDeserializer(item) {
3529
+ return {
3530
+ value: elasticVolumeArrayDeserializer(item["value"]),
3531
+ nextLink: item["nextLink"],
3532
+ };
3533
+ }
3534
+ export function elasticBackupVaultSerializer(item) {
3535
+ return {
3536
+ tags: item["tags"],
3537
+ location: item["location"],
3538
+ properties: !item["properties"]
3539
+ ? item["properties"]
3540
+ : elasticBackupVaultPropertiesSerializer(item["properties"]),
3541
+ };
3542
+ }
3543
+ export function elasticBackupVaultDeserializer(item) {
3544
+ return {
3545
+ tags: !item["tags"]
3546
+ ? item["tags"]
3547
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
3548
+ location: item["location"],
3549
+ id: item["id"],
3550
+ name: item["name"],
3551
+ type: item["type"],
3552
+ systemData: !item["systemData"]
3553
+ ? item["systemData"]
3554
+ : systemDataDeserializer(item["systemData"]),
3555
+ properties: !item["properties"]
3556
+ ? item["properties"]
3557
+ : elasticBackupVaultPropertiesDeserializer(item["properties"]),
3558
+ eTag: item["eTag"],
3559
+ };
3560
+ }
3561
+ export function elasticBackupVaultPropertiesSerializer(_item) {
3562
+ return {};
3563
+ }
3564
+ export function elasticBackupVaultPropertiesDeserializer(item) {
3565
+ return {
3566
+ provisioningState: item["provisioningState"],
3567
+ };
3568
+ }
3569
+ export function elasticBackupVaultUpdateSerializer(item) {
3570
+ return { tags: item["tags"] };
3571
+ }
3572
+ export function _elasticBackupVaultListResultDeserializer(item) {
3573
+ return {
3574
+ value: elasticBackupVaultArrayDeserializer(item["value"]),
3575
+ nextLink: item["nextLink"],
3576
+ };
3577
+ }
3578
+ export function elasticBackupVaultArraySerializer(result) {
3579
+ return result.map((item) => {
3580
+ return elasticBackupVaultSerializer(item);
3581
+ });
3582
+ }
3583
+ export function elasticBackupVaultArrayDeserializer(result) {
3584
+ return result.map((item) => {
3585
+ return elasticBackupVaultDeserializer(item);
3586
+ });
3587
+ }
3588
+ export function elasticBackupPolicySerializer(item) {
3589
+ return {
3590
+ tags: item["tags"],
3591
+ location: item["location"],
3592
+ properties: !item["properties"]
3593
+ ? item["properties"]
3594
+ : elasticBackupPolicyPropertiesSerializer(item["properties"]),
3595
+ };
3596
+ }
3597
+ export function elasticBackupPolicyDeserializer(item) {
3598
+ return {
3599
+ tags: !item["tags"]
3600
+ ? item["tags"]
3601
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
3602
+ location: item["location"],
3603
+ id: item["id"],
3604
+ name: item["name"],
3605
+ type: item["type"],
3606
+ systemData: !item["systemData"]
3607
+ ? item["systemData"]
3608
+ : systemDataDeserializer(item["systemData"]),
3609
+ properties: !item["properties"]
3610
+ ? item["properties"]
3611
+ : elasticBackupPolicyPropertiesDeserializer(item["properties"]),
3612
+ eTag: item["eTag"],
3613
+ };
3614
+ }
3615
+ export function elasticBackupPolicyPropertiesSerializer(item) {
3616
+ return {
3617
+ dailyBackupsToKeep: item["dailyBackupsToKeep"],
3618
+ weeklyBackupsToKeep: item["weeklyBackupsToKeep"],
3619
+ monthlyBackupsToKeep: item["monthlyBackupsToKeep"],
3620
+ policyState: item["policyState"],
3621
+ };
3622
+ }
3623
+ export function elasticBackupPolicyPropertiesDeserializer(item) {
3624
+ return {
3625
+ provisioningState: item["provisioningState"],
3626
+ dailyBackupsToKeep: item["dailyBackupsToKeep"],
3627
+ weeklyBackupsToKeep: item["weeklyBackupsToKeep"],
3628
+ monthlyBackupsToKeep: item["monthlyBackupsToKeep"],
3629
+ assignedVolumesCount: item["assignedVolumesCount"],
3630
+ policyState: item["policyState"],
3631
+ };
3632
+ }
3633
+ /** Elastic Backup Policy state */
3634
+ export var KnownElasticBackupPolicyState;
3635
+ (function (KnownElasticBackupPolicyState) {
3636
+ /** Value indicating the policy is enabled */
3637
+ KnownElasticBackupPolicyState["Enabled"] = "Enabled";
3638
+ /** Value indicating the policy is disabled */
3639
+ KnownElasticBackupPolicyState["Disabled"] = "Disabled";
3640
+ })(KnownElasticBackupPolicyState || (KnownElasticBackupPolicyState = {}));
3641
+ export function elasticBackupPolicyUpdateSerializer(item) {
3642
+ return {
3643
+ tags: item["tags"],
3644
+ properties: !item["properties"]
3645
+ ? item["properties"]
3646
+ : elasticBackupPolicyUpdatePropertiesSerializer(item["properties"]),
3647
+ };
3648
+ }
3649
+ export function elasticBackupPolicyUpdatePropertiesSerializer(item) {
3650
+ return {
3651
+ dailyBackupsToKeep: item["dailyBackupsToKeep"],
3652
+ weeklyBackupsToKeep: item["weeklyBackupsToKeep"],
3653
+ monthlyBackupsToKeep: item["monthlyBackupsToKeep"],
3654
+ policyState: item["policyState"],
3655
+ };
3656
+ }
3657
+ export function _elasticBackupPolicyListResultDeserializer(item) {
3658
+ return {
3659
+ value: elasticBackupPolicyArrayDeserializer(item["value"]),
3660
+ nextLink: item["nextLink"],
3661
+ };
3662
+ }
3663
+ export function elasticBackupPolicyArraySerializer(result) {
3664
+ return result.map((item) => {
3665
+ return elasticBackupPolicySerializer(item);
3666
+ });
3667
+ }
3668
+ export function elasticBackupPolicyArrayDeserializer(result) {
3669
+ return result.map((item) => {
3670
+ return elasticBackupPolicyDeserializer(item);
3671
+ });
3672
+ }
3673
+ export function elasticBackupSerializer(item) {
3674
+ return {
3675
+ properties: !item["properties"]
3676
+ ? item["properties"]
3677
+ : elasticBackupPropertiesSerializer(item["properties"]),
3678
+ };
3679
+ }
3680
+ export function elasticBackupDeserializer(item) {
3681
+ return {
3682
+ id: item["id"],
3683
+ name: item["name"],
3684
+ type: item["type"],
3685
+ systemData: !item["systemData"]
3686
+ ? item["systemData"]
3687
+ : systemDataDeserializer(item["systemData"]),
3688
+ properties: !item["properties"]
3689
+ ? item["properties"]
3690
+ : elasticBackupPropertiesDeserializer(item["properties"]),
3691
+ };
3692
+ }
3693
+ export function elasticBackupPropertiesSerializer(item) {
3694
+ return {
3695
+ label: item["label"],
3696
+ elasticVolumeResourceId: item["elasticVolumeResourceId"],
3697
+ snapshotUsage: item["snapshotUsage"],
3698
+ elasticSnapshotResourceId: item["elasticSnapshotResourceId"],
3699
+ };
3700
+ }
3701
+ export function elasticBackupPropertiesDeserializer(item) {
3702
+ return {
3703
+ creationDate: !item["creationDate"] ? item["creationDate"] : new Date(item["creationDate"]),
3704
+ snapshotCreationDate: !item["snapshotCreationDate"]
3705
+ ? item["snapshotCreationDate"]
3706
+ : new Date(item["snapshotCreationDate"]),
3707
+ completionDate: !item["completionDate"]
3708
+ ? item["completionDate"]
3709
+ : new Date(item["completionDate"]),
3710
+ provisioningState: item["provisioningState"],
3711
+ size: item["size"],
3712
+ label: item["label"],
3713
+ backupType: item["backupType"],
3714
+ failureReason: item["failureReason"],
3715
+ elasticVolumeResourceId: item["elasticVolumeResourceId"],
3716
+ snapshotUsage: item["snapshotUsage"],
3717
+ elasticSnapshotResourceId: item["elasticSnapshotResourceId"],
3718
+ elasticBackupPolicyResourceId: item["elasticBackupPolicyResourceId"],
3719
+ volumeSize: item["volumeSize"],
3720
+ };
3721
+ }
3722
+ /** Type of backup */
3723
+ export var KnownElasticBackupType;
3724
+ (function (KnownElasticBackupType) {
3725
+ /** Manual backup type */
3726
+ KnownElasticBackupType["Manual"] = "Manual";
3727
+ /** Scheduled backup type */
3728
+ KnownElasticBackupType["Scheduled"] = "Scheduled";
3729
+ })(KnownElasticBackupType || (KnownElasticBackupType = {}));
3730
+ /** Snapshot usage for backup */
3731
+ export var KnownSnapshotUsage;
3732
+ (function (KnownSnapshotUsage) {
3733
+ /** Value indicating an existing snapshot is used */
3734
+ KnownSnapshotUsage["UseExistingSnapshot"] = "UseExistingSnapshot";
3735
+ /** Value indicating a new snapshot is created */
3736
+ KnownSnapshotUsage["CreateNewSnapshot"] = "CreateNewSnapshot";
3737
+ })(KnownSnapshotUsage || (KnownSnapshotUsage = {}));
3738
+ /** Volume size for backup */
3739
+ export var KnownVolumeSize;
3740
+ (function (KnownVolumeSize) {
3741
+ /** Value indicating backup is for a large volume */
3742
+ KnownVolumeSize["Large"] = "Large";
3743
+ /** Value indicating backup is not for a large volume */
3744
+ KnownVolumeSize["Regular"] = "Regular";
3745
+ })(KnownVolumeSize || (KnownVolumeSize = {}));
3746
+ export function _elasticBackupListResultDeserializer(item) {
3747
+ return {
3748
+ value: elasticBackupArrayDeserializer(item["value"]),
3749
+ nextLink: item["nextLink"],
3750
+ };
3751
+ }
3752
+ export function elasticBackupArraySerializer(result) {
3753
+ return result.map((item) => {
3754
+ return elasticBackupSerializer(item);
3755
+ });
3756
+ }
3757
+ export function elasticBackupArrayDeserializer(result) {
3758
+ return result.map((item) => {
3759
+ return elasticBackupDeserializer(item);
3760
+ });
3761
+ }
3762
+ export function activeDirectoryConfigSerializer(item) {
3763
+ return {
3764
+ tags: item["tags"],
3765
+ location: item["location"],
3766
+ properties: !item["properties"]
3767
+ ? item["properties"]
3768
+ : activeDirectoryConfigPropertiesSerializer(item["properties"]),
3769
+ identity: !item["identity"]
3770
+ ? item["identity"]
3771
+ : managedServiceIdentitySerializer(item["identity"]),
3772
+ };
3773
+ }
3774
+ export function activeDirectoryConfigDeserializer(item) {
3775
+ return {
3776
+ tags: !item["tags"]
3777
+ ? item["tags"]
3778
+ : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
3779
+ location: item["location"],
3780
+ id: item["id"],
3781
+ name: item["name"],
3782
+ type: item["type"],
3783
+ systemData: !item["systemData"]
3784
+ ? item["systemData"]
3785
+ : systemDataDeserializer(item["systemData"]),
3786
+ properties: !item["properties"]
3787
+ ? item["properties"]
3788
+ : activeDirectoryConfigPropertiesDeserializer(item["properties"]),
3789
+ etag: item["etag"],
3790
+ identity: !item["identity"]
3791
+ ? item["identity"]
3792
+ : managedServiceIdentityDeserializer(item["identity"]),
3793
+ };
3794
+ }
3795
+ export function activeDirectoryConfigPropertiesSerializer(item) {
3796
+ return {
3797
+ userName: item["userName"],
3798
+ dns: !item["dns"]
3799
+ ? item["dns"]
3800
+ : item["dns"].map((p) => {
3801
+ return p;
3802
+ }),
3803
+ smbServerName: item["smbServerName"],
3804
+ organizationalUnit: item["organizationalUnit"],
3805
+ site: item["site"],
3806
+ backupOperators: !item["backupOperators"]
3807
+ ? item["backupOperators"]
3808
+ : item["backupOperators"].map((p) => {
3809
+ return p;
3810
+ }),
3811
+ administrators: !item["administrators"]
3812
+ ? item["administrators"]
3813
+ : item["administrators"].map((p) => {
3814
+ return p;
3815
+ }),
3816
+ securityOperators: !item["securityOperators"]
3817
+ ? item["securityOperators"]
3818
+ : item["securityOperators"].map((p) => {
3819
+ return p;
3820
+ }),
3821
+ domain: item["domain"],
3822
+ secretPassword: secretPasswordSerializer(item["secretPassword"]),
3823
+ };
3824
+ }
3825
+ export function activeDirectoryConfigPropertiesDeserializer(item) {
3826
+ return {
3827
+ userName: item["userName"],
3828
+ dns: !item["dns"]
3829
+ ? item["dns"]
3830
+ : item["dns"].map((p) => {
3831
+ return p;
3832
+ }),
3833
+ smbServerName: item["smbServerName"],
3834
+ organizationalUnit: item["organizationalUnit"],
3835
+ site: item["site"],
3836
+ backupOperators: !item["backupOperators"]
3837
+ ? item["backupOperators"]
3838
+ : item["backupOperators"].map((p) => {
3839
+ return p;
3840
+ }),
3841
+ administrators: !item["administrators"]
3842
+ ? item["administrators"]
3843
+ : item["administrators"].map((p) => {
3844
+ return p;
3845
+ }),
3846
+ securityOperators: !item["securityOperators"]
3847
+ ? item["securityOperators"]
3848
+ : item["securityOperators"].map((p) => {
3849
+ return p;
3850
+ }),
3851
+ activeDirectoryStatus: item["activeDirectoryStatus"],
3852
+ provisioningState: item["provisioningState"],
3853
+ domain: item["domain"],
3854
+ secretPassword: secretPasswordDeserializer(item["secretPassword"]),
3855
+ };
3856
+ }
3857
+ /** Status of the Active Directory */
3858
+ export var KnownActiveDirectoryStatus;
3859
+ (function (KnownActiveDirectoryStatus) {
3860
+ /** Active Directory created but not in use */
3861
+ KnownActiveDirectoryStatus["Created"] = "Created";
3862
+ /** Active Directory in use by SMB Volume */
3863
+ KnownActiveDirectoryStatus["InUse"] = "InUse";
3864
+ /** Active Directory Deleted */
3865
+ KnownActiveDirectoryStatus["Deleted"] = "Deleted";
3866
+ /** Error with the Active Directory */
3867
+ KnownActiveDirectoryStatus["Error"] = "Error";
3868
+ /** Active Directory Updating */
3869
+ KnownActiveDirectoryStatus["Updating"] = "Updating";
3870
+ })(KnownActiveDirectoryStatus || (KnownActiveDirectoryStatus = {}));
3871
+ export function secretPasswordSerializer(item) {
3872
+ return {
3873
+ keyVaultProperties: !item["keyVaultProperties"]
3874
+ ? item["keyVaultProperties"]
3875
+ : secretPasswordKeyVaultPropertiesSerializer(item["keyVaultProperties"]),
3876
+ identity: !item["identity"]
3877
+ ? item["identity"]
3878
+ : secretPasswordIdentitySerializer(item["identity"]),
2476
3879
  };
2477
3880
  }
2478
- export function originClusterInformationDeserializer(item) {
3881
+ export function secretPasswordDeserializer(item) {
2479
3882
  return {
2480
- peerClusterName: item["peerClusterName"],
2481
- peerAddresses: item["peerAddresses"].map((p) => {
2482
- return p;
2483
- }),
2484
- peerVserverName: item["peerVserverName"],
2485
- peerVolumeName: item["peerVolumeName"],
3883
+ keyVaultProperties: !item["keyVaultProperties"]
3884
+ ? item["keyVaultProperties"]
3885
+ : secretPasswordKeyVaultPropertiesDeserializer(item["keyVaultProperties"]),
3886
+ identity: !item["identity"]
3887
+ ? item["identity"]
3888
+ : secretPasswordIdentityDeserializer(item["identity"]),
2486
3889
  };
2487
3890
  }
2488
- /** Flag indicating whether a CIFS change notification is enabled for the cache. */
2489
- export var KnownCifsChangeNotifyState;
2490
- (function (KnownCifsChangeNotifyState) {
2491
- /** CIFS change notification is disabled */
2492
- KnownCifsChangeNotifyState["Disabled"] = "Disabled";
2493
- /** CIFS change notification is enabled */
2494
- KnownCifsChangeNotifyState["Enabled"] = "Enabled";
2495
- })(KnownCifsChangeNotifyState || (KnownCifsChangeNotifyState = {}));
2496
- /** Flag indicating whether the global file lock is enabled for the cache. */
2497
- export var KnownGlobalFileLockingState;
2498
- (function (KnownGlobalFileLockingState) {
2499
- /** Global file locking is disabled */
2500
- KnownGlobalFileLockingState["Disabled"] = "Disabled";
2501
- /** Global file locking is enabled */
2502
- KnownGlobalFileLockingState["Enabled"] = "Enabled";
2503
- })(KnownGlobalFileLockingState || (KnownGlobalFileLockingState = {}));
2504
- /** Flag indicating whether writeback is enabled for the cache. */
2505
- export var KnownEnableWriteBackState;
2506
- (function (KnownEnableWriteBackState) {
2507
- /** Writeback cache is disabled */
2508
- KnownEnableWriteBackState["Disabled"] = "Disabled";
2509
- /** Writeback cache is enabled */
2510
- KnownEnableWriteBackState["Enabled"] = "Enabled";
2511
- })(KnownEnableWriteBackState || (KnownEnableWriteBackState = {}));
2512
- /** Flag indicating whether file access logs are enabled for the Cache, based on active diagnostic settings present on the Cache. */
2513
- export var KnownCacheFileAccessLogs;
2514
- (function (KnownCacheFileAccessLogs) {
2515
- /** fileAccessLogs are enabled */
2516
- KnownCacheFileAccessLogs["Enabled"] = "Enabled";
2517
- /** fileAccessLogs are not enabled */
2518
- KnownCacheFileAccessLogs["Disabled"] = "Disabled";
2519
- })(KnownCacheFileAccessLogs || (KnownCacheFileAccessLogs = {}));
2520
- export function cacheUpdateSerializer(item) {
3891
+ export function secretPasswordKeyVaultPropertiesSerializer(item) {
3892
+ return { keyVaultUri: item["keyVaultUri"], secretName: item["secretName"] };
3893
+ }
3894
+ export function secretPasswordKeyVaultPropertiesDeserializer(item) {
3895
+ return {
3896
+ keyVaultUri: item["keyVaultUri"],
3897
+ secretName: item["secretName"],
3898
+ };
3899
+ }
3900
+ export function secretPasswordIdentitySerializer(item) {
3901
+ return { userAssignedIdentity: item["userAssignedIdentity"] };
3902
+ }
3903
+ export function secretPasswordIdentityDeserializer(item) {
3904
+ return {
3905
+ principalId: item["principalId"],
3906
+ userAssignedIdentity: item["userAssignedIdentity"],
3907
+ };
3908
+ }
3909
+ export function activeDirectoryConfigUpdateSerializer(item) {
2521
3910
  return {
3911
+ identity: !item["identity"]
3912
+ ? item["identity"]
3913
+ : managedServiceIdentitySerializer(item["identity"]),
2522
3914
  tags: item["tags"],
2523
3915
  properties: !item["properties"]
2524
3916
  ? item["properties"]
2525
- : cacheUpdatePropertiesSerializer(item["properties"]),
3917
+ : activeDirectoryConfigUpdatePropertiesSerializer(item["properties"]),
2526
3918
  };
2527
3919
  }
2528
- export function cacheUpdatePropertiesSerializer(item) {
3920
+ export function activeDirectoryConfigUpdatePropertiesSerializer(item) {
2529
3921
  return {
2530
- size: item["size"],
2531
- exportPolicy: !item["exportPolicy"]
2532
- ? item["exportPolicy"]
2533
- : cachePropertiesExportPolicySerializer(item["exportPolicy"]),
2534
- protocolTypes: !item["protocolTypes"]
2535
- ? item["protocolTypes"]
2536
- : item["protocolTypes"].map((p) => {
3922
+ userName: item["userName"],
3923
+ dns: !item["dns"]
3924
+ ? item["dns"]
3925
+ : item["dns"].map((p) => {
2537
3926
  return p;
2538
3927
  }),
2539
- smbSettings: !item["smbSettings"]
2540
- ? item["smbSettings"]
2541
- : smbSettingsSerializer(item["smbSettings"]),
2542
- throughputMibps: item["throughputMibps"],
2543
- keyVaultPrivateEndpointResourceId: item["keyVaultPrivateEndpointResourceId"],
2544
- cifsChangeNotifications: item["cifsChangeNotifications"],
2545
- writeBack: item["writeBack"],
3928
+ smbServerName: item["smbServerName"],
3929
+ organizationalUnit: item["organizationalUnit"],
3930
+ site: item["site"],
3931
+ backupOperators: !item["backupOperators"]
3932
+ ? item["backupOperators"]
3933
+ : item["backupOperators"].map((p) => {
3934
+ return p;
3935
+ }),
3936
+ administrators: !item["administrators"]
3937
+ ? item["administrators"]
3938
+ : item["administrators"].map((p) => {
3939
+ return p;
3940
+ }),
3941
+ securityOperators: !item["securityOperators"]
3942
+ ? item["securityOperators"]
3943
+ : item["securityOperators"].map((p) => {
3944
+ return p;
3945
+ }),
3946
+ domain: item["domain"],
3947
+ secretPassword: !item["secretPassword"]
3948
+ ? item["secretPassword"]
3949
+ : secretPasswordSerializer(item["secretPassword"]),
2546
3950
  };
2547
3951
  }
2548
- export function _cacheListDeserializer(item) {
3952
+ export function _activeDirectoryConfigListResultDeserializer(item) {
2549
3953
  return {
2550
- value: cacheArrayDeserializer(item["value"]),
3954
+ value: activeDirectoryConfigArrayDeserializer(item["value"]),
2551
3955
  nextLink: item["nextLink"],
2552
3956
  };
2553
3957
  }
2554
- export function cacheArraySerializer(result) {
3958
+ export function activeDirectoryConfigArraySerializer(result) {
2555
3959
  return result.map((item) => {
2556
- return cacheSerializer(item);
3960
+ return activeDirectoryConfigSerializer(item);
2557
3961
  });
2558
3962
  }
2559
- export function cacheArrayDeserializer(result) {
3963
+ export function activeDirectoryConfigArrayDeserializer(result) {
2560
3964
  return result.map((item) => {
2561
- return cacheDeserializer(item);
3965
+ return activeDirectoryConfigDeserializer(item);
2562
3966
  });
2563
3967
  }
2564
- export function peeringPassphrasesDeserializer(item) {
2565
- return {
2566
- clusterPeeringCommand: item["clusterPeeringCommand"],
2567
- clusterPeeringPassphrase: item["clusterPeeringPassphrase"],
2568
- vserverPeeringCommand: item["vserverPeeringCommand"],
2569
- criticalWarning: item["criticalWarning"],
2570
- };
2571
- }
2572
3968
  export function regionInfoResourceDeserializer(item) {
2573
3969
  return {
2574
3970
  id: item["id"],
@@ -2670,10 +4066,16 @@ export function accountPropertiesSerializer(item) {
2670
4066
  activeDirectories: !item["activeDirectories"]
2671
4067
  ? item["activeDirectories"]
2672
4068
  : activeDirectoryArraySerializer(item["activeDirectories"]),
4069
+ entraIdConfig: !item["entraIdConfig"]
4070
+ ? item["entraIdConfig"]
4071
+ : entraIdConfigSerializer(item["entraIdConfig"]),
2673
4072
  encryption: !item["encryption"]
2674
4073
  ? item["encryption"]
2675
4074
  : accountEncryptionSerializer(item["encryption"]),
2676
4075
  nfsV4IDDomain: item["nfsV4IDDomain"],
4076
+ ldapConfiguration: !item["ldapConfiguration"]
4077
+ ? item["ldapConfiguration"]
4078
+ : ldapConfigurationSerializer(item["ldapConfiguration"]),
2677
4079
  };
2678
4080
  }
2679
4081
  export function accountPropertiesDeserializer(item) {
@@ -2682,12 +4084,18 @@ export function accountPropertiesDeserializer(item) {
2682
4084
  activeDirectories: !item["activeDirectories"]
2683
4085
  ? item["activeDirectories"]
2684
4086
  : activeDirectoryArrayDeserializer(item["activeDirectories"]),
4087
+ entraIdConfig: !item["entraIdConfig"]
4088
+ ? item["entraIdConfig"]
4089
+ : entraIdConfigDeserializer(item["entraIdConfig"]),
2685
4090
  encryption: !item["encryption"]
2686
4091
  ? item["encryption"]
2687
4092
  : accountEncryptionDeserializer(item["encryption"]),
2688
4093
  disableShowmount: item["disableShowmount"],
2689
4094
  nfsV4IDDomain: item["nfsV4IDDomain"],
2690
4095
  multiAdStatus: item["multiAdStatus"],
4096
+ ldapConfiguration: !item["ldapConfiguration"]
4097
+ ? item["ldapConfiguration"]
4098
+ : ldapConfigurationDeserializer(item["ldapConfiguration"]),
2691
4099
  };
2692
4100
  }
2693
4101
  export function activeDirectoryArraySerializer(result) {
@@ -2780,20 +4188,6 @@ export function activeDirectoryDeserializer(item) {
2780
4188
  preferredServersForLdapClient: item["preferredServersForLdapClient"],
2781
4189
  };
2782
4190
  }
2783
- /** Status of the Active Directory */
2784
- export var KnownActiveDirectoryStatus;
2785
- (function (KnownActiveDirectoryStatus) {
2786
- /** Active Directory created but not in use */
2787
- KnownActiveDirectoryStatus["Created"] = "Created";
2788
- /** Active Directory in use by SMB Volume */
2789
- KnownActiveDirectoryStatus["InUse"] = "InUse";
2790
- /** Active Directory Deleted */
2791
- KnownActiveDirectoryStatus["Deleted"] = "Deleted";
2792
- /** Error with the Active Directory */
2793
- KnownActiveDirectoryStatus["Error"] = "Error";
2794
- /** Active Directory Updating */
2795
- KnownActiveDirectoryStatus["Updating"] = "Updating";
2796
- })(KnownActiveDirectoryStatus || (KnownActiveDirectoryStatus = {}));
2797
4191
  export function ldapSearchScopeOptSerializer(item) {
2798
4192
  return {
2799
4193
  userDN: item["userDN"],
@@ -2808,6 +4202,40 @@ export function ldapSearchScopeOptDeserializer(item) {
2808
4202
  groupMembershipFilter: item["groupMembershipFilter"],
2809
4203
  };
2810
4204
  }
4205
+ export function entraIdConfigSerializer(item) {
4206
+ return {
4207
+ applicationId: item["applicationId"],
4208
+ domain: item["domain"],
4209
+ serverNamePrefix: item["serverNamePrefix"],
4210
+ entraIdAkvConfig: !item["entraIdAkvConfig"]
4211
+ ? item["entraIdAkvConfig"]
4212
+ : entraIdAkvConfigSerializer(item["entraIdAkvConfig"]),
4213
+ };
4214
+ }
4215
+ export function entraIdConfigDeserializer(item) {
4216
+ return {
4217
+ applicationId: item["applicationId"],
4218
+ domain: item["domain"],
4219
+ serverNamePrefix: item["serverNamePrefix"],
4220
+ entraIdAkvConfig: !item["entraIdAkvConfig"]
4221
+ ? item["entraIdAkvConfig"]
4222
+ : entraIdAkvConfigDeserializer(item["entraIdAkvConfig"]),
4223
+ };
4224
+ }
4225
+ export function entraIdAkvConfigSerializer(item) {
4226
+ return {
4227
+ azureKeyVaultUri: item["azureKeyVaultUri"],
4228
+ certificateName: item["certificateName"],
4229
+ userAssignedIdentity: item["userAssignedIdentity"],
4230
+ };
4231
+ }
4232
+ export function entraIdAkvConfigDeserializer(item) {
4233
+ return {
4234
+ azureKeyVaultUri: item["azureKeyVaultUri"],
4235
+ certificateName: item["certificateName"],
4236
+ userAssignedIdentity: item["userAssignedIdentity"],
4237
+ };
4238
+ }
2811
4239
  export function accountEncryptionSerializer(item) {
2812
4240
  return {
2813
4241
  keySource: item["keySource"],
@@ -2828,14 +4256,6 @@ export function accountEncryptionDeserializer(item) {
2828
4256
  : encryptionIdentityDeserializer(item["identity"]),
2829
4257
  };
2830
4258
  }
2831
- /** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault */
2832
- export var KnownKeySource;
2833
- (function (KnownKeySource) {
2834
- /** Microsoft-managed key encryption */
2835
- KnownKeySource["MicrosoftNetApp"] = "Microsoft.NetApp";
2836
- /** Customer-managed key encryption */
2837
- KnownKeySource["MicrosoftKeyVault"] = "Microsoft.KeyVault";
2838
- })(KnownKeySource || (KnownKeySource = {}));
2839
4259
  export function keyVaultPropertiesSerializer(item) {
2840
4260
  return {
2841
4261
  keyVaultUri: item["keyVaultUri"],
@@ -2887,53 +4307,132 @@ export var KnownMultiAdStatus;
2887
4307
  /** Account is MultiAD enabled */
2888
4308
  KnownMultiAdStatus["Enabled"] = "Enabled";
2889
4309
  })(KnownMultiAdStatus || (KnownMultiAdStatus = {}));
2890
- export function managedServiceIdentitySerializer(item) {
2891
- return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
2892
- }
2893
- export function managedServiceIdentityDeserializer(item) {
4310
+ export function ldapConfigurationSerializer(item) {
2894
4311
  return {
2895
- principalId: item["principalId"],
2896
- tenantId: item["tenantId"],
2897
- type: item["type"],
2898
- userAssignedIdentities: !item["userAssignedIdentities"]
2899
- ? item["userAssignedIdentities"]
2900
- : Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
2901
- k,
2902
- !p ? p : userAssignedIdentityDeserializer(p),
2903
- ])),
4312
+ domain: item["domain"],
4313
+ ldapServers: !item["ldapServers"]
4314
+ ? item["ldapServers"]
4315
+ : item["ldapServers"].map((p) => {
4316
+ return p;
4317
+ }),
4318
+ ldapOverTLS: item["ldapOverTLS"],
4319
+ serverCACertificate: item["serverCACertificate"],
4320
+ certificateCNHost: item["certificateCNHost"],
4321
+ bindAuthenticationLevel: item["bindAuthenticationLevel"],
4322
+ bindDN: item["bindDN"],
4323
+ bindPasswordAkvConfig: !item["bindPasswordAkvConfig"]
4324
+ ? item["bindPasswordAkvConfig"]
4325
+ : bindPasswordAkvConfigSerializer(item["bindPasswordAkvConfig"]),
2904
4326
  };
2905
4327
  }
2906
- /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
2907
- export var KnownManagedServiceIdentityType;
2908
- (function (KnownManagedServiceIdentityType) {
2909
- /** No managed identity. */
2910
- KnownManagedServiceIdentityType["None"] = "None";
2911
- /** System assigned managed identity. */
2912
- KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
2913
- /** User assigned managed identity. */
2914
- KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
2915
- /** System and user assigned managed identity. */
2916
- KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
2917
- })(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
2918
- export function userAssignedIdentitySerializer(_item) {
2919
- return {};
4328
+ export function ldapConfigurationDeserializer(item) {
4329
+ return {
4330
+ domain: item["domain"],
4331
+ ldapServers: !item["ldapServers"]
4332
+ ? item["ldapServers"]
4333
+ : item["ldapServers"].map((p) => {
4334
+ return p;
4335
+ }),
4336
+ ldapOverTLS: item["ldapOverTLS"],
4337
+ serverCACertificate: item["serverCACertificate"],
4338
+ certificateCNHost: item["certificateCNHost"],
4339
+ bindAuthenticationLevel: item["bindAuthenticationLevel"],
4340
+ bindDN: item["bindDN"],
4341
+ bindPasswordAkvConfig: !item["bindPasswordAkvConfig"]
4342
+ ? item["bindPasswordAkvConfig"]
4343
+ : bindPasswordAkvConfigDeserializer(item["bindPasswordAkvConfig"]),
4344
+ };
4345
+ }
4346
+ /** The authentication level to use when binding to the LDAP server. */
4347
+ export var KnownBindAuthenticationLevel;
4348
+ (function (KnownBindAuthenticationLevel) {
4349
+ /** Anonymous bind i.e. no credentials provided */
4350
+ KnownBindAuthenticationLevel["Anonymous"] = "Anonymous";
4351
+ /** Simple bind i.e. plain text credentials provided */
4352
+ KnownBindAuthenticationLevel["Simple"] = "Simple";
4353
+ })(KnownBindAuthenticationLevel || (KnownBindAuthenticationLevel = {}));
4354
+ export function bindPasswordAkvConfigSerializer(item) {
4355
+ return {
4356
+ azureKeyVaultUri: item["azureKeyVaultUri"],
4357
+ secretName: item["secretName"],
4358
+ userAssignedIdentity: item["userAssignedIdentity"],
4359
+ };
2920
4360
  }
2921
- export function userAssignedIdentityDeserializer(item) {
4361
+ export function bindPasswordAkvConfigDeserializer(item) {
2922
4362
  return {
2923
- principalId: item["principalId"],
2924
- clientId: item["clientId"],
4363
+ azureKeyVaultUri: item["azureKeyVaultUri"],
4364
+ secretName: item["secretName"],
4365
+ userAssignedIdentity: item["userAssignedIdentity"],
2925
4366
  };
2926
4367
  }
2927
4368
  export function netAppAccountPatchSerializer(item) {
2928
4369
  return {
2929
- location: item["location"],
2930
- tags: item["tags"],
2931
- properties: !item["properties"]
2932
- ? item["properties"]
2933
- : accountPropertiesSerializer(item["properties"]),
2934
4370
  identity: !item["identity"]
2935
4371
  ? item["identity"]
2936
4372
  : managedServiceIdentitySerializer(item["identity"]),
4373
+ tags: item["tags"],
4374
+ properties: !item["properties"]
4375
+ ? item["properties"]
4376
+ : accountPropertiesPatchSerializer(item["properties"]),
4377
+ };
4378
+ }
4379
+ export function accountPropertiesPatchSerializer(item) {
4380
+ return {
4381
+ activeDirectories: !item["activeDirectories"]
4382
+ ? item["activeDirectories"]
4383
+ : activeDirectoryArraySerializer(item["activeDirectories"]),
4384
+ encryption: !item["encryption"]
4385
+ ? item["encryption"]
4386
+ : accountEncryptionSerializer(item["encryption"]),
4387
+ nfsV4IDDomain: item["nfsV4IDDomain"],
4388
+ entraIdConfig: !item["entraIdConfig"]
4389
+ ? item["entraIdConfig"]
4390
+ : entraIdConfigPatchSerializer(item["entraIdConfig"]),
4391
+ ldapConfiguration: !item["ldapConfiguration"]
4392
+ ? item["ldapConfiguration"]
4393
+ : ldapConfigurationPatchSerializer(item["ldapConfiguration"]),
4394
+ };
4395
+ }
4396
+ export function entraIdConfigPatchSerializer(item) {
4397
+ return {
4398
+ applicationId: item["applicationId"],
4399
+ domain: item["domain"],
4400
+ serverNamePrefix: item["serverNamePrefix"],
4401
+ entraIdAkvConfig: !item["entraIdAkvConfig"]
4402
+ ? item["entraIdAkvConfig"]
4403
+ : entraIdAkvConfigPatchSerializer(item["entraIdAkvConfig"]),
4404
+ };
4405
+ }
4406
+ export function entraIdAkvConfigPatchSerializer(item) {
4407
+ return {
4408
+ azureKeyVaultUri: item["azureKeyVaultUri"],
4409
+ certificateName: item["certificateName"],
4410
+ userAssignedIdentity: item["userAssignedIdentity"],
4411
+ };
4412
+ }
4413
+ export function ldapConfigurationPatchSerializer(item) {
4414
+ return {
4415
+ domain: item["domain"],
4416
+ ldapServers: !item["ldapServers"]
4417
+ ? item["ldapServers"]
4418
+ : item["ldapServers"].map((p) => {
4419
+ return p;
4420
+ }),
4421
+ ldapOverTLS: item["ldapOverTLS"],
4422
+ serverCACertificate: item["serverCACertificate"],
4423
+ certificateCNHost: item["certificateCNHost"],
4424
+ bindAuthenticationLevel: item["bindAuthenticationLevel"],
4425
+ bindDN: item["bindDN"],
4426
+ bindPasswordAkvConfig: !item["bindPasswordAkvConfig"]
4427
+ ? item["bindPasswordAkvConfig"]
4428
+ : bindPasswordAkvConfigPatchSerializer(item["bindPasswordAkvConfig"]),
4429
+ };
4430
+ }
4431
+ export function bindPasswordAkvConfigPatchSerializer(item) {
4432
+ return {
4433
+ azureKeyVaultUri: item["azureKeyVaultUri"],
4434
+ secretName: item["secretName"],
4435
+ userAssignedIdentity: item["userAssignedIdentity"],
2937
4436
  };
2938
4437
  }
2939
4438
  export function _netAppAccountListDeserializer(item) {
@@ -3356,11 +4855,19 @@ export var KnownVersions;
3356
4855
  KnownVersions["V20250901"] = "2025-09-01";
3357
4856
  /** The 2025-12-01 API version. */
3358
4857
  KnownVersions["V20251201"] = "2025-12-01";
4858
+ /** The 2025-12-15-preview API version. */
4859
+ KnownVersions["V20251215Preview"] = "2025-12-15-preview";
3359
4860
  /** The 2026-01-01 API version. */
3360
4861
  KnownVersions["V20260101"] = "2026-01-01";
4862
+ /** The 2026-01-15-preview API version. */
4863
+ KnownVersions["V20260115Preview"] = "2026-01-15-preview";
3361
4864
  /** The 2026-03-01 API version. */
3362
4865
  KnownVersions["V20260301"] = "2026-03-01";
4866
+ /** The 2026-03-15-preview API version. */
4867
+ KnownVersions["V20260315Preview"] = "2026-03-15-preview";
3363
4868
  /** The 2026-04-01 API version. */
3364
4869
  KnownVersions["V20260401"] = "2026-04-01";
4870
+ /** The 2026-04-15-preview API version. */
4871
+ KnownVersions["V20260415Preview"] = "2026-04-15-preview";
3365
4872
  })(KnownVersions || (KnownVersions = {}));
3366
4873
  //# sourceMappingURL=models.js.map