@azure/arm-hardwaresecuritymodules 2.0.0 → 3.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 (611) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +14 -14
  3. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
  4. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +20 -26
  5. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -1
  6. package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
  7. package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -1
  8. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
  9. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +19 -21
  10. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -1
  11. package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
  12. package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -1
  13. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
  14. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  15. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
  16. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +36 -41
  17. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -1
  18. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
  19. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -1
  20. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
  21. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  22. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
  23. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +16 -8
  24. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -1
  25. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
  26. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -1
  27. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
  28. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  29. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
  30. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +19 -21
  31. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -1
  32. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
  33. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -1
  34. package/dist/browser/api/cloudHsmClusters/index.d.ts +1 -1
  35. package/dist/browser/api/cloudHsmClusters/index.js.map +1 -1
  36. package/dist/browser/api/cloudHsmClusters/operations.d.ts +6 -11
  37. package/dist/browser/api/cloudHsmClusters/operations.js +162 -123
  38. package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -1
  39. package/dist/browser/api/cloudHsmClusters/options.d.ts +2 -2
  40. package/dist/browser/api/cloudHsmClusters/options.js.map +1 -1
  41. package/dist/browser/api/dedicatedHsm/index.d.ts +1 -1
  42. package/dist/browser/api/dedicatedHsm/index.js.map +1 -1
  43. package/dist/browser/api/dedicatedHsm/operations.d.ts +6 -11
  44. package/dist/browser/api/dedicatedHsm/operations.js +100 -69
  45. package/dist/browser/api/dedicatedHsm/operations.js.map +1 -1
  46. package/dist/browser/api/dedicatedHsm/options.d.ts +1 -1
  47. package/dist/browser/api/dedicatedHsm/options.js.map +1 -1
  48. package/dist/browser/api/index.d.ts +2 -1
  49. package/dist/browser/api/index.js +1 -1
  50. package/dist/browser/api/index.js.map +1 -1
  51. package/dist/browser/api/operations/index.d.ts +1 -1
  52. package/dist/browser/api/operations/index.js.map +1 -1
  53. package/dist/browser/api/operations/operations.d.ts +5 -5
  54. package/dist/browser/api/operations/operations.js +16 -8
  55. package/dist/browser/api/operations/operations.js.map +1 -1
  56. package/dist/browser/api/operations/options.d.ts +1 -1
  57. package/dist/browser/api/operations/options.js.map +1 -1
  58. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  59. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.js +4 -0
  60. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  61. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  62. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.js +142 -0
  63. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  64. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
  65. package/dist/browser/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  66. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
  67. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.js +4 -0
  68. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  69. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  70. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.js +44 -0
  71. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/operations.js.map +1 -0
  72. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
  73. package/dist/browser/api/paymentHsmClusterPrivateLinkResources/options.js.map +1 -0
  74. package/dist/browser/api/paymentHsmClusters/index.d.ts +3 -0
  75. package/dist/browser/api/paymentHsmClusters/index.js +4 -0
  76. package/dist/browser/api/paymentHsmClusters/index.js.map +1 -0
  77. package/dist/browser/api/paymentHsmClusters/operations.d.ts +31 -0
  78. package/dist/browser/api/paymentHsmClusters/operations.js +209 -0
  79. package/dist/browser/api/paymentHsmClusters/operations.js.map +1 -0
  80. package/dist/browser/api/paymentHsmClusters/options.d.ts +30 -0
  81. package/dist/browser/api/paymentHsmClusters/options.js.map +1 -0
  82. package/dist/browser/api/privateEndpointConnections/index.d.ts +1 -1
  83. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -1
  84. package/dist/browser/api/privateEndpointConnections/operations.d.ts +5 -5
  85. package/dist/browser/api/privateEndpointConnections/operations.js +18 -14
  86. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
  87. package/dist/browser/api/privateEndpointConnections/options.d.ts +1 -1
  88. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -1
  89. package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +21 -12
  90. package/dist/browser/azureDedicatedHSMResourceProvider.js +42 -14
  91. package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -1
  92. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
  93. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +3 -1
  94. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -1
  95. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
  96. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +3 -1
  97. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  98. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
  99. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +3 -1
  100. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  101. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
  102. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +3 -1
  103. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  104. package/dist/browser/classic/cloudHsmClusters/index.d.ts +5 -10
  105. package/dist/browser/classic/cloudHsmClusters/index.js +3 -1
  106. package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -1
  107. package/dist/browser/classic/dedicatedHsm/index.d.ts +5 -10
  108. package/dist/browser/classic/dedicatedHsm/index.js +3 -1
  109. package/dist/browser/classic/dedicatedHsm/index.js.map +1 -1
  110. package/dist/browser/classic/index.d.ts +11 -8
  111. package/dist/browser/classic/index.js.map +1 -1
  112. package/dist/browser/classic/operations/index.d.ts +4 -4
  113. package/dist/browser/classic/operations/index.js +3 -1
  114. package/dist/browser/classic/operations/index.js.map +1 -1
  115. package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
  116. package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.js +17 -0
  117. package/dist/browser/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  118. package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
  119. package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.js +14 -0
  120. package/dist/browser/classic/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  121. package/dist/browser/classic/paymentHsmClusters/index.d.ts +22 -0
  122. package/dist/browser/classic/paymentHsmClusters/index.js +19 -0
  123. package/dist/browser/classic/paymentHsmClusters/index.js.map +1 -0
  124. package/dist/browser/classic/privateEndpointConnections/index.d.ts +4 -4
  125. package/dist/browser/classic/privateEndpointConnections/index.js +3 -1
  126. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
  127. package/dist/browser/index.d.ts +24 -14
  128. package/dist/browser/index.js +4 -1
  129. package/dist/browser/index.js.map +1 -1
  130. package/dist/browser/models/index.d.ts +2 -1
  131. package/dist/browser/models/index.js +1 -1
  132. package/dist/browser/models/index.js.map +1 -1
  133. package/dist/browser/models/models.d.ts +273 -48
  134. package/dist/browser/models/models.js +274 -49
  135. package/dist/browser/models/models.js.map +1 -1
  136. package/dist/browser/restorePollerHelpers.d.ts +4 -4
  137. package/dist/browser/restorePollerHelpers.js +41 -44
  138. package/dist/browser/restorePollerHelpers.js.map +1 -1
  139. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  140. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  141. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  142. package/dist/browser/static-helpers/pagingHelpers.d.ts +3 -1
  143. package/dist/browser/static-helpers/pagingHelpers.js +59 -53
  144. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  145. package/dist/browser/static-helpers/pollingHelpers.d.ts +7 -3
  146. package/dist/browser/static-helpers/pollingHelpers.js +33 -14
  147. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  148. package/dist/browser/static-helpers/urlTemplate.js +43 -12
  149. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  150. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
  151. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +49 -37
  152. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +7 -1
  153. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
  154. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +28 -8
  155. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +7 -1
  156. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
  157. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +65 -41
  158. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +7 -1
  159. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
  160. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +16 -5
  161. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +7 -1
  162. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
  163. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +32 -10
  164. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -1
  165. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
  166. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +151 -105
  167. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +7 -1
  168. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
  169. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +16 -5
  170. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +7 -1
  171. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
  172. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +28 -8
  173. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +7 -1
  174. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
  175. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +72 -32
  176. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +7 -1
  177. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
  178. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +16 -5
  179. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +7 -1
  180. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
  181. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +28 -8
  182. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +7 -1
  183. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
  184. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +65 -41
  185. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +7 -1
  186. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
  187. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +16 -5
  188. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +7 -1
  189. package/dist/commonjs/api/cloudHsmClusters/index.d.ts +1 -1
  190. package/dist/commonjs/api/cloudHsmClusters/index.js +46 -17
  191. package/dist/commonjs/api/cloudHsmClusters/index.js.map +7 -1
  192. package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +6 -11
  193. package/dist/commonjs/api/cloudHsmClusters/operations.js +437 -296
  194. package/dist/commonjs/api/cloudHsmClusters/operations.js.map +7 -1
  195. package/dist/commonjs/api/cloudHsmClusters/options.d.ts +2 -2
  196. package/dist/commonjs/api/cloudHsmClusters/options.js +16 -5
  197. package/dist/commonjs/api/cloudHsmClusters/options.js.map +7 -1
  198. package/dist/commonjs/api/dedicatedHsm/index.d.ts +1 -1
  199. package/dist/commonjs/api/dedicatedHsm/index.js +40 -14
  200. package/dist/commonjs/api/dedicatedHsm/index.js.map +7 -1
  201. package/dist/commonjs/api/dedicatedHsm/operations.d.ts +6 -11
  202. package/dist/commonjs/api/dedicatedHsm/operations.js +304 -193
  203. package/dist/commonjs/api/dedicatedHsm/operations.js.map +7 -1
  204. package/dist/commonjs/api/dedicatedHsm/options.d.ts +1 -1
  205. package/dist/commonjs/api/dedicatedHsm/options.js +16 -5
  206. package/dist/commonjs/api/dedicatedHsm/options.js.map +7 -1
  207. package/dist/commonjs/api/index.d.ts +2 -1
  208. package/dist/commonjs/api/index.js +28 -8
  209. package/dist/commonjs/api/index.js.map +7 -1
  210. package/dist/commonjs/api/operations/index.d.ts +1 -1
  211. package/dist/commonjs/api/operations/index.js +28 -8
  212. package/dist/commonjs/api/operations/index.js.map +7 -1
  213. package/dist/commonjs/api/operations/operations.d.ts +5 -5
  214. package/dist/commonjs/api/operations/operations.js +67 -27
  215. package/dist/commonjs/api/operations/operations.js.map +7 -1
  216. package/dist/commonjs/api/operations/options.d.ts +1 -1
  217. package/dist/commonjs/api/operations/options.js +16 -5
  218. package/dist/commonjs/api/operations/options.js.map +7 -1
  219. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  220. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.js +34 -0
  221. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +7 -0
  222. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  223. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.js +219 -0
  224. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +7 -0
  225. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
  226. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.js +16 -0
  227. package/dist/commonjs/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +7 -0
  228. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
  229. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.js +28 -0
  230. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/index.js.map +7 -0
  231. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  232. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.js +81 -0
  233. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/operations.js.map +7 -0
  234. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
  235. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.js +16 -0
  236. package/dist/commonjs/api/paymentHsmClusterPrivateLinkResources/options.js.map +7 -0
  237. package/dist/commonjs/api/paymentHsmClusters/index.d.ts +3 -0
  238. package/dist/commonjs/api/paymentHsmClusters/index.js +38 -0
  239. package/dist/commonjs/api/paymentHsmClusters/index.js.map +7 -0
  240. package/dist/commonjs/api/paymentHsmClusters/operations.d.ts +31 -0
  241. package/dist/commonjs/api/paymentHsmClusters/operations.js +297 -0
  242. package/dist/commonjs/api/paymentHsmClusters/operations.js.map +7 -0
  243. package/dist/commonjs/api/paymentHsmClusters/options.d.ts +30 -0
  244. package/dist/commonjs/api/paymentHsmClusters/options.js +16 -0
  245. package/dist/commonjs/api/paymentHsmClusters/options.js.map +7 -0
  246. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +1 -1
  247. package/dist/commonjs/api/privateEndpointConnections/index.js +28 -8
  248. package/dist/commonjs/api/privateEndpointConnections/index.js.map +7 -1
  249. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +5 -5
  250. package/dist/commonjs/api/privateEndpointConnections/operations.js +72 -36
  251. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +7 -1
  252. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +1 -1
  253. package/dist/commonjs/api/privateEndpointConnections/options.js +16 -5
  254. package/dist/commonjs/api/privateEndpointConnections/options.js.map +7 -1
  255. package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +21 -12
  256. package/dist/commonjs/azureDedicatedHSMResourceProvider.js +82 -35
  257. package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +7 -1
  258. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
  259. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +34 -11
  260. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +7 -1
  261. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
  262. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +43 -13
  263. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +7 -1
  264. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
  265. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +34 -11
  266. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +7 -1
  267. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
  268. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +34 -11
  269. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +7 -1
  270. package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +5 -10
  271. package/dist/commonjs/classic/cloudHsmClusters/index.js +43 -20
  272. package/dist/commonjs/classic/cloudHsmClusters/index.js.map +7 -1
  273. package/dist/commonjs/classic/dedicatedHsm/index.d.ts +5 -10
  274. package/dist/commonjs/classic/dedicatedHsm/index.js +40 -17
  275. package/dist/commonjs/classic/dedicatedHsm/index.js.map +7 -1
  276. package/dist/commonjs/classic/index.d.ts +11 -8
  277. package/dist/commonjs/classic/index.js +16 -5
  278. package/dist/commonjs/classic/index.js.map +7 -1
  279. package/dist/commonjs/classic/operations/index.d.ts +4 -4
  280. package/dist/commonjs/classic/operations/index.js +34 -11
  281. package/dist/commonjs/classic/operations/index.js.map +7 -1
  282. package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
  283. package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.js +48 -0
  284. package/dist/commonjs/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +7 -0
  285. package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
  286. package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.js +38 -0
  287. package/dist/commonjs/classic/paymentHsmClusterPrivateLinkResources/index.js.map +7 -0
  288. package/dist/commonjs/classic/paymentHsmClusters/index.d.ts +22 -0
  289. package/dist/commonjs/classic/paymentHsmClusters/index.js +43 -0
  290. package/dist/commonjs/classic/paymentHsmClusters/index.js.map +7 -0
  291. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +4 -4
  292. package/dist/commonjs/classic/privateEndpointConnections/index.js +34 -11
  293. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +7 -1
  294. package/dist/commonjs/index.d.ts +24 -14
  295. package/dist/commonjs/index.js +78 -26
  296. package/dist/commonjs/index.js.map +7 -1
  297. package/dist/commonjs/logger.js +29 -8
  298. package/dist/commonjs/logger.js.map +7 -1
  299. package/dist/commonjs/models/index.d.ts +2 -1
  300. package/dist/commonjs/models/index.js +64 -22
  301. package/dist/commonjs/models/index.js.map +7 -1
  302. package/dist/commonjs/models/models.d.ts +273 -48
  303. package/dist/commonjs/models/models.js +899 -688
  304. package/dist/commonjs/models/models.js.map +7 -1
  305. package/dist/commonjs/restorePollerHelpers.d.ts +4 -4
  306. package/dist/commonjs/restorePollerHelpers.js +132 -125
  307. package/dist/commonjs/restorePollerHelpers.js.map +7 -1
  308. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  309. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  310. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  311. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +3 -1
  312. package/dist/commonjs/static-helpers/pagingHelpers.js +131 -128
  313. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
  314. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +7 -3
  315. package/dist/commonjs/static-helpers/pollingHelpers.js +95 -73
  316. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
  317. package/dist/commonjs/static-helpers/urlTemplate.js +167 -142
  318. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
  319. package/dist/commonjs/tsdoc-metadata.json +11 -11
  320. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +8 -5
  321. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +20 -26
  322. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -1
  323. package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +1 -1
  324. package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -1
  325. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +6 -6
  326. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +19 -21
  327. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -1
  328. package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +1 -3
  329. package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -1
  330. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +1 -1
  331. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  332. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +5 -10
  333. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +36 -41
  334. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -1
  335. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +1 -1
  336. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -1
  337. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +1 -1
  338. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  339. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +5 -5
  340. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +16 -8
  341. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -1
  342. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +1 -1
  343. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -1
  344. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +1 -1
  345. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  346. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +6 -6
  347. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +19 -21
  348. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -1
  349. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +1 -3
  350. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -1
  351. package/dist/esm/api/cloudHsmClusters/index.d.ts +1 -1
  352. package/dist/esm/api/cloudHsmClusters/index.js.map +1 -1
  353. package/dist/esm/api/cloudHsmClusters/operations.d.ts +6 -11
  354. package/dist/esm/api/cloudHsmClusters/operations.js +162 -123
  355. package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -1
  356. package/dist/esm/api/cloudHsmClusters/options.d.ts +2 -2
  357. package/dist/esm/api/cloudHsmClusters/options.js.map +1 -1
  358. package/dist/esm/api/dedicatedHsm/index.d.ts +1 -1
  359. package/dist/esm/api/dedicatedHsm/index.js.map +1 -1
  360. package/dist/esm/api/dedicatedHsm/operations.d.ts +6 -11
  361. package/dist/esm/api/dedicatedHsm/operations.js +100 -69
  362. package/dist/esm/api/dedicatedHsm/operations.js.map +1 -1
  363. package/dist/esm/api/dedicatedHsm/options.d.ts +1 -1
  364. package/dist/esm/api/dedicatedHsm/options.js.map +1 -1
  365. package/dist/esm/api/index.d.ts +2 -1
  366. package/dist/esm/api/index.js +1 -1
  367. package/dist/esm/api/index.js.map +1 -1
  368. package/dist/esm/api/operations/index.d.ts +1 -1
  369. package/dist/esm/api/operations/index.js.map +1 -1
  370. package/dist/esm/api/operations/operations.d.ts +5 -5
  371. package/dist/esm/api/operations/operations.js +16 -8
  372. package/dist/esm/api/operations/operations.js.map +1 -1
  373. package/dist/esm/api/operations/options.d.ts +1 -1
  374. package/dist/esm/api/operations/options.js.map +1 -1
  375. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  376. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.js +4 -0
  377. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  378. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  379. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.js +142 -0
  380. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  381. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.d.ts +16 -0
  382. package/dist/esm/api/paymentHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  383. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.d.ts +3 -0
  384. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.js +4 -0
  385. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  386. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  387. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.js +44 -0
  388. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/operations.js.map +1 -0
  389. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.d.ts +5 -0
  390. package/dist/esm/api/paymentHsmClusterPrivateLinkResources/options.js.map +1 -0
  391. package/dist/esm/api/paymentHsmClusters/index.d.ts +3 -0
  392. package/dist/esm/api/paymentHsmClusters/index.js +4 -0
  393. package/dist/esm/api/paymentHsmClusters/index.js.map +1 -0
  394. package/dist/esm/api/paymentHsmClusters/operations.d.ts +31 -0
  395. package/dist/esm/api/paymentHsmClusters/operations.js +209 -0
  396. package/dist/esm/api/paymentHsmClusters/operations.js.map +1 -0
  397. package/dist/esm/api/paymentHsmClusters/options.d.ts +30 -0
  398. package/dist/esm/api/paymentHsmClusters/options.js.map +1 -0
  399. package/dist/esm/api/privateEndpointConnections/index.d.ts +1 -1
  400. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -1
  401. package/dist/esm/api/privateEndpointConnections/operations.d.ts +5 -5
  402. package/dist/esm/api/privateEndpointConnections/operations.js +18 -14
  403. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
  404. package/dist/esm/api/privateEndpointConnections/options.d.ts +1 -1
  405. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -1
  406. package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +21 -12
  407. package/dist/esm/azureDedicatedHSMResourceProvider.js +42 -14
  408. package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -1
  409. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +4 -4
  410. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +3 -1
  411. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -1
  412. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +4 -9
  413. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +3 -1
  414. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -1
  415. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +4 -4
  416. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +3 -1
  417. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -1
  418. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +4 -4
  419. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +3 -1
  420. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -1
  421. package/dist/esm/classic/cloudHsmClusters/index.d.ts +5 -10
  422. package/dist/esm/classic/cloudHsmClusters/index.js +3 -1
  423. package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -1
  424. package/dist/esm/classic/dedicatedHsm/index.d.ts +5 -10
  425. package/dist/esm/classic/dedicatedHsm/index.js +3 -1
  426. package/dist/esm/classic/dedicatedHsm/index.js.map +1 -1
  427. package/dist/esm/classic/index.d.ts +11 -8
  428. package/dist/esm/classic/index.js.map +1 -1
  429. package/dist/esm/classic/operations/index.d.ts +4 -4
  430. package/dist/esm/classic/operations/index.js +3 -1
  431. package/dist/esm/classic/operations/index.js.map +1 -1
  432. package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.d.ts +18 -0
  433. package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.js +17 -0
  434. package/dist/esm/classic/paymentHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  435. package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.d.ts +11 -0
  436. package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.js +14 -0
  437. package/dist/esm/classic/paymentHsmClusterPrivateLinkResources/index.js.map +1 -0
  438. package/dist/esm/classic/paymentHsmClusters/index.d.ts +22 -0
  439. package/dist/esm/classic/paymentHsmClusters/index.js +19 -0
  440. package/dist/esm/classic/paymentHsmClusters/index.js.map +1 -0
  441. package/dist/esm/classic/privateEndpointConnections/index.d.ts +4 -4
  442. package/dist/esm/classic/privateEndpointConnections/index.js +3 -1
  443. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
  444. package/dist/esm/index.d.ts +24 -14
  445. package/dist/esm/index.js +4 -1
  446. package/dist/esm/index.js.map +1 -1
  447. package/dist/esm/models/index.d.ts +2 -1
  448. package/dist/esm/models/index.js +1 -1
  449. package/dist/esm/models/index.js.map +1 -1
  450. package/dist/esm/models/models.d.ts +273 -48
  451. package/dist/esm/models/models.js +274 -49
  452. package/dist/esm/models/models.js.map +1 -1
  453. package/dist/esm/restorePollerHelpers.d.ts +4 -4
  454. package/dist/esm/restorePollerHelpers.js +41 -44
  455. package/dist/esm/restorePollerHelpers.js.map +1 -1
  456. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  457. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  458. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  459. package/dist/esm/static-helpers/pagingHelpers.d.ts +3 -1
  460. package/dist/esm/static-helpers/pagingHelpers.js +59 -53
  461. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  462. package/dist/esm/static-helpers/pollingHelpers.d.ts +7 -3
  463. package/dist/esm/static-helpers/pollingHelpers.js +33 -14
  464. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  465. package/dist/esm/static-helpers/urlTemplate.js +43 -12
  466. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  467. package/package.json +91 -108
  468. package/review/{arm-hardwaresecuritymodules.api.md → arm-hardwaresecuritymodules-node.api.md} +198 -41
  469. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.d.ts +0 -19
  470. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js +0 -36
  471. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js.map +0 -1
  472. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.d.ts +0 -3
  473. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js +0 -4
  474. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js.map +0 -1
  475. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.d.ts +0 -9
  476. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js +0 -42
  477. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js.map +0 -1
  478. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.d.ts +0 -7
  479. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js.map +0 -1
  480. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +0 -3
  481. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js +0 -4
  482. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +0 -1
  483. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +0 -23
  484. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js +0 -109
  485. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +0 -1
  486. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +0 -13
  487. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +0 -1
  488. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.d.ts +0 -3
  489. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js +0 -4
  490. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js.map +0 -1
  491. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +0 -10
  492. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js +0 -36
  493. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js.map +0 -1
  494. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.d.ts +0 -5
  495. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js.map +0 -1
  496. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.d.ts +0 -3
  497. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js +0 -4
  498. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js.map +0 -1
  499. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.d.ts +0 -9
  500. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js +0 -42
  501. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js.map +0 -1
  502. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.d.ts +0 -7
  503. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js.map +0 -1
  504. package/dist/react-native/api/cloudHsmClusters/index.d.ts +0 -3
  505. package/dist/react-native/api/cloudHsmClusters/index.js +0 -4
  506. package/dist/react-native/api/cloudHsmClusters/index.js.map +0 -1
  507. package/dist/react-native/api/cloudHsmClusters/operations.d.ts +0 -52
  508. package/dist/react-native/api/cloudHsmClusters/operations.js +0 -324
  509. package/dist/react-native/api/cloudHsmClusters/operations.js.map +0 -1
  510. package/dist/react-native/api/cloudHsmClusters/options.d.ts +0 -57
  511. package/dist/react-native/api/cloudHsmClusters/options.js.map +0 -1
  512. package/dist/react-native/api/dedicatedHsm/index.d.ts +0 -3
  513. package/dist/react-native/api/dedicatedHsm/index.js +0 -4
  514. package/dist/react-native/api/dedicatedHsm/index.js.map +0 -1
  515. package/dist/react-native/api/dedicatedHsm/operations.d.ts +0 -40
  516. package/dist/react-native/api/dedicatedHsm/operations.js +0 -215
  517. package/dist/react-native/api/dedicatedHsm/operations.js.map +0 -1
  518. package/dist/react-native/api/dedicatedHsm/options.d.ts +0 -33
  519. package/dist/react-native/api/dedicatedHsm/options.js.map +0 -1
  520. package/dist/react-native/api/index.d.ts +0 -2
  521. package/dist/react-native/api/index.js +0 -4
  522. package/dist/react-native/api/index.js.map +0 -1
  523. package/dist/react-native/api/operations/index.d.ts +0 -3
  524. package/dist/react-native/api/operations/index.js +0 -4
  525. package/dist/react-native/api/operations/index.js.map +0 -1
  526. package/dist/react-native/api/operations/operations.d.ts +0 -10
  527. package/dist/react-native/api/operations/operations.js +0 -29
  528. package/dist/react-native/api/operations/operations.js.map +0 -1
  529. package/dist/react-native/api/operations/options.d.ts +0 -5
  530. package/dist/react-native/api/operations/options.js +0 -4
  531. package/dist/react-native/api/operations/options.js.map +0 -1
  532. package/dist/react-native/api/privateEndpointConnections/index.d.ts +0 -3
  533. package/dist/react-native/api/privateEndpointConnections/index.js +0 -4
  534. package/dist/react-native/api/privateEndpointConnections/index.js.map +0 -1
  535. package/dist/react-native/api/privateEndpointConnections/operations.d.ts +0 -10
  536. package/dist/react-native/api/privateEndpointConnections/operations.js +0 -36
  537. package/dist/react-native/api/privateEndpointConnections/operations.js.map +0 -1
  538. package/dist/react-native/api/privateEndpointConnections/options.d.ts +0 -5
  539. package/dist/react-native/api/privateEndpointConnections/options.js +0 -4
  540. package/dist/react-native/api/privateEndpointConnections/options.js.map +0 -1
  541. package/dist/react-native/azureDedicatedHSMResourceProvider.d.ts +0 -36
  542. package/dist/react-native/azureDedicatedHSMResourceProvider.js +0 -33
  543. package/dist/react-native/azureDedicatedHSMResourceProvider.js.map +0 -1
  544. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.d.ts +0 -10
  545. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js +0 -12
  546. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js.map +0 -1
  547. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +0 -20
  548. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js +0 -14
  549. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +0 -1
  550. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +0 -11
  551. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js +0 -12
  552. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js.map +0 -1
  553. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.d.ts +0 -10
  554. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js +0 -12
  555. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js.map +0 -1
  556. package/dist/react-native/classic/cloudHsmClusters/index.d.ts +0 -35
  557. package/dist/react-native/classic/cloudHsmClusters/index.js +0 -21
  558. package/dist/react-native/classic/cloudHsmClusters/index.js.map +0 -1
  559. package/dist/react-native/classic/dedicatedHsm/index.d.ts +0 -29
  560. package/dist/react-native/classic/dedicatedHsm/index.js +0 -18
  561. package/dist/react-native/classic/dedicatedHsm/index.js.map +0 -1
  562. package/dist/react-native/classic/index.d.ts +0 -9
  563. package/dist/react-native/classic/index.js +0 -4
  564. package/dist/react-native/classic/index.js.map +0 -1
  565. package/dist/react-native/classic/operations/index.d.ts +0 -11
  566. package/dist/react-native/classic/operations/index.js +0 -12
  567. package/dist/react-native/classic/operations/index.js.map +0 -1
  568. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +0 -11
  569. package/dist/react-native/classic/privateEndpointConnections/index.js +0 -12
  570. package/dist/react-native/classic/privateEndpointConnections/index.js.map +0 -1
  571. package/dist/react-native/index.d.ts +0 -16
  572. package/dist/react-native/index.js +0 -6
  573. package/dist/react-native/index.js.map +0 -1
  574. package/dist/react-native/logger.d.ts +0 -2
  575. package/dist/react-native/logger.js +0 -5
  576. package/dist/react-native/logger.js.map +0 -1
  577. package/dist/react-native/models/index.d.ts +0 -2
  578. package/dist/react-native/models/index.js +0 -4
  579. package/dist/react-native/models/index.js.map +0 -1
  580. package/dist/react-native/models/models.d.ts +0 -751
  581. package/dist/react-native/models/models.js +0 -747
  582. package/dist/react-native/models/models.js.map +0 -1
  583. package/dist/react-native/package.json +0 -3
  584. package/dist/react-native/restorePollerHelpers.d.ts +0 -21
  585. package/dist/react-native/restorePollerHelpers.js +0 -133
  586. package/dist/react-native/restorePollerHelpers.js.map +0 -1
  587. package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -72
  588. package/dist/react-native/static-helpers/pagingHelpers.js +0 -137
  589. package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
  590. package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -30
  591. package/dist/react-native/static-helpers/pollingHelpers.js +0 -76
  592. package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
  593. package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
  594. package/dist/react-native/static-helpers/urlTemplate.js +0 -169
  595. package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
  596. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterBackupStatus.api.md +0 -22
  597. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateEndpointConnections.api.md +0 -36
  598. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateLinkResources.api.md +0 -19
  599. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterRestoreStatus.api.md +0 -22
  600. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusters.api.md +0 -96
  601. package/review/arm-hardwaresecuritymodules-api-dedicatedHsm.api.md +0 -68
  602. package/review/arm-hardwaresecuritymodules-api-operations.api.md +0 -19
  603. package/review/arm-hardwaresecuritymodules-api-privateEndpointConnections.api.md +0 -19
  604. package/review/arm-hardwaresecuritymodules-api.api.md +0 -27
  605. package/review/arm-hardwaresecuritymodules-models.api.md +0 -471
  606. /package/dist/{react-native/api/cloudHsmClusterBackupStatus → browser/api/paymentHsmClusterPrivateEndpointConnections}/options.js +0 -0
  607. /package/dist/{react-native/api/cloudHsmClusterPrivateEndpointConnections → browser/api/paymentHsmClusterPrivateLinkResources}/options.js +0 -0
  608. /package/dist/{react-native/api/cloudHsmClusterPrivateLinkResources → browser/api/paymentHsmClusters}/options.js +0 -0
  609. /package/dist/{react-native/api/cloudHsmClusterRestoreStatus → esm/api/paymentHsmClusterPrivateEndpointConnections}/options.js +0 -0
  610. /package/dist/{react-native/api/cloudHsmClusters → esm/api/paymentHsmClusterPrivateLinkResources}/options.js +0 -0
  611. /package/dist/{react-native/api/dedicatedHsm → esm/api/paymentHsmClusters}/options.js +0 -0
@@ -1,831 +1,1042 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.KnownVersions = exports.KnownJsonWebKeyType = exports.KnownSkuName = exports.KnownBackupRestoreOperationStatus = exports.KnownCreatedByType = exports.KnownCloudHsmClusterSkuFamily = exports.KnownManagedServiceIdentityType = exports.KnownPublicNetworkAccess = exports.KnownProvisioningState = exports.KnownPrivateEndpointConnectionProvisioningState = exports.KnownPrivateEndpointServiceConnectionStatus = exports.KnownAutoGeneratedDomainNameLabelScope = exports.KnownActivationState = exports.KnownActionType = exports.KnownOrigin = void 0;
6
- exports._operationListResultDeserializer = _operationListResultDeserializer;
7
- exports.operationArrayDeserializer = operationArrayDeserializer;
8
- exports.operationDeserializer = operationDeserializer;
9
- exports.operationDisplayDeserializer = operationDisplayDeserializer;
10
- exports.errorResponseDeserializer = errorResponseDeserializer;
11
- exports.errorDetailDeserializer = errorDetailDeserializer;
12
- exports.errorDetailArrayDeserializer = errorDetailArrayDeserializer;
13
- exports.errorAdditionalInfoArrayDeserializer = errorAdditionalInfoArrayDeserializer;
14
- exports.errorAdditionalInfoDeserializer = errorAdditionalInfoDeserializer;
15
- exports.cloudHsmClusterSerializer = cloudHsmClusterSerializer;
16
- exports.cloudHsmClusterDeserializer = cloudHsmClusterDeserializer;
17
- exports.cloudHsmClusterPropertiesSerializer = cloudHsmClusterPropertiesSerializer;
18
- exports.cloudHsmClusterPropertiesDeserializer = cloudHsmClusterPropertiesDeserializer;
19
- exports.cloudHsmPropertiesArrayDeserializer = cloudHsmPropertiesArrayDeserializer;
20
- exports.cloudHsmPropertiesDeserializer = cloudHsmPropertiesDeserializer;
21
- exports.privateEndpointConnectionArraySerializer = privateEndpointConnectionArraySerializer;
22
- exports.privateEndpointConnectionArrayDeserializer = privateEndpointConnectionArrayDeserializer;
23
- exports.privateEndpointConnectionSerializer = privateEndpointConnectionSerializer;
24
- exports.privateEndpointConnectionDeserializer = privateEndpointConnectionDeserializer;
25
- exports.privateEndpointConnectionPropertiesSerializer = privateEndpointConnectionPropertiesSerializer;
26
- exports.privateEndpointConnectionPropertiesDeserializer = privateEndpointConnectionPropertiesDeserializer;
27
- exports.privateEndpointSerializer = privateEndpointSerializer;
28
- exports.privateEndpointDeserializer = privateEndpointDeserializer;
29
- exports.privateLinkServiceConnectionStateSerializer = privateLinkServiceConnectionStateSerializer;
30
- exports.privateLinkServiceConnectionStateDeserializer = privateLinkServiceConnectionStateDeserializer;
31
- exports.managedServiceIdentitySerializer = managedServiceIdentitySerializer;
32
- exports.managedServiceIdentityDeserializer = managedServiceIdentityDeserializer;
33
- exports.userAssignedIdentitySerializer = userAssignedIdentitySerializer;
34
- exports.userAssignedIdentityDeserializer = userAssignedIdentityDeserializer;
35
- exports.cloudHsmClusterSkuSerializer = cloudHsmClusterSkuSerializer;
36
- exports.cloudHsmClusterSkuDeserializer = cloudHsmClusterSkuDeserializer;
37
- exports.proxyResourceSerializer = proxyResourceSerializer;
38
- exports.proxyResourceDeserializer = proxyResourceDeserializer;
39
- exports.resourceSerializer = resourceSerializer;
40
- exports.resourceDeserializer = resourceDeserializer;
41
- exports.systemDataDeserializer = systemDataDeserializer;
42
- exports.trackedResourceSerializer = trackedResourceSerializer;
43
- exports.trackedResourceDeserializer = trackedResourceDeserializer;
44
- exports.cloudHsmClusterPatchParametersSerializer = cloudHsmClusterPatchParametersSerializer;
45
- exports._cloudHsmClusterListResultDeserializer = _cloudHsmClusterListResultDeserializer;
46
- exports.cloudHsmClusterArraySerializer = cloudHsmClusterArraySerializer;
47
- exports.cloudHsmClusterArrayDeserializer = cloudHsmClusterArrayDeserializer;
48
- exports.backupRequestPropertiesSerializer = backupRequestPropertiesSerializer;
49
- exports.backupRestoreRequestBasePropertiesSerializer = backupRestoreRequestBasePropertiesSerializer;
50
- exports.backupResultDeserializer = backupResultDeserializer;
51
- exports.backupResultPropertiesDeserializer = backupResultPropertiesDeserializer;
52
- exports.backupRestoreBaseResultPropertiesDeserializer = backupRestoreBaseResultPropertiesDeserializer;
53
- exports.restoreRequestPropertiesSerializer = restoreRequestPropertiesSerializer;
54
- exports.restoreResultDeserializer = restoreResultDeserializer;
55
- exports._privateEndpointConnectionListResultDeserializer = _privateEndpointConnectionListResultDeserializer;
56
- exports._privateLinkResourceListResultDeserializer = _privateLinkResourceListResultDeserializer;
57
- exports.privateLinkResourceArrayDeserializer = privateLinkResourceArrayDeserializer;
58
- exports.privateLinkResourceDeserializer = privateLinkResourceDeserializer;
59
- exports.privateLinkResourcePropertiesDeserializer = privateLinkResourcePropertiesDeserializer;
60
- exports.dedicatedHsmSerializer = dedicatedHsmSerializer;
61
- exports.dedicatedHsmDeserializer = dedicatedHsmDeserializer;
62
- exports.skuSerializer = skuSerializer;
63
- exports.skuDeserializer = skuDeserializer;
64
- exports.dedicatedHsmPropertiesSerializer = dedicatedHsmPropertiesSerializer;
65
- exports.dedicatedHsmPropertiesDeserializer = dedicatedHsmPropertiesDeserializer;
66
- exports.networkProfileSerializer = networkProfileSerializer;
67
- exports.networkProfileDeserializer = networkProfileDeserializer;
68
- exports.apiEntityReferenceSerializer = apiEntityReferenceSerializer;
69
- exports.apiEntityReferenceDeserializer = apiEntityReferenceDeserializer;
70
- exports.networkInterfaceArraySerializer = networkInterfaceArraySerializer;
71
- exports.networkInterfaceArrayDeserializer = networkInterfaceArrayDeserializer;
72
- exports.networkInterfaceSerializer = networkInterfaceSerializer;
73
- exports.networkInterfaceDeserializer = networkInterfaceDeserializer;
74
- exports.dedicatedHsmErrorDeserializer = dedicatedHsmErrorDeserializer;
75
- exports.errorDeserializer = errorDeserializer;
76
- exports.dedicatedHsmPatchParametersSerializer = dedicatedHsmPatchParametersSerializer;
77
- exports._dedicatedHsmListResultDeserializer = _dedicatedHsmListResultDeserializer;
78
- exports.dedicatedHsmArraySerializer = dedicatedHsmArraySerializer;
79
- exports.dedicatedHsmArrayDeserializer = dedicatedHsmArrayDeserializer;
80
- exports._outboundEnvironmentEndpointCollectionDeserializer = _outboundEnvironmentEndpointCollectionDeserializer;
81
- exports.outboundEnvironmentEndpointArrayDeserializer = outboundEnvironmentEndpointArrayDeserializer;
82
- exports.outboundEnvironmentEndpointDeserializer = outboundEnvironmentEndpointDeserializer;
83
- exports.endpointDependencyArrayDeserializer = endpointDependencyArrayDeserializer;
84
- exports.endpointDependencyDeserializer = endpointDependencyDeserializer;
85
- exports.endpointDetailArrayDeserializer = endpointDetailArrayDeserializer;
86
- exports.endpointDetailDeserializer = endpointDetailDeserializer;
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var models_exports = {};
19
+ __export(models_exports, {
20
+ KnownActionType: () => KnownActionType,
21
+ KnownActivationState: () => KnownActivationState,
22
+ KnownAutoGeneratedDomainNameLabelScope: () => KnownAutoGeneratedDomainNameLabelScope,
23
+ KnownBackupRestoreOperationStatus: () => KnownBackupRestoreOperationStatus,
24
+ KnownCloudHsmClusterSkuFamily: () => KnownCloudHsmClusterSkuFamily,
25
+ KnownCloudHsmClusterSkuName: () => KnownCloudHsmClusterSkuName,
26
+ KnownCreatedByType: () => KnownCreatedByType,
27
+ KnownHsmState: () => KnownHsmState,
28
+ KnownJsonWebKeyType: () => KnownJsonWebKeyType,
29
+ KnownManagedServiceIdentityType: () => KnownManagedServiceIdentityType,
30
+ KnownOrigin: () => KnownOrigin,
31
+ KnownPaymentHsmClusterSkuFamily: () => KnownPaymentHsmClusterSkuFamily,
32
+ KnownPaymentHsmClusterSkuName: () => KnownPaymentHsmClusterSkuName,
33
+ KnownPrivateEndpointConnectionProvisioningState: () => KnownPrivateEndpointConnectionProvisioningState,
34
+ KnownPrivateEndpointServiceConnectionStatus: () => KnownPrivateEndpointServiceConnectionStatus,
35
+ KnownProvisioningState: () => KnownProvisioningState,
36
+ KnownPublicNetworkAccess: () => KnownPublicNetworkAccess,
37
+ KnownSkuName: () => KnownSkuName,
38
+ KnownVersions: () => KnownVersions,
39
+ _cloudHsmClusterListResultDeserializer: () => _cloudHsmClusterListResultDeserializer,
40
+ _dedicatedHsmListResultDeserializer: () => _dedicatedHsmListResultDeserializer,
41
+ _operationListResultDeserializer: () => _operationListResultDeserializer,
42
+ _outboundEnvironmentEndpointCollectionDeserializer: () => _outboundEnvironmentEndpointCollectionDeserializer,
43
+ _paymentHsmClusterListResultDeserializer: () => _paymentHsmClusterListResultDeserializer,
44
+ _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer: () => _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer,
45
+ _privateEndpointConnectionListResultDeserializer: () => _privateEndpointConnectionListResultDeserializer,
46
+ _privateLinkResourceListResultDeserializer: () => _privateLinkResourceListResultDeserializer,
47
+ apiEntityReferenceDeserializer: () => apiEntityReferenceDeserializer,
48
+ apiEntityReferenceSerializer: () => apiEntityReferenceSerializer,
49
+ backupRequestPropertiesSerializer: () => backupRequestPropertiesSerializer,
50
+ backupRestoreBaseResultPropertiesDeserializer: () => backupRestoreBaseResultPropertiesDeserializer,
51
+ backupRestoreRequestBasePropertiesSerializer: () => backupRestoreRequestBasePropertiesSerializer,
52
+ backupResultDeserializer: () => backupResultDeserializer,
53
+ backupResultPropertiesDeserializer: () => backupResultPropertiesDeserializer,
54
+ cloudHsmClusterArrayDeserializer: () => cloudHsmClusterArrayDeserializer,
55
+ cloudHsmClusterArraySerializer: () => cloudHsmClusterArraySerializer,
56
+ cloudHsmClusterDeserializer: () => cloudHsmClusterDeserializer,
57
+ cloudHsmClusterPatchParametersSerializer: () => cloudHsmClusterPatchParametersSerializer,
58
+ cloudHsmClusterPropertiesDeserializer: () => cloudHsmClusterPropertiesDeserializer,
59
+ cloudHsmClusterPropertiesSerializer: () => cloudHsmClusterPropertiesSerializer,
60
+ cloudHsmClusterSerializer: () => cloudHsmClusterSerializer,
61
+ cloudHsmClusterSkuDeserializer: () => cloudHsmClusterSkuDeserializer,
62
+ cloudHsmClusterSkuSerializer: () => cloudHsmClusterSkuSerializer,
63
+ cloudHsmPropertiesArrayDeserializer: () => cloudHsmPropertiesArrayDeserializer,
64
+ cloudHsmPropertiesDeserializer: () => cloudHsmPropertiesDeserializer,
65
+ dedicatedHsmArrayDeserializer: () => dedicatedHsmArrayDeserializer,
66
+ dedicatedHsmArraySerializer: () => dedicatedHsmArraySerializer,
67
+ dedicatedHsmDeserializer: () => dedicatedHsmDeserializer,
68
+ dedicatedHsmErrorDeserializer: () => dedicatedHsmErrorDeserializer,
69
+ dedicatedHsmPatchParametersSerializer: () => dedicatedHsmPatchParametersSerializer,
70
+ dedicatedHsmPropertiesDeserializer: () => dedicatedHsmPropertiesDeserializer,
71
+ dedicatedHsmPropertiesSerializer: () => dedicatedHsmPropertiesSerializer,
72
+ dedicatedHsmSerializer: () => dedicatedHsmSerializer,
73
+ endpointDependencyArrayDeserializer: () => endpointDependencyArrayDeserializer,
74
+ endpointDependencyDeserializer: () => endpointDependencyDeserializer,
75
+ endpointDetailArrayDeserializer: () => endpointDetailArrayDeserializer,
76
+ endpointDetailDeserializer: () => endpointDetailDeserializer,
77
+ errorAdditionalInfoArrayDeserializer: () => errorAdditionalInfoArrayDeserializer,
78
+ errorAdditionalInfoDeserializer: () => errorAdditionalInfoDeserializer,
79
+ errorDeserializer: () => errorDeserializer,
80
+ errorDetailArrayDeserializer: () => errorDetailArrayDeserializer,
81
+ errorDetailDeserializer: () => errorDetailDeserializer,
82
+ errorResponseDeserializer: () => errorResponseDeserializer,
83
+ managedServiceIdentityDeserializer: () => managedServiceIdentityDeserializer,
84
+ managedServiceIdentitySerializer: () => managedServiceIdentitySerializer,
85
+ networkInterfaceArrayDeserializer: () => networkInterfaceArrayDeserializer,
86
+ networkInterfaceArraySerializer: () => networkInterfaceArraySerializer,
87
+ networkInterfaceDeserializer: () => networkInterfaceDeserializer,
88
+ networkInterfaceSerializer: () => networkInterfaceSerializer,
89
+ networkProfileDeserializer: () => networkProfileDeserializer,
90
+ networkProfileSerializer: () => networkProfileSerializer,
91
+ operationArrayDeserializer: () => operationArrayDeserializer,
92
+ operationDeserializer: () => operationDeserializer,
93
+ operationDisplayDeserializer: () => operationDisplayDeserializer,
94
+ outboundEnvironmentEndpointArrayDeserializer: () => outboundEnvironmentEndpointArrayDeserializer,
95
+ outboundEnvironmentEndpointDeserializer: () => outboundEnvironmentEndpointDeserializer,
96
+ paymentHsmClusterArrayDeserializer: () => paymentHsmClusterArrayDeserializer,
97
+ paymentHsmClusterArraySerializer: () => paymentHsmClusterArraySerializer,
98
+ paymentHsmClusterDeserializer: () => paymentHsmClusterDeserializer,
99
+ paymentHsmClusterPatchParametersSerializer: () => paymentHsmClusterPatchParametersSerializer,
100
+ paymentHsmClusterPrivateEndpointConnectionArrayDeserializer: () => paymentHsmClusterPrivateEndpointConnectionArrayDeserializer,
101
+ paymentHsmClusterPrivateEndpointConnectionArraySerializer: () => paymentHsmClusterPrivateEndpointConnectionArraySerializer,
102
+ paymentHsmClusterPrivateEndpointConnectionDeserializer: () => paymentHsmClusterPrivateEndpointConnectionDeserializer,
103
+ paymentHsmClusterPrivateEndpointConnectionSerializer: () => paymentHsmClusterPrivateEndpointConnectionSerializer,
104
+ paymentHsmClusterPropertiesDeserializer: () => paymentHsmClusterPropertiesDeserializer,
105
+ paymentHsmClusterPropertiesSerializer: () => paymentHsmClusterPropertiesSerializer,
106
+ paymentHsmClusterSerializer: () => paymentHsmClusterSerializer,
107
+ paymentHsmClusterSkuDeserializer: () => paymentHsmClusterSkuDeserializer,
108
+ paymentHsmClusterSkuSerializer: () => paymentHsmClusterSkuSerializer,
109
+ paymentHsmPropertiesArrayDeserializer: () => paymentHsmPropertiesArrayDeserializer,
110
+ paymentHsmPropertiesDeserializer: () => paymentHsmPropertiesDeserializer,
111
+ privateEndpointConnectionArrayDeserializer: () => privateEndpointConnectionArrayDeserializer,
112
+ privateEndpointConnectionArraySerializer: () => privateEndpointConnectionArraySerializer,
113
+ privateEndpointConnectionDeserializer: () => privateEndpointConnectionDeserializer,
114
+ privateEndpointConnectionPropertiesDeserializer: () => privateEndpointConnectionPropertiesDeserializer,
115
+ privateEndpointConnectionPropertiesSerializer: () => privateEndpointConnectionPropertiesSerializer,
116
+ privateEndpointConnectionSerializer: () => privateEndpointConnectionSerializer,
117
+ privateEndpointDeserializer: () => privateEndpointDeserializer,
118
+ privateEndpointSerializer: () => privateEndpointSerializer,
119
+ privateLinkResourceArrayDeserializer: () => privateLinkResourceArrayDeserializer,
120
+ privateLinkResourceDeserializer: () => privateLinkResourceDeserializer,
121
+ privateLinkResourcePropertiesDeserializer: () => privateLinkResourcePropertiesDeserializer,
122
+ privateLinkServiceConnectionStateDeserializer: () => privateLinkServiceConnectionStateDeserializer,
123
+ privateLinkServiceConnectionStateSerializer: () => privateLinkServiceConnectionStateSerializer,
124
+ proxyResourceDeserializer: () => proxyResourceDeserializer,
125
+ proxyResourceSerializer: () => proxyResourceSerializer,
126
+ resourceDeserializer: () => resourceDeserializer,
127
+ resourceSerializer: () => resourceSerializer,
128
+ restoreRequestPropertiesSerializer: () => restoreRequestPropertiesSerializer,
129
+ restoreResultDeserializer: () => restoreResultDeserializer,
130
+ skuDeserializer: () => skuDeserializer,
131
+ skuSerializer: () => skuSerializer,
132
+ systemDataDeserializer: () => systemDataDeserializer,
133
+ trackedResourceDeserializer: () => trackedResourceDeserializer,
134
+ trackedResourceSerializer: () => trackedResourceSerializer,
135
+ userAssignedIdentityDeserializer: () => userAssignedIdentityDeserializer,
136
+ userAssignedIdentitySerializer: () => userAssignedIdentitySerializer
137
+ });
138
+ module.exports = __toCommonJS(models_exports);
87
139
  function _operationListResultDeserializer(item) {
88
- return {
89
- value: operationArrayDeserializer(item["value"]),
90
- nextLink: item["nextLink"],
91
- };
140
+ return {
141
+ value: operationArrayDeserializer(item["value"]),
142
+ nextLink: item["nextLink"]
143
+ };
92
144
  }
93
145
  function operationArrayDeserializer(result) {
94
- return result.map((item) => {
95
- return operationDeserializer(item);
96
- });
146
+ return result.map((item) => {
147
+ return operationDeserializer(item);
148
+ });
97
149
  }
98
150
  function operationDeserializer(item) {
99
- return {
100
- name: item["name"],
101
- isDataAction: item["isDataAction"],
102
- display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
103
- origin: item["origin"],
104
- actionType: item["actionType"],
105
- };
151
+ return {
152
+ name: item["name"],
153
+ isDataAction: item["isDataAction"],
154
+ display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
155
+ origin: item["origin"],
156
+ actionType: item["actionType"]
157
+ };
106
158
  }
107
159
  function operationDisplayDeserializer(item) {
108
- return {
109
- provider: item["provider"],
110
- resource: item["resource"],
111
- operation: item["operation"],
112
- description: item["description"],
113
- };
114
- }
115
- /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
116
- var KnownOrigin;
117
- (function (KnownOrigin) {
118
- /** Indicates the operation is initiated by a user. */
119
- KnownOrigin["User"] = "user";
120
- /** Indicates the operation is initiated by a system. */
121
- KnownOrigin["System"] = "system";
122
- /** Indicates the operation is initiated by a user or system. */
123
- KnownOrigin["UserSystem"] = "user,system";
124
- })(KnownOrigin || (exports.KnownOrigin = KnownOrigin = {}));
125
- /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
126
- var KnownActionType;
127
- (function (KnownActionType) {
128
- /** Actions are for internal-only APIs. */
129
- KnownActionType["Internal"] = "Internal";
130
- })(KnownActionType || (exports.KnownActionType = KnownActionType = {}));
160
+ return {
161
+ provider: item["provider"],
162
+ resource: item["resource"],
163
+ operation: item["operation"],
164
+ description: item["description"]
165
+ };
166
+ }
167
+ var KnownOrigin = /* @__PURE__ */ ((KnownOrigin2) => {
168
+ KnownOrigin2["User"] = "user";
169
+ KnownOrigin2["System"] = "system";
170
+ KnownOrigin2["UserSystem"] = "user,system";
171
+ return KnownOrigin2;
172
+ })(KnownOrigin || {});
173
+ var KnownActionType = /* @__PURE__ */ ((KnownActionType2) => {
174
+ KnownActionType2["Internal"] = "Internal";
175
+ return KnownActionType2;
176
+ })(KnownActionType || {});
131
177
  function errorResponseDeserializer(item) {
132
- return {
133
- error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
134
- };
178
+ return {
179
+ error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"])
180
+ };
135
181
  }
136
182
  function errorDetailDeserializer(item) {
137
- return {
138
- code: item["code"],
139
- message: item["message"],
140
- target: item["target"],
141
- details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
142
- additionalInfo: !item["additionalInfo"]
143
- ? item["additionalInfo"]
144
- : errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
145
- };
183
+ return {
184
+ code: item["code"],
185
+ message: item["message"],
186
+ target: item["target"],
187
+ details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
188
+ additionalInfo: !item["additionalInfo"] ? item["additionalInfo"] : errorAdditionalInfoArrayDeserializer(item["additionalInfo"])
189
+ };
146
190
  }
147
191
  function errorDetailArrayDeserializer(result) {
148
- return result.map((item) => {
149
- return errorDetailDeserializer(item);
150
- });
192
+ return result.map((item) => {
193
+ return errorDetailDeserializer(item);
194
+ });
151
195
  }
152
196
  function errorAdditionalInfoArrayDeserializer(result) {
153
- return result.map((item) => {
154
- return errorAdditionalInfoDeserializer(item);
155
- });
197
+ return result.map((item) => {
198
+ return errorAdditionalInfoDeserializer(item);
199
+ });
156
200
  }
157
201
  function errorAdditionalInfoDeserializer(item) {
158
- return {
159
- type: item["type"],
160
- info: item["info"],
161
- };
202
+ return {
203
+ type: item["type"],
204
+ info: item["info"]
205
+ };
162
206
  }
163
207
  function cloudHsmClusterSerializer(item) {
164
- return {
165
- tags: item["tags"],
166
- location: item["location"],
167
- properties: !item["properties"]
168
- ? item["properties"]
169
- : cloudHsmClusterPropertiesSerializer(item["properties"]),
170
- identity: !item["identity"]
171
- ? item["identity"]
172
- : managedServiceIdentitySerializer(item["identity"]),
173
- sku: !item["sku"] ? item["sku"] : cloudHsmClusterSkuSerializer(item["sku"]),
174
- };
208
+ return {
209
+ tags: item["tags"],
210
+ location: item["location"],
211
+ properties: !item["properties"] ? item["properties"] : cloudHsmClusterPropertiesSerializer(item["properties"]),
212
+ identity: !item["identity"] ? item["identity"] : managedServiceIdentitySerializer(item["identity"]),
213
+ sku: !item["sku"] ? item["sku"] : cloudHsmClusterSkuSerializer(item["sku"])
214
+ };
175
215
  }
176
216
  function cloudHsmClusterDeserializer(item) {
177
- return {
178
- tags: item["tags"],
179
- location: item["location"],
180
- id: item["id"],
181
- name: item["name"],
182
- type: item["type"],
183
- systemData: !item["systemData"]
184
- ? item["systemData"]
185
- : systemDataDeserializer(item["systemData"]),
186
- properties: !item["properties"]
187
- ? item["properties"]
188
- : cloudHsmClusterPropertiesDeserializer(item["properties"]),
189
- identity: !item["identity"]
190
- ? item["identity"]
191
- : managedServiceIdentityDeserializer(item["identity"]),
192
- sku: !item["sku"] ? item["sku"] : cloudHsmClusterSkuDeserializer(item["sku"]),
193
- };
217
+ return {
218
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
219
+ location: item["location"],
220
+ id: item["id"],
221
+ name: item["name"],
222
+ type: item["type"],
223
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
224
+ properties: !item["properties"] ? item["properties"] : cloudHsmClusterPropertiesDeserializer(item["properties"]),
225
+ identity: !item["identity"] ? item["identity"] : managedServiceIdentityDeserializer(item["identity"]),
226
+ sku: !item["sku"] ? item["sku"] : cloudHsmClusterSkuDeserializer(item["sku"])
227
+ };
194
228
  }
195
229
  function cloudHsmClusterPropertiesSerializer(item) {
196
- return {
197
- autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
198
- publicNetworkAccess: item["publicNetworkAccess"],
199
- };
230
+ return {
231
+ autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
232
+ publicNetworkAccess: item["publicNetworkAccess"]
233
+ };
200
234
  }
201
235
  function cloudHsmClusterPropertiesDeserializer(item) {
202
- return {
203
- activationState: item["activationState"],
204
- autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
205
- hsms: !item["hsms"] ? item["hsms"] : cloudHsmPropertiesArrayDeserializer(item["hsms"]),
206
- privateEndpointConnections: !item["privateEndpointConnections"]
207
- ? item["privateEndpointConnections"]
208
- : privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
209
- provisioningState: item["provisioningState"],
210
- publicNetworkAccess: item["publicNetworkAccess"],
211
- statusMessage: item["statusMessage"],
212
- };
213
- }
214
- /** State of security domain activation */
215
- var KnownActivationState;
216
- (function (KnownActivationState) {
217
- KnownActivationState["NotDefined"] = "NotDefined";
218
- KnownActivationState["NotActivated"] = "NotActivated";
219
- KnownActivationState["Active"] = "Active";
220
- KnownActivationState["Failed"] = "Failed";
221
- KnownActivationState["Unknown"] = "Unknown";
222
- })(KnownActivationState || (exports.KnownActivationState = KnownActivationState = {}));
223
- /** The Cloud HSM Cluster's auto-generated Domain Name Label Scope */
224
- var KnownAutoGeneratedDomainNameLabelScope;
225
- (function (KnownAutoGeneratedDomainNameLabelScope) {
226
- KnownAutoGeneratedDomainNameLabelScope["TenantReuse"] = "TenantReuse";
227
- KnownAutoGeneratedDomainNameLabelScope["SubscriptionReuse"] = "SubscriptionReuse";
228
- KnownAutoGeneratedDomainNameLabelScope["ResourceGroupReuse"] = "ResourceGroupReuse";
229
- KnownAutoGeneratedDomainNameLabelScope["NoReuse"] = "NoReuse";
230
- })(KnownAutoGeneratedDomainNameLabelScope || (exports.KnownAutoGeneratedDomainNameLabelScope = KnownAutoGeneratedDomainNameLabelScope = {}));
236
+ return {
237
+ activationState: item["activationState"],
238
+ autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
239
+ hsms: !item["hsms"] ? item["hsms"] : cloudHsmPropertiesArrayDeserializer(item["hsms"]),
240
+ privateEndpointConnections: !item["privateEndpointConnections"] ? item["privateEndpointConnections"] : privateEndpointConnectionArrayDeserializer(item["privateEndpointConnections"]),
241
+ provisioningState: item["provisioningState"],
242
+ publicNetworkAccess: item["publicNetworkAccess"],
243
+ statusMessage: item["statusMessage"]
244
+ };
245
+ }
246
+ var KnownActivationState = /* @__PURE__ */ ((KnownActivationState2) => {
247
+ KnownActivationState2["NotDefined"] = "NotDefined";
248
+ KnownActivationState2["NotActivated"] = "NotActivated";
249
+ KnownActivationState2["Active"] = "Active";
250
+ KnownActivationState2["Failed"] = "Failed";
251
+ KnownActivationState2["Unknown"] = "Unknown";
252
+ return KnownActivationState2;
253
+ })(KnownActivationState || {});
254
+ var KnownAutoGeneratedDomainNameLabelScope = /* @__PURE__ */ ((KnownAutoGeneratedDomainNameLabelScope2) => {
255
+ KnownAutoGeneratedDomainNameLabelScope2["TenantReuse"] = "TenantReuse";
256
+ KnownAutoGeneratedDomainNameLabelScope2["SubscriptionReuse"] = "SubscriptionReuse";
257
+ KnownAutoGeneratedDomainNameLabelScope2["ResourceGroupReuse"] = "ResourceGroupReuse";
258
+ KnownAutoGeneratedDomainNameLabelScope2["NoReuse"] = "NoReuse";
259
+ return KnownAutoGeneratedDomainNameLabelScope2;
260
+ })(KnownAutoGeneratedDomainNameLabelScope || {});
231
261
  function cloudHsmPropertiesArrayDeserializer(result) {
232
- return result.map((item) => {
233
- return cloudHsmPropertiesDeserializer(item);
234
- });
262
+ return result.map((item) => {
263
+ return cloudHsmPropertiesDeserializer(item);
264
+ });
235
265
  }
236
266
  function cloudHsmPropertiesDeserializer(item) {
237
- return {
238
- fqdn: item["fqdn"],
239
- state: item["state"],
240
- stateMessage: item["stateMessage"],
241
- };
267
+ return {
268
+ fqdn: item["fqdn"],
269
+ state: item["state"],
270
+ stateMessage: item["stateMessage"]
271
+ };
242
272
  }
243
273
  function privateEndpointConnectionArraySerializer(result) {
244
- return result.map((item) => {
245
- return privateEndpointConnectionSerializer(item);
246
- });
274
+ return result.map((item) => {
275
+ return privateEndpointConnectionSerializer(item);
276
+ });
247
277
  }
248
278
  function privateEndpointConnectionArrayDeserializer(result) {
249
- return result.map((item) => {
250
- return privateEndpointConnectionDeserializer(item);
251
- });
279
+ return result.map((item) => {
280
+ return privateEndpointConnectionDeserializer(item);
281
+ });
252
282
  }
253
283
  function privateEndpointConnectionSerializer(item) {
254
- return {
255
- properties: !item["properties"]
256
- ? item["properties"]
257
- : privateEndpointConnectionPropertiesSerializer(item["properties"]),
258
- etag: item["etag"],
259
- };
284
+ return {
285
+ properties: !item["properties"] ? item["properties"] : privateEndpointConnectionPropertiesSerializer(item["properties"]),
286
+ etag: item["etag"]
287
+ };
260
288
  }
261
289
  function privateEndpointConnectionDeserializer(item) {
262
- return {
263
- id: item["id"],
264
- name: item["name"],
265
- type: item["type"],
266
- systemData: !item["systemData"]
267
- ? item["systemData"]
268
- : systemDataDeserializer(item["systemData"]),
269
- properties: !item["properties"]
270
- ? item["properties"]
271
- : privateEndpointConnectionPropertiesDeserializer(item["properties"]),
272
- etag: item["etag"],
273
- };
290
+ return {
291
+ id: item["id"],
292
+ name: item["name"],
293
+ type: item["type"],
294
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
295
+ properties: !item["properties"] ? item["properties"] : privateEndpointConnectionPropertiesDeserializer(item["properties"]),
296
+ etag: item["etag"]
297
+ };
274
298
  }
275
299
  function privateEndpointConnectionPropertiesSerializer(item) {
276
- return {
277
- privateEndpoint: !item["privateEndpoint"]
278
- ? item["privateEndpoint"]
279
- : privateEndpointSerializer(item["privateEndpoint"]),
280
- privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(item["privateLinkServiceConnectionState"]),
281
- };
300
+ return {
301
+ privateEndpoint: !item["privateEndpoint"] ? item["privateEndpoint"] : privateEndpointSerializer(item["privateEndpoint"]),
302
+ privateLinkServiceConnectionState: privateLinkServiceConnectionStateSerializer(
303
+ item["privateLinkServiceConnectionState"]
304
+ )
305
+ };
282
306
  }
283
307
  function privateEndpointConnectionPropertiesDeserializer(item) {
284
- return {
285
- privateEndpoint: !item["privateEndpoint"]
286
- ? item["privateEndpoint"]
287
- : privateEndpointDeserializer(item["privateEndpoint"]),
288
- privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(item["privateLinkServiceConnectionState"]),
289
- provisioningState: item["provisioningState"],
290
- groupIds: !item["groupIds"]
291
- ? item["groupIds"]
292
- : item["groupIds"].map((p) => {
293
- return p;
294
- }),
295
- };
296
- }
297
- function privateEndpointSerializer(item) {
298
- return item;
308
+ return {
309
+ privateEndpoint: !item["privateEndpoint"] ? item["privateEndpoint"] : privateEndpointDeserializer(item["privateEndpoint"]),
310
+ privateLinkServiceConnectionState: privateLinkServiceConnectionStateDeserializer(
311
+ item["privateLinkServiceConnectionState"]
312
+ ),
313
+ provisioningState: item["provisioningState"],
314
+ groupIds: !item["groupIds"] ? item["groupIds"] : item["groupIds"].map((p) => {
315
+ return p;
316
+ })
317
+ };
318
+ }
319
+ function privateEndpointSerializer(_item) {
320
+ return {};
299
321
  }
300
322
  function privateEndpointDeserializer(item) {
301
- return {
302
- id: item["id"],
303
- };
323
+ return {
324
+ id: item["id"]
325
+ };
304
326
  }
305
327
  function privateLinkServiceConnectionStateSerializer(item) {
306
- return {
307
- status: item["status"],
308
- description: item["description"],
309
- actionsRequired: item["actionsRequired"],
310
- };
328
+ return {
329
+ status: item["status"],
330
+ description: item["description"],
331
+ actionsRequired: item["actionsRequired"]
332
+ };
311
333
  }
312
334
  function privateLinkServiceConnectionStateDeserializer(item) {
313
- return {
314
- status: item["status"],
315
- description: item["description"],
316
- actionsRequired: item["actionsRequired"],
317
- };
318
- }
319
- /** The private endpoint connection status. */
320
- var KnownPrivateEndpointServiceConnectionStatus;
321
- (function (KnownPrivateEndpointServiceConnectionStatus) {
322
- /** Connection waiting for approval or rejection */
323
- KnownPrivateEndpointServiceConnectionStatus["Pending"] = "Pending";
324
- /** Connection approved */
325
- KnownPrivateEndpointServiceConnectionStatus["Approved"] = "Approved";
326
- /** Connection Rejected */
327
- KnownPrivateEndpointServiceConnectionStatus["Rejected"] = "Rejected";
328
- })(KnownPrivateEndpointServiceConnectionStatus || (exports.KnownPrivateEndpointServiceConnectionStatus = KnownPrivateEndpointServiceConnectionStatus = {}));
329
- /** The current provisioning state. */
330
- var KnownPrivateEndpointConnectionProvisioningState;
331
- (function (KnownPrivateEndpointConnectionProvisioningState) {
332
- KnownPrivateEndpointConnectionProvisioningState["Succeeded"] = "Succeeded";
333
- KnownPrivateEndpointConnectionProvisioningState["Creating"] = "Creating";
334
- KnownPrivateEndpointConnectionProvisioningState["Deleting"] = "Deleting";
335
- KnownPrivateEndpointConnectionProvisioningState["Failed"] = "Failed";
336
- KnownPrivateEndpointConnectionProvisioningState["Updating"] = "Updating";
337
- KnownPrivateEndpointConnectionProvisioningState["InternalError"] = "InternalError";
338
- KnownPrivateEndpointConnectionProvisioningState["Canceled"] = "Canceled";
339
- })(KnownPrivateEndpointConnectionProvisioningState || (exports.KnownPrivateEndpointConnectionProvisioningState = KnownPrivateEndpointConnectionProvisioningState = {}));
340
- /** The Cloud HSM Cluster's provisioningState */
341
- var KnownProvisioningState;
342
- (function (KnownProvisioningState) {
343
- KnownProvisioningState["Provisioning"] = "Provisioning";
344
- KnownProvisioningState["Succeeded"] = "Succeeded";
345
- KnownProvisioningState["Updating"] = "Updating";
346
- KnownProvisioningState["Failed"] = "Failed";
347
- KnownProvisioningState["Deleting"] = "Deleting";
348
- KnownProvisioningState["Canceled"] = "Canceled";
349
- })(KnownProvisioningState || (exports.KnownProvisioningState = KnownProvisioningState = {}));
350
- /** The Cloud HSM Cluster public network access */
351
- var KnownPublicNetworkAccess;
352
- (function (KnownPublicNetworkAccess) {
353
- KnownPublicNetworkAccess["Disabled"] = "Disabled";
354
- })(KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = KnownPublicNetworkAccess = {}));
335
+ return {
336
+ status: item["status"],
337
+ description: item["description"],
338
+ actionsRequired: item["actionsRequired"]
339
+ };
340
+ }
341
+ var KnownPrivateEndpointServiceConnectionStatus = /* @__PURE__ */ ((KnownPrivateEndpointServiceConnectionStatus2) => {
342
+ KnownPrivateEndpointServiceConnectionStatus2["Pending"] = "Pending";
343
+ KnownPrivateEndpointServiceConnectionStatus2["Approved"] = "Approved";
344
+ KnownPrivateEndpointServiceConnectionStatus2["Rejected"] = "Rejected";
345
+ return KnownPrivateEndpointServiceConnectionStatus2;
346
+ })(KnownPrivateEndpointServiceConnectionStatus || {});
347
+ var KnownPrivateEndpointConnectionProvisioningState = /* @__PURE__ */ ((KnownPrivateEndpointConnectionProvisioningState2) => {
348
+ KnownPrivateEndpointConnectionProvisioningState2["Succeeded"] = "Succeeded";
349
+ KnownPrivateEndpointConnectionProvisioningState2["Creating"] = "Creating";
350
+ KnownPrivateEndpointConnectionProvisioningState2["Deleting"] = "Deleting";
351
+ KnownPrivateEndpointConnectionProvisioningState2["Failed"] = "Failed";
352
+ KnownPrivateEndpointConnectionProvisioningState2["Updating"] = "Updating";
353
+ KnownPrivateEndpointConnectionProvisioningState2["InternalError"] = "InternalError";
354
+ KnownPrivateEndpointConnectionProvisioningState2["Canceled"] = "Canceled";
355
+ return KnownPrivateEndpointConnectionProvisioningState2;
356
+ })(KnownPrivateEndpointConnectionProvisioningState || {});
357
+ var KnownProvisioningState = /* @__PURE__ */ ((KnownProvisioningState2) => {
358
+ KnownProvisioningState2["Provisioning"] = "Provisioning";
359
+ KnownProvisioningState2["Succeeded"] = "Succeeded";
360
+ KnownProvisioningState2["Updating"] = "Updating";
361
+ KnownProvisioningState2["Failed"] = "Failed";
362
+ KnownProvisioningState2["Deleting"] = "Deleting";
363
+ KnownProvisioningState2["Canceled"] = "Canceled";
364
+ return KnownProvisioningState2;
365
+ })(KnownProvisioningState || {});
366
+ var KnownPublicNetworkAccess = /* @__PURE__ */ ((KnownPublicNetworkAccess2) => {
367
+ KnownPublicNetworkAccess2["Disabled"] = "Disabled";
368
+ return KnownPublicNetworkAccess2;
369
+ })(KnownPublicNetworkAccess || {});
355
370
  function managedServiceIdentitySerializer(item) {
356
- return {
357
- type: item["type"],
358
- userAssignedIdentities: item["userAssignedIdentities"],
359
- };
371
+ return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
360
372
  }
361
373
  function managedServiceIdentityDeserializer(item) {
362
- return {
363
- principalId: item["principalId"],
364
- tenantId: item["tenantId"],
365
- type: item["type"],
366
- userAssignedIdentities: item["userAssignedIdentities"],
367
- };
368
- }
369
- /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
370
- var KnownManagedServiceIdentityType;
371
- (function (KnownManagedServiceIdentityType) {
372
- /** No managed identity. */
373
- KnownManagedServiceIdentityType["None"] = "None";
374
- /** System assigned managed identity. */
375
- KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
376
- /** User assigned managed identity. */
377
- KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
378
- /** System and user assigned managed identity. */
379
- KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
380
- })(KnownManagedServiceIdentityType || (exports.KnownManagedServiceIdentityType = KnownManagedServiceIdentityType = {}));
381
- function userAssignedIdentitySerializer(item) {
382
- return item;
374
+ return {
375
+ principalId: item["principalId"],
376
+ tenantId: item["tenantId"],
377
+ type: item["type"],
378
+ userAssignedIdentities: !item["userAssignedIdentities"] ? item["userAssignedIdentities"] : Object.fromEntries(
379
+ Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
380
+ k,
381
+ !p ? p : userAssignedIdentityDeserializer(p)
382
+ ])
383
+ )
384
+ };
385
+ }
386
+ var KnownManagedServiceIdentityType = /* @__PURE__ */ ((KnownManagedServiceIdentityType2) => {
387
+ KnownManagedServiceIdentityType2["None"] = "None";
388
+ KnownManagedServiceIdentityType2["SystemAssigned"] = "SystemAssigned";
389
+ KnownManagedServiceIdentityType2["UserAssigned"] = "UserAssigned";
390
+ KnownManagedServiceIdentityType2["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
391
+ return KnownManagedServiceIdentityType2;
392
+ })(KnownManagedServiceIdentityType || {});
393
+ function userAssignedIdentitySerializer(_item) {
394
+ return {};
383
395
  }
384
396
  function userAssignedIdentityDeserializer(item) {
385
- return {
386
- principalId: item["principalId"],
387
- clientId: item["clientId"],
388
- };
397
+ return {
398
+ principalId: item["principalId"],
399
+ clientId: item["clientId"]
400
+ };
389
401
  }
390
402
  function cloudHsmClusterSkuSerializer(item) {
391
- return {
392
- family: item["family"],
393
- name: item["name"],
394
- capacity: item["capacity"],
395
- };
403
+ return { family: item["family"], name: item["name"], capacity: item["capacity"] };
396
404
  }
397
405
  function cloudHsmClusterSkuDeserializer(item) {
398
- return {
399
- family: item["family"],
400
- name: item["name"],
401
- capacity: item["capacity"],
402
- };
403
- }
404
- /** Sku family of the Cloud HSM Cluster */
405
- var KnownCloudHsmClusterSkuFamily;
406
- (function (KnownCloudHsmClusterSkuFamily) {
407
- KnownCloudHsmClusterSkuFamily["B"] = "B";
408
- })(KnownCloudHsmClusterSkuFamily || (exports.KnownCloudHsmClusterSkuFamily = KnownCloudHsmClusterSkuFamily = {}));
409
- function proxyResourceSerializer(item) {
410
- return item;
406
+ return {
407
+ family: item["family"],
408
+ name: item["name"],
409
+ capacity: item["capacity"]
410
+ };
411
+ }
412
+ var KnownCloudHsmClusterSkuFamily = /* @__PURE__ */ ((KnownCloudHsmClusterSkuFamily2) => {
413
+ KnownCloudHsmClusterSkuFamily2["B"] = "B";
414
+ return KnownCloudHsmClusterSkuFamily2;
415
+ })(KnownCloudHsmClusterSkuFamily || {});
416
+ var KnownCloudHsmClusterSkuName = /* @__PURE__ */ ((KnownCloudHsmClusterSkuName2) => {
417
+ KnownCloudHsmClusterSkuName2["StandardB1"] = "Standard_B1";
418
+ KnownCloudHsmClusterSkuName2["StandardB10"] = "Standard B10";
419
+ KnownCloudHsmClusterSkuName2["StandardB1V2"] = "Standard_B1v2";
420
+ KnownCloudHsmClusterSkuName2["StandardB5V2"] = "Standard_B5v2";
421
+ KnownCloudHsmClusterSkuName2["StandardB10V2"] = "Standard_B10v2";
422
+ KnownCloudHsmClusterSkuName2["StandardB15V2"] = "Standard_B15v2";
423
+ KnownCloudHsmClusterSkuName2["StandardB20V2"] = "Standard_B20v2";
424
+ return KnownCloudHsmClusterSkuName2;
425
+ })(KnownCloudHsmClusterSkuName || {});
426
+ function proxyResourceSerializer(_item) {
427
+ return {};
411
428
  }
412
429
  function proxyResourceDeserializer(item) {
413
- return {
414
- id: item["id"],
415
- name: item["name"],
416
- type: item["type"],
417
- systemData: !item["systemData"]
418
- ? item["systemData"]
419
- : systemDataDeserializer(item["systemData"]),
420
- };
421
- }
422
- function resourceSerializer(item) {
423
- return item;
430
+ return {
431
+ id: item["id"],
432
+ name: item["name"],
433
+ type: item["type"],
434
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
435
+ };
436
+ }
437
+ function resourceSerializer(_item) {
438
+ return {};
424
439
  }
425
440
  function resourceDeserializer(item) {
426
- return {
427
- id: item["id"],
428
- name: item["name"],
429
- type: item["type"],
430
- systemData: !item["systemData"]
431
- ? item["systemData"]
432
- : systemDataDeserializer(item["systemData"]),
433
- };
441
+ return {
442
+ id: item["id"],
443
+ name: item["name"],
444
+ type: item["type"],
445
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
446
+ };
434
447
  }
435
448
  function systemDataDeserializer(item) {
436
- return {
437
- createdBy: item["createdBy"],
438
- createdByType: item["createdByType"],
439
- createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
440
- lastModifiedBy: item["lastModifiedBy"],
441
- lastModifiedByType: item["lastModifiedByType"],
442
- lastModifiedAt: !item["lastModifiedAt"]
443
- ? item["lastModifiedAt"]
444
- : new Date(item["lastModifiedAt"]),
445
- };
446
- }
447
- /** The kind of entity that created the resource. */
448
- var KnownCreatedByType;
449
- (function (KnownCreatedByType) {
450
- /** The entity was created by a user. */
451
- KnownCreatedByType["User"] = "User";
452
- /** The entity was created by an application. */
453
- KnownCreatedByType["Application"] = "Application";
454
- /** The entity was created by a managed identity. */
455
- KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
456
- /** The entity was created by a key. */
457
- KnownCreatedByType["Key"] = "Key";
458
- })(KnownCreatedByType || (exports.KnownCreatedByType = KnownCreatedByType = {}));
449
+ return {
450
+ createdBy: item["createdBy"],
451
+ createdByType: item["createdByType"],
452
+ createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
453
+ lastModifiedBy: item["lastModifiedBy"],
454
+ lastModifiedByType: item["lastModifiedByType"],
455
+ lastModifiedAt: !item["lastModifiedAt"] ? item["lastModifiedAt"] : new Date(item["lastModifiedAt"])
456
+ };
457
+ }
458
+ var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
459
+ KnownCreatedByType2["User"] = "User";
460
+ KnownCreatedByType2["Application"] = "Application";
461
+ KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
462
+ KnownCreatedByType2["Key"] = "Key";
463
+ return KnownCreatedByType2;
464
+ })(KnownCreatedByType || {});
459
465
  function trackedResourceSerializer(item) {
460
- return { tags: item["tags"], location: item["location"] };
466
+ return { tags: item["tags"], location: item["location"] };
461
467
  }
462
468
  function trackedResourceDeserializer(item) {
463
- return {
464
- id: item["id"],
465
- name: item["name"],
466
- type: item["type"],
467
- systemData: !item["systemData"]
468
- ? item["systemData"]
469
- : systemDataDeserializer(item["systemData"]),
470
- tags: item["tags"],
471
- location: item["location"],
472
- };
469
+ return {
470
+ id: item["id"],
471
+ name: item["name"],
472
+ type: item["type"],
473
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
474
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
475
+ location: item["location"]
476
+ };
473
477
  }
474
478
  function cloudHsmClusterPatchParametersSerializer(item) {
475
- return {
476
- tags: item["tags"],
477
- identity: !item["identity"]
478
- ? item["identity"]
479
- : managedServiceIdentitySerializer(item["identity"]),
480
- };
479
+ return {
480
+ tags: item["tags"],
481
+ identity: !item["identity"] ? item["identity"] : managedServiceIdentitySerializer(item["identity"])
482
+ };
481
483
  }
482
484
  function _cloudHsmClusterListResultDeserializer(item) {
483
- return {
484
- value: cloudHsmClusterArrayDeserializer(item["value"]),
485
- nextLink: item["nextLink"],
486
- };
485
+ return {
486
+ value: cloudHsmClusterArrayDeserializer(item["value"]),
487
+ nextLink: item["nextLink"]
488
+ };
487
489
  }
488
490
  function cloudHsmClusterArraySerializer(result) {
489
- return result.map((item) => {
490
- return cloudHsmClusterSerializer(item);
491
- });
491
+ return result.map((item) => {
492
+ return cloudHsmClusterSerializer(item);
493
+ });
492
494
  }
493
495
  function cloudHsmClusterArrayDeserializer(result) {
494
- return result.map((item) => {
495
- return cloudHsmClusterDeserializer(item);
496
- });
496
+ return result.map((item) => {
497
+ return cloudHsmClusterDeserializer(item);
498
+ });
497
499
  }
498
500
  function backupRequestPropertiesSerializer(item) {
499
- return {
500
- azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
501
- token: item["token"],
502
- };
501
+ return {
502
+ azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
503
+ token: item["token"]
504
+ };
503
505
  }
504
506
  function backupRestoreRequestBasePropertiesSerializer(item) {
505
- return {
506
- azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
507
- token: item["token"],
508
- };
507
+ return {
508
+ azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
509
+ token: item["token"]
510
+ };
509
511
  }
510
512
  function backupResultDeserializer(item) {
511
- return {
512
- properties: !item["properties"]
513
- ? item["properties"]
514
- : backupResultPropertiesDeserializer(item["properties"]),
515
- };
513
+ return {
514
+ properties: !item["properties"] ? item["properties"] : backupResultPropertiesDeserializer(item["properties"])
515
+ };
516
516
  }
517
517
  function backupResultPropertiesDeserializer(item) {
518
- return {
519
- status: item["status"],
520
- statusDetails: item["statusDetails"],
521
- error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
522
- startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
523
- endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
524
- jobId: item["jobId"],
525
- azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
526
- backupId: item["backupId"],
527
- };
518
+ return {
519
+ status: item["status"],
520
+ statusDetails: item["statusDetails"],
521
+ error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
522
+ startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
523
+ endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
524
+ jobId: item["jobId"],
525
+ azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
526
+ backupId: item["backupId"]
527
+ };
528
528
  }
529
529
  function backupRestoreBaseResultPropertiesDeserializer(item) {
530
- return {
531
- status: item["status"],
532
- statusDetails: item["statusDetails"],
533
- error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
534
- startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
535
- endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
536
- jobId: item["jobId"],
537
- };
538
- }
539
- /** Status of the backup/restore operation */
540
- var KnownBackupRestoreOperationStatus;
541
- (function (KnownBackupRestoreOperationStatus) {
542
- KnownBackupRestoreOperationStatus["InProgress"] = "InProgress";
543
- KnownBackupRestoreOperationStatus["Succeeded"] = "Succeeded";
544
- KnownBackupRestoreOperationStatus["Failed"] = "Failed";
545
- KnownBackupRestoreOperationStatus["Cancelled"] = "Cancelled";
546
- })(KnownBackupRestoreOperationStatus || (exports.KnownBackupRestoreOperationStatus = KnownBackupRestoreOperationStatus = {}));
530
+ return {
531
+ status: item["status"],
532
+ statusDetails: item["statusDetails"],
533
+ error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
534
+ startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
535
+ endTime: !item["endTime"] ? item["endTime"] : new Date(item["endTime"]),
536
+ jobId: item["jobId"]
537
+ };
538
+ }
539
+ var KnownBackupRestoreOperationStatus = /* @__PURE__ */ ((KnownBackupRestoreOperationStatus2) => {
540
+ KnownBackupRestoreOperationStatus2["InProgress"] = "InProgress";
541
+ KnownBackupRestoreOperationStatus2["Succeeded"] = "Succeeded";
542
+ KnownBackupRestoreOperationStatus2["Failed"] = "Failed";
543
+ KnownBackupRestoreOperationStatus2["Cancelled"] = "Cancelled";
544
+ return KnownBackupRestoreOperationStatus2;
545
+ })(KnownBackupRestoreOperationStatus || {});
547
546
  function restoreRequestPropertiesSerializer(item) {
548
- return {
549
- azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
550
- token: item["token"],
551
- backupId: item["backupId"],
552
- };
547
+ return {
548
+ azureStorageBlobContainerUri: item["azureStorageBlobContainerUri"],
549
+ token: item["token"],
550
+ backupId: item["backupId"]
551
+ };
553
552
  }
554
553
  function restoreResultDeserializer(item) {
555
- return {
556
- properties: !item["properties"]
557
- ? item["properties"]
558
- : backupRestoreBaseResultPropertiesDeserializer(item["properties"]),
559
- };
554
+ return {
555
+ properties: !item["properties"] ? item["properties"] : backupRestoreBaseResultPropertiesDeserializer(item["properties"])
556
+ };
560
557
  }
561
558
  function _privateEndpointConnectionListResultDeserializer(item) {
562
- return {
563
- value: privateEndpointConnectionArrayDeserializer(item["value"]),
564
- nextLink: item["nextLink"],
565
- };
559
+ return {
560
+ value: privateEndpointConnectionArrayDeserializer(item["value"]),
561
+ nextLink: item["nextLink"]
562
+ };
563
+ }
564
+ function paymentHsmClusterSerializer(item) {
565
+ return {
566
+ tags: item["tags"],
567
+ location: item["location"],
568
+ properties: !item["properties"] ? item["properties"] : paymentHsmClusterPropertiesSerializer(item["properties"]),
569
+ sku: !item["sku"] ? item["sku"] : paymentHsmClusterSkuSerializer(item["sku"])
570
+ };
571
+ }
572
+ function paymentHsmClusterDeserializer(item) {
573
+ return {
574
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
575
+ location: item["location"],
576
+ id: item["id"],
577
+ name: item["name"],
578
+ type: item["type"],
579
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
580
+ properties: !item["properties"] ? item["properties"] : paymentHsmClusterPropertiesDeserializer(item["properties"]),
581
+ sku: !item["sku"] ? item["sku"] : paymentHsmClusterSkuDeserializer(item["sku"])
582
+ };
583
+ }
584
+ function paymentHsmClusterPropertiesSerializer(item) {
585
+ return {
586
+ autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
587
+ publicNetworkAccess: item["publicNetworkAccess"],
588
+ applicationTrustedIssuer: item["applicationTrustedIssuer"],
589
+ managementTrustedIssuer: item["managementTrustedIssuer"]
590
+ };
591
+ }
592
+ function paymentHsmClusterPropertiesDeserializer(item) {
593
+ return {
594
+ activationState: item["activationState"],
595
+ autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
596
+ hsms: !item["hsms"] ? item["hsms"] : paymentHsmPropertiesArrayDeserializer(item["hsms"]),
597
+ privateEndpointConnections: !item["privateEndpointConnections"] ? item["privateEndpointConnections"] : paymentHsmClusterPrivateEndpointConnectionArrayDeserializer(
598
+ item["privateEndpointConnections"]
599
+ ),
600
+ provisioningState: item["provisioningState"],
601
+ publicNetworkAccess: item["publicNetworkAccess"],
602
+ statusMessage: item["statusMessage"],
603
+ applicationTrustedIssuer: item["applicationTrustedIssuer"],
604
+ managementTrustedIssuer: item["managementTrustedIssuer"]
605
+ };
606
+ }
607
+ function paymentHsmPropertiesArrayDeserializer(result) {
608
+ return result.map((item) => {
609
+ return paymentHsmPropertiesDeserializer(item);
610
+ });
611
+ }
612
+ function paymentHsmPropertiesDeserializer(item) {
613
+ return {
614
+ appFqdn: item["appFqdn"],
615
+ mgmtFqdn: item["mgmtFqdn"],
616
+ state: item["state"],
617
+ stateMessage: item["stateMessage"]
618
+ };
619
+ }
620
+ var KnownHsmState = /* @__PURE__ */ ((KnownHsmState2) => {
621
+ KnownHsmState2["Unknown"] = "Unknown";
622
+ KnownHsmState2["Deploying"] = "Deploying";
623
+ KnownHsmState2["ConfiguringSlb"] = "ConfiguringSlb";
624
+ KnownHsmState2["Starting"] = "Starting";
625
+ KnownHsmState2["Started"] = "Started";
626
+ KnownHsmState2["Failed"] = "Failed";
627
+ KnownHsmState2["Relocating"] = "Relocating";
628
+ KnownHsmState2["Deleting"] = "Deleting";
629
+ KnownHsmState2["DeletingSlbEntry"] = "DeletingSlbEntry";
630
+ KnownHsmState2["InitialProvisioning"] = "InitialProvisioning";
631
+ KnownHsmState2["Updating"] = "Updating";
632
+ KnownHsmState2["Degraded"] = "Degraded";
633
+ KnownHsmState2["DelayedDeletion"] = "DelayedDeletion";
634
+ return KnownHsmState2;
635
+ })(KnownHsmState || {});
636
+ function paymentHsmClusterPrivateEndpointConnectionArraySerializer(result) {
637
+ return result.map((item) => {
638
+ return paymentHsmClusterPrivateEndpointConnectionSerializer(item);
639
+ });
640
+ }
641
+ function paymentHsmClusterPrivateEndpointConnectionArrayDeserializer(result) {
642
+ return result.map((item) => {
643
+ return paymentHsmClusterPrivateEndpointConnectionDeserializer(item);
644
+ });
645
+ }
646
+ function paymentHsmClusterPrivateEndpointConnectionSerializer(item) {
647
+ return {
648
+ properties: !item["properties"] ? item["properties"] : privateEndpointConnectionPropertiesSerializer(item["properties"]),
649
+ etag: item["etag"]
650
+ };
651
+ }
652
+ function paymentHsmClusterPrivateEndpointConnectionDeserializer(item) {
653
+ return {
654
+ id: item["id"],
655
+ name: item["name"],
656
+ type: item["type"],
657
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
658
+ properties: !item["properties"] ? item["properties"] : privateEndpointConnectionPropertiesDeserializer(item["properties"]),
659
+ etag: item["etag"]
660
+ };
661
+ }
662
+ function paymentHsmClusterSkuSerializer(item) {
663
+ return { family: item["family"], name: item["name"], capacity: item["capacity"] };
664
+ }
665
+ function paymentHsmClusterSkuDeserializer(item) {
666
+ return {
667
+ family: item["family"],
668
+ name: item["name"],
669
+ capacity: item["capacity"]
670
+ };
671
+ }
672
+ var KnownPaymentHsmClusterSkuFamily = /* @__PURE__ */ ((KnownPaymentHsmClusterSkuFamily2) => {
673
+ KnownPaymentHsmClusterSkuFamily2["B"] = "B";
674
+ return KnownPaymentHsmClusterSkuFamily2;
675
+ })(KnownPaymentHsmClusterSkuFamily || {});
676
+ var KnownPaymentHsmClusterSkuName = /* @__PURE__ */ ((KnownPaymentHsmClusterSkuName2) => {
677
+ KnownPaymentHsmClusterSkuName2["PaymentsV2"] = "Payments_v2";
678
+ return KnownPaymentHsmClusterSkuName2;
679
+ })(KnownPaymentHsmClusterSkuName || {});
680
+ function paymentHsmClusterPatchParametersSerializer(item) {
681
+ return { tags: item["tags"] };
682
+ }
683
+ function _paymentHsmClusterListResultDeserializer(item) {
684
+ return {
685
+ value: paymentHsmClusterArrayDeserializer(item["value"]),
686
+ nextLink: item["nextLink"]
687
+ };
688
+ }
689
+ function paymentHsmClusterArraySerializer(result) {
690
+ return result.map((item) => {
691
+ return paymentHsmClusterSerializer(item);
692
+ });
693
+ }
694
+ function paymentHsmClusterArrayDeserializer(result) {
695
+ return result.map((item) => {
696
+ return paymentHsmClusterDeserializer(item);
697
+ });
698
+ }
699
+ function _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer(item) {
700
+ return {
701
+ value: paymentHsmClusterPrivateEndpointConnectionArrayDeserializer(item["value"]),
702
+ nextLink: item["nextLink"]
703
+ };
566
704
  }
567
705
  function _privateLinkResourceListResultDeserializer(item) {
568
- return {
569
- value: !item["value"] ? item["value"] : privateLinkResourceArrayDeserializer(item["value"]),
570
- nextLink: item["nextLink"],
571
- };
706
+ return {
707
+ value: !item["value"] ? item["value"] : privateLinkResourceArrayDeserializer(item["value"]),
708
+ nextLink: item["nextLink"]
709
+ };
572
710
  }
573
711
  function privateLinkResourceArrayDeserializer(result) {
574
- return result.map((item) => {
575
- return privateLinkResourceDeserializer(item);
576
- });
712
+ return result.map((item) => {
713
+ return privateLinkResourceDeserializer(item);
714
+ });
577
715
  }
578
716
  function privateLinkResourceDeserializer(item) {
579
- return {
580
- id: item["id"],
581
- name: item["name"],
582
- type: item["type"],
583
- systemData: !item["systemData"]
584
- ? item["systemData"]
585
- : systemDataDeserializer(item["systemData"]),
586
- properties: !item["properties"]
587
- ? item["properties"]
588
- : privateLinkResourcePropertiesDeserializer(item["properties"]),
589
- };
717
+ return {
718
+ id: item["id"],
719
+ name: item["name"],
720
+ type: item["type"],
721
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
722
+ properties: !item["properties"] ? item["properties"] : privateLinkResourcePropertiesDeserializer(item["properties"])
723
+ };
590
724
  }
591
725
  function privateLinkResourcePropertiesDeserializer(item) {
592
- return {
593
- groupId: item["groupId"],
594
- requiredMembers: !item["requiredMembers"]
595
- ? item["requiredMembers"]
596
- : item["requiredMembers"].map((p) => {
597
- return p;
598
- }),
599
- requiredZoneNames: !item["requiredZoneNames"]
600
- ? item["requiredZoneNames"]
601
- : item["requiredZoneNames"].map((p) => {
602
- return p;
603
- }),
604
- };
726
+ return {
727
+ groupId: item["groupId"],
728
+ requiredMembers: !item["requiredMembers"] ? item["requiredMembers"] : item["requiredMembers"].map((p) => {
729
+ return p;
730
+ }),
731
+ requiredZoneNames: !item["requiredZoneNames"] ? item["requiredZoneNames"] : item["requiredZoneNames"].map((p) => {
732
+ return p;
733
+ })
734
+ };
605
735
  }
606
736
  function dedicatedHsmSerializer(item) {
607
- return {
608
- tags: item["tags"],
609
- location: item["location"],
610
- sku: skuSerializer(item["sku"]),
611
- zones: !item["zones"]
612
- ? item["zones"]
613
- : item["zones"].map((p) => {
614
- return p;
615
- }),
616
- properties: dedicatedHsmPropertiesSerializer(item["properties"]),
617
- };
737
+ return {
738
+ tags: item["tags"],
739
+ location: item["location"],
740
+ properties: dedicatedHsmPropertiesSerializer(item["properties"]),
741
+ sku: skuSerializer(item["sku"]),
742
+ zones: !item["zones"] ? item["zones"] : item["zones"].map((p) => {
743
+ return p;
744
+ })
745
+ };
618
746
  }
619
747
  function dedicatedHsmDeserializer(item) {
620
- return {
621
- tags: item["tags"],
622
- location: item["location"],
623
- id: item["id"],
624
- name: item["name"],
625
- type: item["type"],
626
- systemData: !item["systemData"]
627
- ? item["systemData"]
628
- : systemDataDeserializer(item["systemData"]),
629
- sku: skuDeserializer(item["sku"]),
630
- zones: !item["zones"]
631
- ? item["zones"]
632
- : item["zones"].map((p) => {
633
- return p;
634
- }),
635
- properties: dedicatedHsmPropertiesDeserializer(item["properties"]),
636
- };
637
- }
638
- function skuSerializer(item) {
639
- return { name: item["name"] };
748
+ return {
749
+ tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
750
+ location: item["location"],
751
+ id: item["id"],
752
+ name: item["name"],
753
+ type: item["type"],
754
+ systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
755
+ properties: dedicatedHsmPropertiesDeserializer(item["properties"]),
756
+ sku: skuDeserializer(item["sku"]),
757
+ zones: !item["zones"] ? item["zones"] : item["zones"].map((p) => {
758
+ return p;
759
+ })
760
+ };
640
761
  }
641
- function skuDeserializer(item) {
642
- return {
643
- name: item["name"],
644
- };
645
- }
646
- /** SKU of the dedicated HSM */
647
- var KnownSkuName;
648
- (function (KnownSkuName) {
649
- /** The dedicated HSM is a Safenet Luna Network HSM A790 device. */
650
- KnownSkuName["SafeNetLunaNetworkHSMA790"] = "SafeNet Luna Network HSM A790";
651
- /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 60 calls per second. */
652
- KnownSkuName["PayShield10KLMK1CPS60"] = "payShield10K_LMK1_CPS60";
653
- /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 250 calls per second. */
654
- KnownSkuName["PayShield10KLMK1CPS250"] = "payShield10K_LMK1_CPS250";
655
- /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 1 local master key which supports up to 2500 calls per second. */
656
- KnownSkuName["PayShield10KLMK1CPS2500"] = "payShield10K_LMK1_CPS2500";
657
- /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 60 calls per second. */
658
- KnownSkuName["PayShield10KLMK2CPS60"] = "payShield10K_LMK2_CPS60";
659
- /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 250 calls per second. */
660
- KnownSkuName["PayShield10KLMK2CPS250"] = "payShield10K_LMK2_CPS250";
661
- /** The dedicated HSM is a payShield 10K, model PS10-D, 10Gb Ethernet Hardware Platform device with 2 local master keys which supports up to 2500 calls per second. */
662
- KnownSkuName["PayShield10KLMK2CPS2500"] = "payShield10K_LMK2_CPS2500";
663
- })(KnownSkuName || (exports.KnownSkuName = KnownSkuName = {}));
664
762
  function dedicatedHsmPropertiesSerializer(item) {
665
- return {
666
- networkProfile: !item["networkProfile"]
667
- ? item["networkProfile"]
668
- : networkProfileSerializer(item["networkProfile"]),
669
- managementNetworkProfile: !item["managementNetworkProfile"]
670
- ? item["managementNetworkProfile"]
671
- : networkProfileSerializer(item["managementNetworkProfile"]),
672
- stampId: item["stampId"],
673
- };
763
+ return {
764
+ networkProfile: !item["networkProfile"] ? item["networkProfile"] : networkProfileSerializer(item["networkProfile"]),
765
+ managementNetworkProfile: !item["managementNetworkProfile"] ? item["managementNetworkProfile"] : networkProfileSerializer(item["managementNetworkProfile"]),
766
+ stampId: item["stampId"]
767
+ };
674
768
  }
675
769
  function dedicatedHsmPropertiesDeserializer(item) {
676
- return {
677
- networkProfile: !item["networkProfile"]
678
- ? item["networkProfile"]
679
- : networkProfileDeserializer(item["networkProfile"]),
680
- managementNetworkProfile: !item["managementNetworkProfile"]
681
- ? item["managementNetworkProfile"]
682
- : networkProfileDeserializer(item["managementNetworkProfile"]),
683
- stampId: item["stampId"],
684
- statusMessage: item["statusMessage"],
685
- provisioningState: item["provisioningState"],
686
- };
770
+ return {
771
+ networkProfile: !item["networkProfile"] ? item["networkProfile"] : networkProfileDeserializer(item["networkProfile"]),
772
+ managementNetworkProfile: !item["managementNetworkProfile"] ? item["managementNetworkProfile"] : networkProfileDeserializer(item["managementNetworkProfile"]),
773
+ stampId: item["stampId"],
774
+ statusMessage: item["statusMessage"],
775
+ provisioningState: item["provisioningState"]
776
+ };
687
777
  }
688
778
  function networkProfileSerializer(item) {
689
- return {
690
- subnet: !item["subnet"] ? item["subnet"] : apiEntityReferenceSerializer(item["subnet"]),
691
- networkInterfaces: !item["networkInterfaces"]
692
- ? item["networkInterfaces"]
693
- : networkInterfaceArraySerializer(item["networkInterfaces"]),
694
- };
779
+ return {
780
+ subnet: !item["subnet"] ? item["subnet"] : apiEntityReferenceSerializer(item["subnet"]),
781
+ networkInterfaces: !item["networkInterfaces"] ? item["networkInterfaces"] : networkInterfaceArraySerializer(item["networkInterfaces"])
782
+ };
695
783
  }
696
784
  function networkProfileDeserializer(item) {
697
- return {
698
- subnet: !item["subnet"] ? item["subnet"] : apiEntityReferenceDeserializer(item["subnet"]),
699
- networkInterfaces: !item["networkInterfaces"]
700
- ? item["networkInterfaces"]
701
- : networkInterfaceArrayDeserializer(item["networkInterfaces"]),
702
- };
785
+ return {
786
+ subnet: !item["subnet"] ? item["subnet"] : apiEntityReferenceDeserializer(item["subnet"]),
787
+ networkInterfaces: !item["networkInterfaces"] ? item["networkInterfaces"] : networkInterfaceArrayDeserializer(item["networkInterfaces"])
788
+ };
703
789
  }
704
790
  function apiEntityReferenceSerializer(item) {
705
- return { resourceId: item["resourceId"] };
791
+ return { resourceId: item["resourceId"] };
706
792
  }
707
793
  function apiEntityReferenceDeserializer(item) {
708
- return {
709
- resourceId: item["resourceId"],
710
- };
794
+ return {
795
+ resourceId: item["resourceId"]
796
+ };
711
797
  }
712
798
  function networkInterfaceArraySerializer(result) {
713
- return result.map((item) => {
714
- return networkInterfaceSerializer(item);
715
- });
799
+ return result.map((item) => {
800
+ return networkInterfaceSerializer(item);
801
+ });
716
802
  }
717
803
  function networkInterfaceArrayDeserializer(result) {
718
- return result.map((item) => {
719
- return networkInterfaceDeserializer(item);
720
- });
804
+ return result.map((item) => {
805
+ return networkInterfaceDeserializer(item);
806
+ });
721
807
  }
722
808
  function networkInterfaceSerializer(item) {
723
- return { privateIpAddress: item["privateIpAddress"] };
809
+ return { privateIpAddress: item["privateIpAddress"] };
724
810
  }
725
811
  function networkInterfaceDeserializer(item) {
726
- return {
727
- resourceId: item["resourceId"],
728
- privateIpAddress: item["privateIpAddress"],
729
- };
730
- }
731
- /** Provisioning state. */
732
- var KnownJsonWebKeyType;
733
- (function (KnownJsonWebKeyType) {
734
- /** The dedicated HSM has been fully provisioned. */
735
- KnownJsonWebKeyType["Succeeded"] = "Succeeded";
736
- /** The dedicated HSM is currently being provisioned. */
737
- KnownJsonWebKeyType["Provisioning"] = "Provisioning";
738
- /** A device is currently being allocated for the dedicated HSM resource. */
739
- KnownJsonWebKeyType["Allocating"] = "Allocating";
740
- /** The dedicated HSM is being connected to the virtual network. */
741
- KnownJsonWebKeyType["Connecting"] = "Connecting";
742
- /** Provisioning of the dedicated HSM has failed. */
743
- KnownJsonWebKeyType["Failed"] = "Failed";
744
- /** Validating the subscription has sufficient quota to allocate a dedicated HSM device. */
745
- KnownJsonWebKeyType["CheckingQuota"] = "CheckingQuota";
746
- /** The dedicated HSM is currently being deleted. */
747
- KnownJsonWebKeyType["Deleting"] = "Deleting";
748
- })(KnownJsonWebKeyType || (exports.KnownJsonWebKeyType = KnownJsonWebKeyType = {}));
812
+ return {
813
+ resourceId: item["resourceId"],
814
+ privateIpAddress: item["privateIpAddress"]
815
+ };
816
+ }
817
+ var KnownJsonWebKeyType = /* @__PURE__ */ ((KnownJsonWebKeyType2) => {
818
+ KnownJsonWebKeyType2["Succeeded"] = "Succeeded";
819
+ KnownJsonWebKeyType2["Provisioning"] = "Provisioning";
820
+ KnownJsonWebKeyType2["Allocating"] = "Allocating";
821
+ KnownJsonWebKeyType2["Connecting"] = "Connecting";
822
+ KnownJsonWebKeyType2["Failed"] = "Failed";
823
+ KnownJsonWebKeyType2["CheckingQuota"] = "CheckingQuota";
824
+ KnownJsonWebKeyType2["Deleting"] = "Deleting";
825
+ return KnownJsonWebKeyType2;
826
+ })(KnownJsonWebKeyType || {});
827
+ function skuSerializer(item) {
828
+ return { name: item["name"] };
829
+ }
830
+ function skuDeserializer(item) {
831
+ return {
832
+ name: item["name"]
833
+ };
834
+ }
835
+ var KnownSkuName = /* @__PURE__ */ ((KnownSkuName2) => {
836
+ KnownSkuName2["SafeNetLunaNetworkHSMA790"] = "SafeNet Luna Network HSM A790";
837
+ KnownSkuName2["PayShield10KLMK1CPS60"] = "payShield10K_LMK1_CPS60";
838
+ KnownSkuName2["PayShield10KLMK1CPS250"] = "payShield10K_LMK1_CPS250";
839
+ KnownSkuName2["PayShield10KLMK1CPS2500"] = "payShield10K_LMK1_CPS2500";
840
+ KnownSkuName2["PayShield10KLMK2CPS60"] = "payShield10K_LMK2_CPS60";
841
+ KnownSkuName2["PayShield10KLMK2CPS250"] = "payShield10K_LMK2_CPS250";
842
+ KnownSkuName2["PayShield10KLMK2CPS2500"] = "payShield10K_LMK2_CPS2500";
843
+ return KnownSkuName2;
844
+ })(KnownSkuName || {});
749
845
  function dedicatedHsmErrorDeserializer(item) {
750
- return {
751
- error: !item["error"] ? item["error"] : errorDeserializer(item["error"]),
752
- };
846
+ return {
847
+ error: !item["error"] ? item["error"] : errorDeserializer(item["error"])
848
+ };
753
849
  }
754
850
  function errorDeserializer(item) {
755
- return {
756
- code: item["code"],
757
- message: item["message"],
758
- innerError: !item["innererror"] ? item["innererror"] : errorDeserializer(item["innererror"]),
759
- };
851
+ return {
852
+ code: item["code"],
853
+ message: item["message"],
854
+ innerError: !item["innererror"] ? item["innererror"] : errorDeserializer(item["innererror"])
855
+ };
760
856
  }
761
857
  function dedicatedHsmPatchParametersSerializer(item) {
762
- return { tags: item["tags"] };
858
+ return { tags: item["tags"] };
763
859
  }
764
860
  function _dedicatedHsmListResultDeserializer(item) {
765
- return {
766
- value: dedicatedHsmArrayDeserializer(item["value"]),
767
- nextLink: item["nextLink"],
768
- };
861
+ return {
862
+ value: dedicatedHsmArrayDeserializer(item["value"]),
863
+ nextLink: item["nextLink"]
864
+ };
769
865
  }
770
866
  function dedicatedHsmArraySerializer(result) {
771
- return result.map((item) => {
772
- return dedicatedHsmSerializer(item);
773
- });
867
+ return result.map((item) => {
868
+ return dedicatedHsmSerializer(item);
869
+ });
774
870
  }
775
871
  function dedicatedHsmArrayDeserializer(result) {
776
- return result.map((item) => {
777
- return dedicatedHsmDeserializer(item);
778
- });
872
+ return result.map((item) => {
873
+ return dedicatedHsmDeserializer(item);
874
+ });
779
875
  }
780
876
  function _outboundEnvironmentEndpointCollectionDeserializer(item) {
781
- return {
782
- value: outboundEnvironmentEndpointArrayDeserializer(item["value"]),
783
- nextLink: item["nextLink"],
784
- };
877
+ return {
878
+ value: outboundEnvironmentEndpointArrayDeserializer(item["value"]),
879
+ nextLink: item["nextLink"]
880
+ };
785
881
  }
786
882
  function outboundEnvironmentEndpointArrayDeserializer(result) {
787
- return result.map((item) => {
788
- return outboundEnvironmentEndpointDeserializer(item);
789
- });
883
+ return result.map((item) => {
884
+ return outboundEnvironmentEndpointDeserializer(item);
885
+ });
790
886
  }
791
887
  function outboundEnvironmentEndpointDeserializer(item) {
792
- return {
793
- category: item["category"],
794
- endpoints: !item["endpoints"]
795
- ? item["endpoints"]
796
- : endpointDependencyArrayDeserializer(item["endpoints"]),
797
- };
888
+ return {
889
+ category: item["category"],
890
+ endpoints: !item["endpoints"] ? item["endpoints"] : endpointDependencyArrayDeserializer(item["endpoints"])
891
+ };
798
892
  }
799
893
  function endpointDependencyArrayDeserializer(result) {
800
- return result.map((item) => {
801
- return endpointDependencyDeserializer(item);
802
- });
894
+ return result.map((item) => {
895
+ return endpointDependencyDeserializer(item);
896
+ });
803
897
  }
804
898
  function endpointDependencyDeserializer(item) {
805
- return {
806
- domainName: item["domainName"],
807
- endpointDetails: !item["endpointDetails"]
808
- ? item["endpointDetails"]
809
- : endpointDetailArrayDeserializer(item["endpointDetails"]),
810
- };
899
+ return {
900
+ domainName: item["domainName"],
901
+ endpointDetails: !item["endpointDetails"] ? item["endpointDetails"] : endpointDetailArrayDeserializer(item["endpointDetails"])
902
+ };
811
903
  }
812
904
  function endpointDetailArrayDeserializer(result) {
813
- return result.map((item) => {
814
- return endpointDetailDeserializer(item);
815
- });
905
+ return result.map((item) => {
906
+ return endpointDetailDeserializer(item);
907
+ });
816
908
  }
817
909
  function endpointDetailDeserializer(item) {
818
- return {
819
- ipAddress: item["ipAddress"],
820
- port: item["port"],
821
- protocol: item["protocol"],
822
- description: item["description"],
823
- };
824
- }
825
- /** The available API versions. */
826
- var KnownVersions;
827
- (function (KnownVersions) {
828
- /** The 2025-03-31 API version. */
829
- KnownVersions["V20250331"] = "2025-03-31";
830
- })(KnownVersions || (exports.KnownVersions = KnownVersions = {}));
831
- //# sourceMappingURL=models.js.map
910
+ return {
911
+ ipAddress: item["ipAddress"],
912
+ port: item["port"],
913
+ protocol: item["protocol"],
914
+ description: item["description"]
915
+ };
916
+ }
917
+ var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
918
+ KnownVersions2["V20250331"] = "2025-03-31";
919
+ KnownVersions2["V20251201Preview"] = "2025-12-01-preview";
920
+ return KnownVersions2;
921
+ })(KnownVersions || {});
922
+ // Annotate the CommonJS export names for ESM import in node:
923
+ 0 && (module.exports = {
924
+ KnownActionType,
925
+ KnownActivationState,
926
+ KnownAutoGeneratedDomainNameLabelScope,
927
+ KnownBackupRestoreOperationStatus,
928
+ KnownCloudHsmClusterSkuFamily,
929
+ KnownCloudHsmClusterSkuName,
930
+ KnownCreatedByType,
931
+ KnownHsmState,
932
+ KnownJsonWebKeyType,
933
+ KnownManagedServiceIdentityType,
934
+ KnownOrigin,
935
+ KnownPaymentHsmClusterSkuFamily,
936
+ KnownPaymentHsmClusterSkuName,
937
+ KnownPrivateEndpointConnectionProvisioningState,
938
+ KnownPrivateEndpointServiceConnectionStatus,
939
+ KnownProvisioningState,
940
+ KnownPublicNetworkAccess,
941
+ KnownSkuName,
942
+ KnownVersions,
943
+ _cloudHsmClusterListResultDeserializer,
944
+ _dedicatedHsmListResultDeserializer,
945
+ _operationListResultDeserializer,
946
+ _outboundEnvironmentEndpointCollectionDeserializer,
947
+ _paymentHsmClusterListResultDeserializer,
948
+ _paymentHsmClusterPrivateEndpointConnectionListResultDeserializer,
949
+ _privateEndpointConnectionListResultDeserializer,
950
+ _privateLinkResourceListResultDeserializer,
951
+ apiEntityReferenceDeserializer,
952
+ apiEntityReferenceSerializer,
953
+ backupRequestPropertiesSerializer,
954
+ backupRestoreBaseResultPropertiesDeserializer,
955
+ backupRestoreRequestBasePropertiesSerializer,
956
+ backupResultDeserializer,
957
+ backupResultPropertiesDeserializer,
958
+ cloudHsmClusterArrayDeserializer,
959
+ cloudHsmClusterArraySerializer,
960
+ cloudHsmClusterDeserializer,
961
+ cloudHsmClusterPatchParametersSerializer,
962
+ cloudHsmClusterPropertiesDeserializer,
963
+ cloudHsmClusterPropertiesSerializer,
964
+ cloudHsmClusterSerializer,
965
+ cloudHsmClusterSkuDeserializer,
966
+ cloudHsmClusterSkuSerializer,
967
+ cloudHsmPropertiesArrayDeserializer,
968
+ cloudHsmPropertiesDeserializer,
969
+ dedicatedHsmArrayDeserializer,
970
+ dedicatedHsmArraySerializer,
971
+ dedicatedHsmDeserializer,
972
+ dedicatedHsmErrorDeserializer,
973
+ dedicatedHsmPatchParametersSerializer,
974
+ dedicatedHsmPropertiesDeserializer,
975
+ dedicatedHsmPropertiesSerializer,
976
+ dedicatedHsmSerializer,
977
+ endpointDependencyArrayDeserializer,
978
+ endpointDependencyDeserializer,
979
+ endpointDetailArrayDeserializer,
980
+ endpointDetailDeserializer,
981
+ errorAdditionalInfoArrayDeserializer,
982
+ errorAdditionalInfoDeserializer,
983
+ errorDeserializer,
984
+ errorDetailArrayDeserializer,
985
+ errorDetailDeserializer,
986
+ errorResponseDeserializer,
987
+ managedServiceIdentityDeserializer,
988
+ managedServiceIdentitySerializer,
989
+ networkInterfaceArrayDeserializer,
990
+ networkInterfaceArraySerializer,
991
+ networkInterfaceDeserializer,
992
+ networkInterfaceSerializer,
993
+ networkProfileDeserializer,
994
+ networkProfileSerializer,
995
+ operationArrayDeserializer,
996
+ operationDeserializer,
997
+ operationDisplayDeserializer,
998
+ outboundEnvironmentEndpointArrayDeserializer,
999
+ outboundEnvironmentEndpointDeserializer,
1000
+ paymentHsmClusterArrayDeserializer,
1001
+ paymentHsmClusterArraySerializer,
1002
+ paymentHsmClusterDeserializer,
1003
+ paymentHsmClusterPatchParametersSerializer,
1004
+ paymentHsmClusterPrivateEndpointConnectionArrayDeserializer,
1005
+ paymentHsmClusterPrivateEndpointConnectionArraySerializer,
1006
+ paymentHsmClusterPrivateEndpointConnectionDeserializer,
1007
+ paymentHsmClusterPrivateEndpointConnectionSerializer,
1008
+ paymentHsmClusterPropertiesDeserializer,
1009
+ paymentHsmClusterPropertiesSerializer,
1010
+ paymentHsmClusterSerializer,
1011
+ paymentHsmClusterSkuDeserializer,
1012
+ paymentHsmClusterSkuSerializer,
1013
+ paymentHsmPropertiesArrayDeserializer,
1014
+ paymentHsmPropertiesDeserializer,
1015
+ privateEndpointConnectionArrayDeserializer,
1016
+ privateEndpointConnectionArraySerializer,
1017
+ privateEndpointConnectionDeserializer,
1018
+ privateEndpointConnectionPropertiesDeserializer,
1019
+ privateEndpointConnectionPropertiesSerializer,
1020
+ privateEndpointConnectionSerializer,
1021
+ privateEndpointDeserializer,
1022
+ privateEndpointSerializer,
1023
+ privateLinkResourceArrayDeserializer,
1024
+ privateLinkResourceDeserializer,
1025
+ privateLinkResourcePropertiesDeserializer,
1026
+ privateLinkServiceConnectionStateDeserializer,
1027
+ privateLinkServiceConnectionStateSerializer,
1028
+ proxyResourceDeserializer,
1029
+ proxyResourceSerializer,
1030
+ resourceDeserializer,
1031
+ resourceSerializer,
1032
+ restoreRequestPropertiesSerializer,
1033
+ restoreResultDeserializer,
1034
+ skuDeserializer,
1035
+ skuSerializer,
1036
+ systemDataDeserializer,
1037
+ trackedResourceDeserializer,
1038
+ trackedResourceSerializer,
1039
+ userAssignedIdentityDeserializer,
1040
+ userAssignedIdentitySerializer
1041
+ });
1042
+ //# sourceMappingURL=models.js.map