@azure/arm-hardwaresecuritymodules 2.0.0-beta.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (783) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/LICENSE +3 -3
  3. package/README.md +39 -33
  4. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  5. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js +36 -0
  6. package/dist/browser/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  7. package/dist/browser/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  8. package/dist/browser/api/cloudHsmClusterBackupStatus/index.js +4 -0
  9. package/dist/browser/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  10. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  11. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js +42 -0
  12. package/dist/browser/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  13. package/dist/browser/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  14. package/dist/browser/api/cloudHsmClusterBackupStatus/options.js +4 -0
  15. package/dist/browser/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  16. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  17. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
  18. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  19. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  20. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
  21. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  22. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  23. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
  24. package/dist/browser/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  25. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  26. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
  27. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  28. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  29. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
  30. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  31. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  32. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
  33. package/dist/browser/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  34. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  35. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js +4 -0
  36. package/dist/browser/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  37. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  38. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
  39. package/dist/browser/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  40. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  41. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js +4 -0
  42. package/dist/browser/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  43. package/dist/browser/api/cloudHsmClusters/index.d.ts +3 -0
  44. package/dist/browser/api/cloudHsmClusters/index.js +4 -0
  45. package/dist/browser/api/cloudHsmClusters/index.js.map +1 -0
  46. package/dist/browser/api/cloudHsmClusters/operations.d.ts +52 -0
  47. package/dist/browser/api/cloudHsmClusters/operations.js +324 -0
  48. package/dist/browser/api/cloudHsmClusters/operations.js.map +1 -0
  49. package/dist/browser/api/cloudHsmClusters/options.d.ts +57 -0
  50. package/dist/browser/api/cloudHsmClusters/options.js +4 -0
  51. package/dist/browser/api/cloudHsmClusters/options.js.map +1 -0
  52. package/dist/browser/api/dedicatedHsm/index.d.ts +3 -0
  53. package/dist/browser/api/dedicatedHsm/index.js +4 -0
  54. package/dist/browser/api/dedicatedHsm/index.js.map +1 -0
  55. package/dist/browser/api/dedicatedHsm/operations.d.ts +40 -0
  56. package/dist/browser/api/dedicatedHsm/operations.js +215 -0
  57. package/dist/browser/api/dedicatedHsm/operations.js.map +1 -0
  58. package/dist/browser/api/dedicatedHsm/options.d.ts +33 -0
  59. package/dist/browser/api/dedicatedHsm/options.js +4 -0
  60. package/dist/browser/api/dedicatedHsm/options.js.map +1 -0
  61. package/dist/browser/api/index.d.ts +2 -0
  62. package/dist/browser/api/index.js +4 -0
  63. package/dist/browser/api/index.js.map +1 -0
  64. package/dist/browser/api/operations/index.d.ts +3 -0
  65. package/dist/browser/api/operations/index.js +4 -0
  66. package/dist/browser/api/operations/index.js.map +1 -0
  67. package/dist/browser/api/operations/operations.d.ts +10 -0
  68. package/dist/browser/api/operations/operations.js +29 -0
  69. package/dist/browser/api/operations/operations.js.map +1 -0
  70. package/dist/browser/api/operations/options.d.ts +5 -0
  71. package/dist/browser/api/operations/options.js +4 -0
  72. package/dist/browser/api/operations/options.js.map +1 -0
  73. package/dist/browser/api/privateEndpointConnections/index.d.ts +3 -0
  74. package/dist/browser/api/privateEndpointConnections/index.js +4 -0
  75. package/dist/browser/api/privateEndpointConnections/index.js.map +1 -0
  76. package/dist/browser/api/privateEndpointConnections/operations.d.ts +10 -0
  77. package/dist/browser/api/privateEndpointConnections/operations.js +36 -0
  78. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -0
  79. package/dist/browser/api/privateEndpointConnections/options.d.ts +5 -0
  80. package/dist/browser/api/privateEndpointConnections/options.js +4 -0
  81. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -0
  82. package/dist/browser/azureDedicatedHSMResourceProvider.d.ts +36 -0
  83. package/dist/browser/azureDedicatedHSMResourceProvider.js +33 -0
  84. package/dist/browser/azureDedicatedHSMResourceProvider.js.map +1 -0
  85. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  86. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js +12 -0
  87. package/dist/browser/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  88. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  89. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
  90. package/dist/browser/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  91. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  92. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
  93. package/dist/browser/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  94. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  95. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
  96. package/dist/browser/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  97. package/dist/browser/classic/cloudHsmClusters/index.d.ts +35 -0
  98. package/dist/browser/classic/cloudHsmClusters/index.js +21 -0
  99. package/dist/browser/classic/cloudHsmClusters/index.js.map +1 -0
  100. package/dist/browser/classic/dedicatedHsm/index.d.ts +29 -0
  101. package/dist/browser/classic/dedicatedHsm/index.js +18 -0
  102. package/dist/browser/classic/dedicatedHsm/index.js.map +1 -0
  103. package/dist/browser/classic/index.d.ts +9 -0
  104. package/dist/browser/classic/index.js +4 -0
  105. package/dist/browser/classic/index.js.map +1 -0
  106. package/dist/browser/classic/operations/index.d.ts +11 -0
  107. package/dist/browser/classic/operations/index.js +12 -0
  108. package/dist/browser/classic/operations/index.js.map +1 -0
  109. package/dist/browser/classic/privateEndpointConnections/index.d.ts +11 -0
  110. package/dist/browser/classic/privateEndpointConnections/index.js +12 -0
  111. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -0
  112. package/dist/browser/index.d.ts +16 -0
  113. package/dist/browser/index.js +6 -0
  114. package/dist/browser/index.js.map +1 -0
  115. package/dist/browser/logger.d.ts +2 -0
  116. package/dist/browser/logger.js +5 -0
  117. package/dist/browser/logger.js.map +1 -0
  118. package/dist/browser/models/index.d.ts +2 -0
  119. package/dist/browser/models/index.js +4 -0
  120. package/dist/browser/models/index.js.map +1 -0
  121. package/dist/browser/models/models.d.ts +751 -0
  122. package/dist/browser/models/models.js +747 -0
  123. package/dist/browser/models/models.js.map +1 -0
  124. package/dist/browser/package.json +3 -0
  125. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  126. package/dist/browser/restorePollerHelpers.js +133 -0
  127. package/dist/browser/restorePollerHelpers.js.map +1 -0
  128. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  129. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  130. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  131. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  132. package/dist/browser/static-helpers/pollingHelpers.js +76 -0
  133. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  134. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  135. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  136. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  137. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  138. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js +39 -0
  139. package/dist/commonjs/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  140. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  141. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js +8 -0
  142. package/dist/commonjs/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  143. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  144. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js +47 -0
  145. package/dist/commonjs/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  146. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  147. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js +5 -0
  148. package/dist/commonjs/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  149. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  150. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js +10 -0
  151. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  152. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  153. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js +120 -0
  154. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  155. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  156. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js +5 -0
  157. package/dist/commonjs/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  158. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  159. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js +8 -0
  160. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  161. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  162. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js +41 -0
  163. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  164. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  165. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js +5 -0
  166. package/dist/commonjs/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  167. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  168. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js +8 -0
  169. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  170. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  171. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js +47 -0
  172. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  173. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  174. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js +5 -0
  175. package/dist/commonjs/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  176. package/dist/commonjs/api/cloudHsmClusters/index.d.ts +3 -0
  177. package/dist/commonjs/api/cloudHsmClusters/index.js +17 -0
  178. package/dist/commonjs/api/cloudHsmClusters/index.js.map +1 -0
  179. package/dist/commonjs/api/cloudHsmClusters/operations.d.ts +52 -0
  180. package/dist/commonjs/api/cloudHsmClusters/operations.js +356 -0
  181. package/dist/commonjs/api/cloudHsmClusters/operations.js.map +1 -0
  182. package/dist/commonjs/api/cloudHsmClusters/options.d.ts +57 -0
  183. package/dist/commonjs/api/cloudHsmClusters/options.js +5 -0
  184. package/dist/commonjs/api/cloudHsmClusters/options.js.map +1 -0
  185. package/dist/commonjs/api/dedicatedHsm/index.d.ts +3 -0
  186. package/dist/commonjs/api/dedicatedHsm/index.js +14 -0
  187. package/dist/commonjs/api/dedicatedHsm/index.js.map +1 -0
  188. package/dist/commonjs/api/dedicatedHsm/operations.d.ts +40 -0
  189. package/dist/commonjs/api/dedicatedHsm/operations.js +238 -0
  190. package/dist/commonjs/api/dedicatedHsm/operations.js.map +1 -0
  191. package/dist/commonjs/api/dedicatedHsm/options.d.ts +33 -0
  192. package/dist/commonjs/api/dedicatedHsm/options.js +5 -0
  193. package/dist/commonjs/api/dedicatedHsm/options.js.map +1 -0
  194. package/dist/commonjs/api/index.d.ts +2 -0
  195. package/dist/commonjs/api/index.js +8 -0
  196. package/dist/commonjs/api/index.js.map +1 -0
  197. package/dist/commonjs/api/operations/index.d.ts +3 -0
  198. package/dist/commonjs/api/operations/index.js +8 -0
  199. package/dist/commonjs/api/operations/index.js.map +1 -0
  200. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  201. package/dist/commonjs/api/operations/operations.js +34 -0
  202. package/dist/commonjs/api/operations/operations.js.map +1 -0
  203. package/dist/commonjs/api/operations/options.d.ts +5 -0
  204. package/dist/commonjs/api/operations/options.js +5 -0
  205. package/dist/commonjs/api/operations/options.js.map +1 -0
  206. package/dist/commonjs/api/privateEndpointConnections/index.d.ts +3 -0
  207. package/dist/commonjs/api/privateEndpointConnections/index.js +8 -0
  208. package/dist/commonjs/api/privateEndpointConnections/index.js.map +1 -0
  209. package/dist/commonjs/api/privateEndpointConnections/operations.d.ts +10 -0
  210. package/dist/commonjs/api/privateEndpointConnections/operations.js +41 -0
  211. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +1 -0
  212. package/dist/commonjs/api/privateEndpointConnections/options.d.ts +5 -0
  213. package/dist/commonjs/api/privateEndpointConnections/options.js +5 -0
  214. package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -0
  215. package/dist/commonjs/azureDedicatedHSMResourceProvider.d.ts +36 -0
  216. package/dist/commonjs/azureDedicatedHSMResourceProvider.js +37 -0
  217. package/dist/commonjs/azureDedicatedHSMResourceProvider.js.map +1 -0
  218. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  219. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js +15 -0
  220. package/dist/commonjs/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  221. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  222. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js +17 -0
  223. package/dist/commonjs/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  224. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  225. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js +15 -0
  226. package/dist/commonjs/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  227. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  228. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js +15 -0
  229. package/dist/commonjs/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  230. package/dist/commonjs/classic/cloudHsmClusters/index.d.ts +35 -0
  231. package/dist/commonjs/classic/cloudHsmClusters/index.js +24 -0
  232. package/dist/commonjs/classic/cloudHsmClusters/index.js.map +1 -0
  233. package/dist/commonjs/classic/dedicatedHsm/index.d.ts +29 -0
  234. package/dist/commonjs/classic/dedicatedHsm/index.js +21 -0
  235. package/dist/commonjs/classic/dedicatedHsm/index.js.map +1 -0
  236. package/dist/commonjs/classic/index.d.ts +9 -0
  237. package/dist/commonjs/classic/index.js +5 -0
  238. package/dist/commonjs/classic/index.js.map +1 -0
  239. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  240. package/dist/commonjs/classic/operations/index.js +15 -0
  241. package/dist/commonjs/classic/operations/index.js.map +1 -0
  242. package/dist/commonjs/classic/privateEndpointConnections/index.d.ts +11 -0
  243. package/dist/commonjs/classic/privateEndpointConnections/index.js +15 -0
  244. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +1 -0
  245. package/dist/commonjs/index.d.ts +16 -0
  246. package/dist/commonjs/index.js +26 -0
  247. package/dist/commonjs/index.js.map +1 -0
  248. package/dist/commonjs/logger.d.ts +2 -0
  249. package/dist/commonjs/logger.js +8 -0
  250. package/dist/commonjs/logger.js.map +1 -0
  251. package/dist/commonjs/models/index.d.ts +2 -0
  252. package/dist/commonjs/models/index.js +22 -0
  253. package/dist/commonjs/models/index.js.map +1 -0
  254. package/dist/commonjs/models/models.d.ts +751 -0
  255. package/dist/commonjs/models/models.js +831 -0
  256. package/dist/commonjs/models/models.js.map +1 -0
  257. package/dist/commonjs/package.json +3 -0
  258. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  259. package/dist/commonjs/restorePollerHelpers.js +136 -0
  260. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  261. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  262. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  263. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  264. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  265. package/dist/commonjs/static-helpers/pollingHelpers.js +79 -0
  266. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  267. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  268. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  269. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  270. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  271. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  272. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js +36 -0
  273. package/dist/esm/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  274. package/dist/esm/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  275. package/dist/esm/api/cloudHsmClusterBackupStatus/index.js +4 -0
  276. package/dist/esm/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  277. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  278. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js +42 -0
  279. package/dist/esm/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  280. package/dist/esm/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  281. package/dist/esm/api/cloudHsmClusterBackupStatus/options.js +4 -0
  282. package/dist/esm/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  283. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  284. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
  285. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  286. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  287. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
  288. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  289. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  290. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
  291. package/dist/esm/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  292. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  293. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
  294. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  295. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  296. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
  297. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  298. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  299. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
  300. package/dist/esm/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  301. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  302. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js +4 -0
  303. package/dist/esm/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  304. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  305. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
  306. package/dist/esm/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  307. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  308. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js +4 -0
  309. package/dist/esm/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  310. package/dist/esm/api/cloudHsmClusters/index.d.ts +3 -0
  311. package/dist/esm/api/cloudHsmClusters/index.js +4 -0
  312. package/dist/esm/api/cloudHsmClusters/index.js.map +1 -0
  313. package/dist/esm/api/cloudHsmClusters/operations.d.ts +52 -0
  314. package/dist/esm/api/cloudHsmClusters/operations.js +324 -0
  315. package/dist/esm/api/cloudHsmClusters/operations.js.map +1 -0
  316. package/dist/esm/api/cloudHsmClusters/options.d.ts +57 -0
  317. package/dist/esm/api/cloudHsmClusters/options.js +4 -0
  318. package/dist/esm/api/cloudHsmClusters/options.js.map +1 -0
  319. package/dist/esm/api/dedicatedHsm/index.d.ts +3 -0
  320. package/dist/esm/api/dedicatedHsm/index.js +4 -0
  321. package/dist/esm/api/dedicatedHsm/index.js.map +1 -0
  322. package/dist/esm/api/dedicatedHsm/operations.d.ts +40 -0
  323. package/dist/esm/api/dedicatedHsm/operations.js +215 -0
  324. package/dist/esm/api/dedicatedHsm/operations.js.map +1 -0
  325. package/dist/esm/api/dedicatedHsm/options.d.ts +33 -0
  326. package/dist/esm/api/dedicatedHsm/options.js +4 -0
  327. package/dist/esm/api/dedicatedHsm/options.js.map +1 -0
  328. package/dist/esm/api/index.d.ts +2 -0
  329. package/dist/esm/api/index.js +4 -0
  330. package/dist/esm/api/index.js.map +1 -0
  331. package/dist/esm/api/operations/index.d.ts +3 -0
  332. package/dist/esm/api/operations/index.js +4 -0
  333. package/dist/esm/api/operations/index.js.map +1 -0
  334. package/dist/esm/api/operations/operations.d.ts +10 -0
  335. package/dist/esm/api/operations/operations.js +29 -0
  336. package/dist/esm/api/operations/operations.js.map +1 -0
  337. package/dist/esm/api/operations/options.d.ts +5 -0
  338. package/dist/esm/api/operations/options.js +4 -0
  339. package/dist/esm/api/operations/options.js.map +1 -0
  340. package/dist/esm/api/privateEndpointConnections/index.d.ts +3 -0
  341. package/dist/esm/api/privateEndpointConnections/index.js +4 -0
  342. package/dist/esm/api/privateEndpointConnections/index.js.map +1 -0
  343. package/dist/esm/api/privateEndpointConnections/operations.d.ts +10 -0
  344. package/dist/esm/api/privateEndpointConnections/operations.js +36 -0
  345. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -0
  346. package/dist/esm/api/privateEndpointConnections/options.d.ts +5 -0
  347. package/dist/esm/api/privateEndpointConnections/options.js +4 -0
  348. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -0
  349. package/dist/esm/azureDedicatedHSMResourceProvider.d.ts +36 -0
  350. package/dist/esm/azureDedicatedHSMResourceProvider.js +33 -0
  351. package/dist/esm/azureDedicatedHSMResourceProvider.js.map +1 -0
  352. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  353. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js +12 -0
  354. package/dist/esm/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  355. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  356. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
  357. package/dist/esm/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  358. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  359. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
  360. package/dist/esm/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  361. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  362. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
  363. package/dist/esm/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  364. package/dist/esm/classic/cloudHsmClusters/index.d.ts +35 -0
  365. package/dist/esm/classic/cloudHsmClusters/index.js +21 -0
  366. package/dist/esm/classic/cloudHsmClusters/index.js.map +1 -0
  367. package/dist/esm/classic/dedicatedHsm/index.d.ts +29 -0
  368. package/dist/esm/classic/dedicatedHsm/index.js +18 -0
  369. package/dist/esm/classic/dedicatedHsm/index.js.map +1 -0
  370. package/dist/esm/classic/index.d.ts +9 -0
  371. package/dist/esm/classic/index.js +4 -0
  372. package/dist/esm/classic/index.js.map +1 -0
  373. package/dist/esm/classic/operations/index.d.ts +11 -0
  374. package/dist/esm/classic/operations/index.js +12 -0
  375. package/dist/esm/classic/operations/index.js.map +1 -0
  376. package/dist/esm/classic/privateEndpointConnections/index.d.ts +11 -0
  377. package/dist/esm/classic/privateEndpointConnections/index.js +12 -0
  378. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -0
  379. package/dist/esm/index.d.ts +16 -0
  380. package/dist/esm/index.js +6 -0
  381. package/dist/esm/index.js.map +1 -0
  382. package/dist/esm/logger.d.ts +2 -0
  383. package/dist/esm/logger.js +5 -0
  384. package/dist/esm/logger.js.map +1 -0
  385. package/dist/esm/models/index.d.ts +2 -0
  386. package/dist/esm/models/index.js +4 -0
  387. package/dist/esm/models/index.js.map +1 -0
  388. package/dist/esm/models/models.d.ts +751 -0
  389. package/dist/esm/models/models.js +747 -0
  390. package/dist/esm/models/models.js.map +1 -0
  391. package/dist/esm/package.json +3 -0
  392. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  393. package/dist/esm/restorePollerHelpers.js +133 -0
  394. package/dist/esm/restorePollerHelpers.js.map +1 -0
  395. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  396. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  397. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  398. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  399. package/dist/esm/static-helpers/pollingHelpers.js +76 -0
  400. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  401. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  402. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  403. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  404. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.d.ts +19 -0
  405. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js +36 -0
  406. package/dist/react-native/api/azureDedicatedHSMResourceProviderContext.js.map +1 -0
  407. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.d.ts +3 -0
  408. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js +4 -0
  409. package/dist/react-native/api/cloudHsmClusterBackupStatus/index.js.map +1 -0
  410. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.d.ts +9 -0
  411. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js +42 -0
  412. package/dist/react-native/api/cloudHsmClusterBackupStatus/operations.js.map +1 -0
  413. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.d.ts +7 -0
  414. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js +4 -0
  415. package/dist/react-native/api/cloudHsmClusterBackupStatus/options.js.map +1 -0
  416. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.d.ts +3 -0
  417. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js +4 -0
  418. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  419. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.d.ts +23 -0
  420. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js +109 -0
  421. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/operations.js.map +1 -0
  422. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.d.ts +13 -0
  423. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js +4 -0
  424. package/dist/react-native/api/cloudHsmClusterPrivateEndpointConnections/options.js.map +1 -0
  425. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.d.ts +3 -0
  426. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js +4 -0
  427. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  428. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.d.ts +10 -0
  429. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js +36 -0
  430. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/operations.js.map +1 -0
  431. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.d.ts +5 -0
  432. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js +4 -0
  433. package/dist/react-native/api/cloudHsmClusterPrivateLinkResources/options.js.map +1 -0
  434. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.d.ts +3 -0
  435. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js +4 -0
  436. package/dist/react-native/api/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  437. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.d.ts +9 -0
  438. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js +42 -0
  439. package/dist/react-native/api/cloudHsmClusterRestoreStatus/operations.js.map +1 -0
  440. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.d.ts +7 -0
  441. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js +4 -0
  442. package/dist/react-native/api/cloudHsmClusterRestoreStatus/options.js.map +1 -0
  443. package/dist/react-native/api/cloudHsmClusters/index.d.ts +3 -0
  444. package/dist/react-native/api/cloudHsmClusters/index.js +4 -0
  445. package/dist/react-native/api/cloudHsmClusters/index.js.map +1 -0
  446. package/dist/react-native/api/cloudHsmClusters/operations.d.ts +52 -0
  447. package/dist/react-native/api/cloudHsmClusters/operations.js +324 -0
  448. package/dist/react-native/api/cloudHsmClusters/operations.js.map +1 -0
  449. package/dist/react-native/api/cloudHsmClusters/options.d.ts +57 -0
  450. package/dist/react-native/api/cloudHsmClusters/options.js +4 -0
  451. package/dist/react-native/api/cloudHsmClusters/options.js.map +1 -0
  452. package/dist/react-native/api/dedicatedHsm/index.d.ts +3 -0
  453. package/dist/react-native/api/dedicatedHsm/index.js +4 -0
  454. package/dist/react-native/api/dedicatedHsm/index.js.map +1 -0
  455. package/dist/react-native/api/dedicatedHsm/operations.d.ts +40 -0
  456. package/dist/react-native/api/dedicatedHsm/operations.js +215 -0
  457. package/dist/react-native/api/dedicatedHsm/operations.js.map +1 -0
  458. package/dist/react-native/api/dedicatedHsm/options.d.ts +33 -0
  459. package/dist/react-native/api/dedicatedHsm/options.js +4 -0
  460. package/dist/react-native/api/dedicatedHsm/options.js.map +1 -0
  461. package/dist/react-native/api/index.d.ts +2 -0
  462. package/dist/react-native/api/index.js +4 -0
  463. package/dist/react-native/api/index.js.map +1 -0
  464. package/dist/react-native/api/operations/index.d.ts +3 -0
  465. package/dist/react-native/api/operations/index.js +4 -0
  466. package/dist/react-native/api/operations/index.js.map +1 -0
  467. package/dist/react-native/api/operations/operations.d.ts +10 -0
  468. package/dist/react-native/api/operations/operations.js +29 -0
  469. package/dist/react-native/api/operations/operations.js.map +1 -0
  470. package/dist/react-native/api/operations/options.d.ts +5 -0
  471. package/dist/react-native/api/operations/options.js +4 -0
  472. package/dist/react-native/api/operations/options.js.map +1 -0
  473. package/dist/react-native/api/privateEndpointConnections/index.d.ts +3 -0
  474. package/dist/react-native/api/privateEndpointConnections/index.js +4 -0
  475. package/dist/react-native/api/privateEndpointConnections/index.js.map +1 -0
  476. package/dist/react-native/api/privateEndpointConnections/operations.d.ts +10 -0
  477. package/dist/react-native/api/privateEndpointConnections/operations.js +36 -0
  478. package/dist/react-native/api/privateEndpointConnections/operations.js.map +1 -0
  479. package/dist/react-native/api/privateEndpointConnections/options.d.ts +5 -0
  480. package/dist/react-native/api/privateEndpointConnections/options.js +4 -0
  481. package/dist/react-native/api/privateEndpointConnections/options.js.map +1 -0
  482. package/dist/react-native/azureDedicatedHSMResourceProvider.d.ts +36 -0
  483. package/dist/react-native/azureDedicatedHSMResourceProvider.js +33 -0
  484. package/dist/react-native/azureDedicatedHSMResourceProvider.js.map +1 -0
  485. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.d.ts +10 -0
  486. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js +12 -0
  487. package/dist/react-native/classic/cloudHsmClusterBackupStatus/index.js.map +1 -0
  488. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.d.ts +20 -0
  489. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js +14 -0
  490. package/dist/react-native/classic/cloudHsmClusterPrivateEndpointConnections/index.js.map +1 -0
  491. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.d.ts +11 -0
  492. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js +12 -0
  493. package/dist/react-native/classic/cloudHsmClusterPrivateLinkResources/index.js.map +1 -0
  494. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.d.ts +10 -0
  495. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js +12 -0
  496. package/dist/react-native/classic/cloudHsmClusterRestoreStatus/index.js.map +1 -0
  497. package/dist/react-native/classic/cloudHsmClusters/index.d.ts +35 -0
  498. package/dist/react-native/classic/cloudHsmClusters/index.js +21 -0
  499. package/dist/react-native/classic/cloudHsmClusters/index.js.map +1 -0
  500. package/dist/react-native/classic/dedicatedHsm/index.d.ts +29 -0
  501. package/dist/react-native/classic/dedicatedHsm/index.js +18 -0
  502. package/dist/react-native/classic/dedicatedHsm/index.js.map +1 -0
  503. package/dist/react-native/classic/index.d.ts +9 -0
  504. package/dist/react-native/classic/index.js +4 -0
  505. package/dist/react-native/classic/index.js.map +1 -0
  506. package/dist/react-native/classic/operations/index.d.ts +11 -0
  507. package/dist/react-native/classic/operations/index.js +12 -0
  508. package/dist/react-native/classic/operations/index.js.map +1 -0
  509. package/dist/react-native/classic/privateEndpointConnections/index.d.ts +11 -0
  510. package/dist/react-native/classic/privateEndpointConnections/index.js +12 -0
  511. package/dist/react-native/classic/privateEndpointConnections/index.js.map +1 -0
  512. package/dist/react-native/index.d.ts +16 -0
  513. package/dist/react-native/index.js +6 -0
  514. package/dist/react-native/index.js.map +1 -0
  515. package/dist/react-native/logger.d.ts +2 -0
  516. package/dist/react-native/logger.js +5 -0
  517. package/dist/react-native/logger.js.map +1 -0
  518. package/dist/react-native/models/index.d.ts +2 -0
  519. package/dist/react-native/models/index.js +4 -0
  520. package/dist/react-native/models/index.js.map +1 -0
  521. package/dist/react-native/models/models.d.ts +751 -0
  522. package/dist/react-native/models/models.js +747 -0
  523. package/dist/react-native/models/models.js.map +1 -0
  524. package/dist/react-native/package.json +3 -0
  525. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  526. package/dist/react-native/restorePollerHelpers.js +133 -0
  527. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  528. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  529. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  530. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  531. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  532. package/dist/react-native/static-helpers/pollingHelpers.js +76 -0
  533. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  534. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  535. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  536. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  537. package/package.json +298 -88
  538. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterBackupStatus.api.md +22 -0
  539. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateEndpointConnections.api.md +36 -0
  540. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterPrivateLinkResources.api.md +19 -0
  541. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusterRestoreStatus.api.md +22 -0
  542. package/review/arm-hardwaresecuritymodules-api-cloudHsmClusters.api.md +96 -0
  543. package/review/arm-hardwaresecuritymodules-api-dedicatedHsm.api.md +68 -0
  544. package/review/arm-hardwaresecuritymodules-api-operations.api.md +19 -0
  545. package/review/arm-hardwaresecuritymodules-api-privateEndpointConnections.api.md +19 -0
  546. package/review/arm-hardwaresecuritymodules-api.api.md +27 -0
  547. package/review/arm-hardwaresecuritymodules-models.api.md +471 -0
  548. package/review/arm-hardwaresecuritymodules.api.md +172 -396
  549. package/dist/index.js +0 -4363
  550. package/dist/index.js.map +0 -1
  551. package/dist/index.min.js +0 -1
  552. package/dist/index.min.js.map +0 -1
  553. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts +0 -2
  554. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.d.ts.map +0 -1
  555. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js +0 -40
  556. package/dist-esm/samples-dev/cloudHsmClusterBackupStatusGetSample.js.map +0 -1
  557. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts +0 -2
  558. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.d.ts.map +0 -1
  559. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js +0 -46
  560. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsCreateSample.js.map +0 -1
  561. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts +0 -2
  562. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  563. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js +0 -40
  564. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsDeleteSample.js.map +0 -1
  565. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts +0 -2
  566. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.d.ts.map +0 -1
  567. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js +0 -40
  568. package/dist-esm/samples-dev/cloudHsmClusterPrivateEndpointConnectionsGetSample.js.map +0 -1
  569. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts +0 -2
  570. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.d.ts.map +0 -1
  571. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js +0 -55
  572. package/dist-esm/samples-dev/cloudHsmClusterPrivateLinkResourcesListByCloudHsmClusterSample.js.map +0 -1
  573. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts +0 -2
  574. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.d.ts.map +0 -1
  575. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js +0 -40
  576. package/dist-esm/samples-dev/cloudHsmClusterRestoreStatusGetSample.js.map +0 -1
  577. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts +0 -2
  578. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.d.ts.map +0 -1
  579. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js +0 -39
  580. package/dist-esm/samples-dev/cloudHsmClustersBackupSample.js.map +0 -1
  581. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts +0 -2
  582. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.d.ts.map +0 -1
  583. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js +0 -53
  584. package/dist-esm/samples-dev/cloudHsmClustersCreateOrUpdateSample.js.map +0 -1
  585. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts +0 -2
  586. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.d.ts.map +0 -1
  587. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js +0 -39
  588. package/dist-esm/samples-dev/cloudHsmClustersDeleteSample.js.map +0 -1
  589. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts +0 -2
  590. package/dist-esm/samples-dev/cloudHsmClustersGetSample.d.ts.map +0 -1
  591. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js +0 -39
  592. package/dist-esm/samples-dev/cloudHsmClustersGetSample.js.map +0 -1
  593. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts +0 -2
  594. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.d.ts.map +0 -1
  595. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js +0 -54
  596. package/dist-esm/samples-dev/cloudHsmClustersListByResourceGroupSample.js.map +0 -1
  597. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts +0 -2
  598. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.d.ts.map +0 -1
  599. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js +0 -53
  600. package/dist-esm/samples-dev/cloudHsmClustersListBySubscriptionSample.js.map +0 -1
  601. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts +0 -2
  602. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.d.ts.map +0 -1
  603. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js +0 -43
  604. package/dist-esm/samples-dev/cloudHsmClustersRestoreSample.js.map +0 -1
  605. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts +0 -2
  606. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.d.ts.map +0 -1
  607. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js +0 -47
  608. package/dist-esm/samples-dev/cloudHsmClustersUpdateSample.js.map +0 -1
  609. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts +0 -2
  610. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.d.ts.map +0 -1
  611. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js +0 -39
  612. package/dist-esm/samples-dev/cloudHsmClustersValidateBackupPropertiesSample.js.map +0 -1
  613. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts +0 -2
  614. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.d.ts.map +0 -1
  615. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js +0 -46
  616. package/dist-esm/samples-dev/cloudHsmClustersValidateRestorePropertiesSample.js.map +0 -1
  617. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts +0 -2
  618. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.d.ts.map +0 -1
  619. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js +0 -119
  620. package/dist-esm/samples-dev/dedicatedHsmCreateOrUpdateSample.js.map +0 -1
  621. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts +0 -2
  622. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.d.ts.map +0 -1
  623. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js +0 -39
  624. package/dist-esm/samples-dev/dedicatedHsmDeleteSample.js.map +0 -1
  625. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts +0 -2
  626. package/dist-esm/samples-dev/dedicatedHsmGetSample.d.ts.map +0 -1
  627. package/dist-esm/samples-dev/dedicatedHsmGetSample.js +0 -77
  628. package/dist-esm/samples-dev/dedicatedHsmGetSample.js.map +0 -1
  629. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts +0 -2
  630. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.d.ts.map +0 -1
  631. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js +0 -88
  632. package/dist-esm/samples-dev/dedicatedHsmListByResourceGroupSample.js.map +0 -1
  633. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts +0 -2
  634. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.d.ts.map +0 -1
  635. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js +0 -86
  636. package/dist-esm/samples-dev/dedicatedHsmListBySubscriptionSample.js.map +0 -1
  637. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts +0 -2
  638. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.d.ts.map +0 -1
  639. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js +0 -55
  640. package/dist-esm/samples-dev/dedicatedHsmListOutboundNetworkDependenciesEndpointsSample.js.map +0 -1
  641. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts +0 -2
  642. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.d.ts.map +0 -1
  643. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js +0 -62
  644. package/dist-esm/samples-dev/dedicatedHsmUpdateSample.js.map +0 -1
  645. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  646. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  647. package/dist-esm/samples-dev/operationsListSample.js +0 -86
  648. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  649. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts +0 -2
  650. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.d.ts.map +0 -1
  651. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js +0 -55
  652. package/dist-esm/samples-dev/privateEndpointConnectionsListByCloudHsmClusterSample.js.map +0 -1
  653. package/dist-esm/src/azureHSMResourceProvider.d.ts +0 -27
  654. package/dist-esm/src/azureHSMResourceProvider.d.ts.map +0 -1
  655. package/dist-esm/src/azureHSMResourceProvider.js +0 -109
  656. package/dist-esm/src/azureHSMResourceProvider.js.map +0 -1
  657. package/dist-esm/src/index.d.ts +0 -5
  658. package/dist-esm/src/index.d.ts.map +0 -1
  659. package/dist-esm/src/index.js +0 -13
  660. package/dist-esm/src/index.js.map +0 -1
  661. package/dist-esm/src/lroImpl.d.ts +0 -11
  662. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  663. package/dist-esm/src/lroImpl.js +0 -21
  664. package/dist-esm/src/lroImpl.js.map +0 -1
  665. package/dist-esm/src/models/index.d.ts +0 -1182
  666. package/dist-esm/src/models/index.d.ts.map +0 -1
  667. package/dist-esm/src/models/index.js +0 -188
  668. package/dist-esm/src/models/index.js.map +0 -1
  669. package/dist-esm/src/models/mappers.d.ts +0 -59
  670. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  671. package/dist-esm/src/models/mappers.js +0 -1414
  672. package/dist-esm/src/models/mappers.js.map +0 -1
  673. package/dist-esm/src/models/parameters.d.ts +0 -29
  674. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  675. package/dist-esm/src/models/parameters.js +0 -215
  676. package/dist-esm/src/models/parameters.js.map +0 -1
  677. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts +0 -22
  678. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  679. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js +0 -61
  680. package/dist-esm/src/operations/cloudHsmClusterBackupStatus.js.map +0 -1
  681. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -55
  682. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  683. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js +0 -201
  684. package/dist-esm/src/operations/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  685. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts +0 -41
  686. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
  687. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js +0 -153
  688. package/dist-esm/src/operations/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  689. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts +0 -22
  690. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  691. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js +0 -61
  692. package/dist-esm/src/operations/cloudHsmClusterRestoreStatus.js.map +0 -1
  693. package/dist-esm/src/operations/cloudHsmClusters.d.ts +0 -182
  694. package/dist-esm/src/operations/cloudHsmClusters.d.ts.map +0 -1
  695. package/dist-esm/src/operations/cloudHsmClusters.js +0 -965
  696. package/dist-esm/src/operations/cloudHsmClusters.js.map +0 -1
  697. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts +0 -134
  698. package/dist-esm/src/operations/dedicatedHsmOperations.d.ts.map +0 -1
  699. package/dist-esm/src/operations/dedicatedHsmOperations.js +0 -681
  700. package/dist-esm/src/operations/dedicatedHsmOperations.js.map +0 -1
  701. package/dist-esm/src/operations/index.d.ts +0 -9
  702. package/dist-esm/src/operations/index.d.ts.map +0 -1
  703. package/dist-esm/src/operations/index.js +0 -16
  704. package/dist-esm/src/operations/index.js.map +0 -1
  705. package/dist-esm/src/operations/operations.d.ts +0 -26
  706. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  707. package/dist-esm/src/operations/operations.js +0 -96
  708. package/dist-esm/src/operations/operations.js.map +0 -1
  709. package/dist-esm/src/operations/privateEndpointConnections.d.ts +0 -43
  710. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  711. package/dist-esm/src/operations/privateEndpointConnections.js +0 -155
  712. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  713. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts +0 -14
  714. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.d.ts.map +0 -1
  715. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js +0 -9
  716. package/dist-esm/src/operationsInterfaces/cloudHsmClusterBackupStatus.js.map +0 -1
  717. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts +0 -47
  718. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.d.ts.map +0 -1
  719. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js +0 -9
  720. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.js.map +0 -1
  721. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts +0 -14
  722. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.d.ts.map +0 -1
  723. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js +0 -9
  724. package/dist-esm/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.js.map +0 -1
  725. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts +0 -14
  726. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.d.ts.map +0 -1
  727. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js +0 -9
  728. package/dist-esm/src/operationsInterfaces/cloudHsmClusterRestoreStatus.js.map +0 -1
  729. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts +0 -145
  730. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.d.ts.map +0 -1
  731. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js +0 -9
  732. package/dist-esm/src/operationsInterfaces/cloudHsmClusters.js.map +0 -1
  733. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts +0 -78
  734. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.d.ts.map +0 -1
  735. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js +0 -9
  736. package/dist-esm/src/operationsInterfaces/dedicatedHsmOperations.js.map +0 -1
  737. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  738. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  739. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  740. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  741. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  742. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  743. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  744. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  745. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +0 -15
  746. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  747. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +0 -9
  748. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  749. package/dist-esm/src/pagingHelper.d.ts +0 -13
  750. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  751. package/dist-esm/src/pagingHelper.js +0 -32
  752. package/dist-esm/src/pagingHelper.js.map +0 -1
  753. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts +0 -4
  754. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.d.ts.map +0 -1
  755. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js +0 -77
  756. package/dist-esm/test/hardwaresecuritymodules_operations_test.spec.js.map +0 -1
  757. package/src/azureHSMResourceProvider.ts +0 -179
  758. package/src/index.ts +0 -13
  759. package/src/lroImpl.ts +0 -42
  760. package/src/models/index.ts +0 -1366
  761. package/src/models/mappers.ts +0 -1529
  762. package/src/models/parameters.ts +0 -255
  763. package/src/operations/cloudHsmClusterBackupStatus.ts +0 -82
  764. package/src/operations/cloudHsmClusterPrivateEndpointConnections.ts +0 -281
  765. package/src/operations/cloudHsmClusterPrivateLinkResources.ts +0 -206
  766. package/src/operations/cloudHsmClusterRestoreStatus.ts +0 -82
  767. package/src/operations/cloudHsmClusters.ts +0 -1283
  768. package/src/operations/dedicatedHsmOperations.ts +0 -888
  769. package/src/operations/index.ts +0 -16
  770. package/src/operations/operations.ts +0 -103
  771. package/src/operations/privateEndpointConnections.ts +0 -208
  772. package/src/operationsInterfaces/cloudHsmClusterBackupStatus.ts +0 -30
  773. package/src/operationsInterfaces/cloudHsmClusterPrivateEndpointConnections.ts +0 -89
  774. package/src/operationsInterfaces/cloudHsmClusterPrivateLinkResources.ts +0 -30
  775. package/src/operationsInterfaces/cloudHsmClusterRestoreStatus.ts +0 -30
  776. package/src/operationsInterfaces/cloudHsmClusters.ts +0 -279
  777. package/src/operationsInterfaces/dedicatedHsmOperations.ts +0 -155
  778. package/src/operationsInterfaces/index.ts +0 -16
  779. package/src/operationsInterfaces/operations.ts +0 -22
  780. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -31
  781. package/src/pagingHelper.ts +0 -39
  782. package/tsconfig.json +0 -33
  783. package/types/arm-hardwaresecuritymodules.d.ts +0 -1694
@@ -1,965 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- import { createHttpPoller, } from "@azure/core-lro";
14
- import { createLroSpec } from "../lroImpl";
15
- /// <reference lib="esnext.asynciterable" />
16
- /** Class containing CloudHsmClusters operations. */
17
- export class CloudHsmClustersImpl {
18
- /**
19
- * Initialize a new instance of the class CloudHsmClusters class.
20
- * @param client Reference to the service client
21
- */
22
- constructor(client) {
23
- this.client = client;
24
- }
25
- /**
26
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription
27
- * and within the specified resource group.
28
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
- * @param options The options parameters.
30
- */
31
- listByResourceGroup(resourceGroupName, options) {
32
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
33
- return {
34
- next() {
35
- return iter.next();
36
- },
37
- [Symbol.asyncIterator]() {
38
- return this;
39
- },
40
- byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
42
- throw new Error("maxPageSize is not supported by this operation.");
43
- }
44
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
- },
46
- };
47
- }
48
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
67
- }
68
- listByResourceGroupPagingAll(resourceGroupName, options) {
69
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
- }
78
- }
79
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
- finally {
81
- try {
82
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
87
- }
88
- /**
89
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
90
- * @param options The options parameters.
91
- */
92
- listBySubscription(options) {
93
- const iter = this.listBySubscriptionPagingAll(options);
94
- return {
95
- next() {
96
- return iter.next();
97
- },
98
- [Symbol.asyncIterator]() {
99
- return this;
100
- },
101
- byPage: (settings) => {
102
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
103
- throw new Error("maxPageSize is not supported by this operation.");
104
- }
105
- return this.listBySubscriptionPagingPage(options, settings);
106
- },
107
- };
108
- }
109
- listBySubscriptionPagingPage(options, settings) {
110
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
111
- let result;
112
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
- if (!continuationToken) {
114
- result = yield __await(this._listBySubscription(options));
115
- let page = result.value || [];
116
- continuationToken = result.nextLink;
117
- setContinuationToken(page, continuationToken);
118
- yield yield __await(page);
119
- }
120
- while (continuationToken) {
121
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
122
- continuationToken = result.nextLink;
123
- let page = result.value || [];
124
- setContinuationToken(page, continuationToken);
125
- yield yield __await(page);
126
- }
127
- });
128
- }
129
- listBySubscriptionPagingAll(options) {
130
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
131
- var _a, e_2, _b, _c;
132
- try {
133
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
134
- _c = _f.value;
135
- _d = false;
136
- const page = _c;
137
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
138
- }
139
- }
140
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
- finally {
142
- try {
143
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
144
- }
145
- finally { if (e_2) throw e_2.error; }
146
- }
147
- });
148
- }
149
- /**
150
- * Create or Update a Cloud HSM Cluster in the specified subscription.
151
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
152
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
153
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
154
- * @param location The geo-location where the resource lives
155
- * @param options The options parameters.
156
- */
157
- beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options) {
158
- return __awaiter(this, void 0, void 0, function* () {
159
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
160
- return this.client.sendOperationRequest(args, spec);
161
- });
162
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
163
- var _a;
164
- let currentRawResponse = undefined;
165
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
166
- const callback = (rawResponse, flatResponse) => {
167
- currentRawResponse = rawResponse;
168
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
169
- };
170
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
171
- const flatResponse = yield directSendOperation(updatedArgs, spec);
172
- return {
173
- flatResponse,
174
- rawResponse: {
175
- statusCode: currentRawResponse.status,
176
- body: currentRawResponse.parsedBody,
177
- headers: currentRawResponse.headers.toJSON(),
178
- },
179
- };
180
- });
181
- const lro = createLroSpec({
182
- sendOperationFn,
183
- args: { resourceGroupName, cloudHsmClusterName, location, options },
184
- spec: createOrUpdateOperationSpec,
185
- });
186
- const poller = yield createHttpPoller(lro, {
187
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
188
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
189
- resourceLocationConfig: "original-uri",
190
- });
191
- yield poller.poll();
192
- return poller;
193
- });
194
- }
195
- /**
196
- * Create or Update a Cloud HSM Cluster in the specified subscription.
197
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
198
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
199
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
200
- * @param location The geo-location where the resource lives
201
- * @param options The options parameters.
202
- */
203
- beginCreateOrUpdateAndWait(resourceGroupName, cloudHsmClusterName, location, options) {
204
- return __awaiter(this, void 0, void 0, function* () {
205
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudHsmClusterName, location, options);
206
- return poller.pollUntilDone();
207
- });
208
- }
209
- /**
210
- * Update a Cloud HSM Cluster in the specified subscription.
211
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
212
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
213
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
214
- * @param options The options parameters.
215
- */
216
- beginUpdate(resourceGroupName, cloudHsmClusterName, options) {
217
- return __awaiter(this, void 0, void 0, function* () {
218
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
219
- return this.client.sendOperationRequest(args, spec);
220
- });
221
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
222
- var _a;
223
- let currentRawResponse = undefined;
224
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
225
- const callback = (rawResponse, flatResponse) => {
226
- currentRawResponse = rawResponse;
227
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
228
- };
229
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
230
- const flatResponse = yield directSendOperation(updatedArgs, spec);
231
- return {
232
- flatResponse,
233
- rawResponse: {
234
- statusCode: currentRawResponse.status,
235
- body: currentRawResponse.parsedBody,
236
- headers: currentRawResponse.headers.toJSON(),
237
- },
238
- };
239
- });
240
- const lro = createLroSpec({
241
- sendOperationFn,
242
- args: { resourceGroupName, cloudHsmClusterName, options },
243
- spec: updateOperationSpec,
244
- });
245
- const poller = yield createHttpPoller(lro, {
246
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
247
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
248
- resourceLocationConfig: "location",
249
- });
250
- yield poller.poll();
251
- return poller;
252
- });
253
- }
254
- /**
255
- * Update a Cloud HSM Cluster in the specified subscription.
256
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
257
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
258
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
259
- * @param options The options parameters.
260
- */
261
- beginUpdateAndWait(resourceGroupName, cloudHsmClusterName, options) {
262
- return __awaiter(this, void 0, void 0, function* () {
263
- const poller = yield this.beginUpdate(resourceGroupName, cloudHsmClusterName, options);
264
- return poller.pollUntilDone();
265
- });
266
- }
267
- /**
268
- * Gets the specified Cloud HSM Cluster
269
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
270
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
271
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
272
- * @param options The options parameters.
273
- */
274
- get(resourceGroupName, cloudHsmClusterName, options) {
275
- return this.client.sendOperationRequest({ resourceGroupName, cloudHsmClusterName, options }, getOperationSpec);
276
- }
277
- /**
278
- * Deletes the specified Cloud HSM Cluster
279
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
280
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
281
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
282
- * @param options The options parameters.
283
- */
284
- beginDelete(resourceGroupName, cloudHsmClusterName, options) {
285
- return __awaiter(this, void 0, void 0, function* () {
286
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
287
- return this.client.sendOperationRequest(args, spec);
288
- });
289
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
290
- var _a;
291
- let currentRawResponse = undefined;
292
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
293
- const callback = (rawResponse, flatResponse) => {
294
- currentRawResponse = rawResponse;
295
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
296
- };
297
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
298
- const flatResponse = yield directSendOperation(updatedArgs, spec);
299
- return {
300
- flatResponse,
301
- rawResponse: {
302
- statusCode: currentRawResponse.status,
303
- body: currentRawResponse.parsedBody,
304
- headers: currentRawResponse.headers.toJSON(),
305
- },
306
- };
307
- });
308
- const lro = createLroSpec({
309
- sendOperationFn,
310
- args: { resourceGroupName, cloudHsmClusterName, options },
311
- spec: deleteOperationSpec,
312
- });
313
- const poller = yield createHttpPoller(lro, {
314
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
315
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
316
- resourceLocationConfig: "location",
317
- });
318
- yield poller.poll();
319
- return poller;
320
- });
321
- }
322
- /**
323
- * Deletes the specified Cloud HSM Cluster
324
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
325
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
326
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
327
- * @param options The options parameters.
328
- */
329
- beginDeleteAndWait(resourceGroupName, cloudHsmClusterName, options) {
330
- return __awaiter(this, void 0, void 0, function* () {
331
- const poller = yield this.beginDelete(resourceGroupName, cloudHsmClusterName, options);
332
- return poller.pollUntilDone();
333
- });
334
- }
335
- /**
336
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription
337
- * and within the specified resource group.
338
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
339
- * @param options The options parameters.
340
- */
341
- _listByResourceGroup(resourceGroupName, options) {
342
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
343
- }
344
- /**
345
- * The List operation gets information about the Cloud HSM Clusters associated with the subscription.
346
- * @param options The options parameters.
347
- */
348
- _listBySubscription(options) {
349
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
350
- }
351
- /**
352
- * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
353
- * resource in the specified subscription.
354
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
355
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
356
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
357
- * @param options The options parameters.
358
- */
359
- beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options) {
360
- return __awaiter(this, void 0, void 0, function* () {
361
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
362
- return this.client.sendOperationRequest(args, spec);
363
- });
364
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
365
- var _a;
366
- let currentRawResponse = undefined;
367
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
368
- const callback = (rawResponse, flatResponse) => {
369
- currentRawResponse = rawResponse;
370
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
371
- };
372
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
373
- const flatResponse = yield directSendOperation(updatedArgs, spec);
374
- return {
375
- flatResponse,
376
- rawResponse: {
377
- statusCode: currentRawResponse.status,
378
- body: currentRawResponse.parsedBody,
379
- headers: currentRawResponse.headers.toJSON(),
380
- },
381
- };
382
- });
383
- const lro = createLroSpec({
384
- sendOperationFn,
385
- args: { resourceGroupName, cloudHsmClusterName, options },
386
- spec: validateBackupPropertiesOperationSpec,
387
- });
388
- const poller = yield createHttpPoller(lro, {
389
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
390
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
391
- resourceLocationConfig: "azure-async-operation",
392
- });
393
- yield poller.poll();
394
- return poller;
395
- });
396
- }
397
- /**
398
- * Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster
399
- * resource in the specified subscription.
400
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
401
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
402
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
403
- * @param options The options parameters.
404
- */
405
- beginValidateBackupPropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
406
- return __awaiter(this, void 0, void 0, function* () {
407
- const poller = yield this.beginValidateBackupProperties(resourceGroupName, cloudHsmClusterName, options);
408
- return poller.pollUntilDone();
409
- });
410
- }
411
- /**
412
- * Create a backup of the Cloud HSM Cluster in the specified subscription
413
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
414
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
415
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
416
- * @param options The options parameters.
417
- */
418
- beginBackup(resourceGroupName, cloudHsmClusterName, options) {
419
- return __awaiter(this, void 0, void 0, function* () {
420
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
421
- return this.client.sendOperationRequest(args, spec);
422
- });
423
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
424
- var _a;
425
- let currentRawResponse = undefined;
426
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
427
- const callback = (rawResponse, flatResponse) => {
428
- currentRawResponse = rawResponse;
429
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
430
- };
431
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
432
- const flatResponse = yield directSendOperation(updatedArgs, spec);
433
- return {
434
- flatResponse,
435
- rawResponse: {
436
- statusCode: currentRawResponse.status,
437
- body: currentRawResponse.parsedBody,
438
- headers: currentRawResponse.headers.toJSON(),
439
- },
440
- };
441
- });
442
- const lro = createLroSpec({
443
- sendOperationFn,
444
- args: { resourceGroupName, cloudHsmClusterName, options },
445
- spec: backupOperationSpec,
446
- });
447
- const poller = yield createHttpPoller(lro, {
448
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
449
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
450
- resourceLocationConfig: "azure-async-operation",
451
- });
452
- yield poller.poll();
453
- return poller;
454
- });
455
- }
456
- /**
457
- * Create a backup of the Cloud HSM Cluster in the specified subscription
458
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
459
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
460
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
461
- * @param options The options parameters.
462
- */
463
- beginBackupAndWait(resourceGroupName, cloudHsmClusterName, options) {
464
- return __awaiter(this, void 0, void 0, function* () {
465
- const poller = yield this.beginBackup(resourceGroupName, cloudHsmClusterName, options);
466
- return poller.pollUntilDone();
467
- });
468
- }
469
- /**
470
- * Queued validating pre restore operation
471
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
472
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
473
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
474
- * @param options The options parameters.
475
- */
476
- beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options) {
477
- return __awaiter(this, void 0, void 0, function* () {
478
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
479
- return this.client.sendOperationRequest(args, spec);
480
- });
481
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
482
- var _a;
483
- let currentRawResponse = undefined;
484
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
485
- const callback = (rawResponse, flatResponse) => {
486
- currentRawResponse = rawResponse;
487
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
488
- };
489
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
490
- const flatResponse = yield directSendOperation(updatedArgs, spec);
491
- return {
492
- flatResponse,
493
- rawResponse: {
494
- statusCode: currentRawResponse.status,
495
- body: currentRawResponse.parsedBody,
496
- headers: currentRawResponse.headers.toJSON(),
497
- },
498
- };
499
- });
500
- const lro = createLroSpec({
501
- sendOperationFn,
502
- args: { resourceGroupName, cloudHsmClusterName, options },
503
- spec: validateRestorePropertiesOperationSpec,
504
- });
505
- const poller = yield createHttpPoller(lro, {
506
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
507
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
508
- resourceLocationConfig: "azure-async-operation",
509
- });
510
- yield poller.poll();
511
- return poller;
512
- });
513
- }
514
- /**
515
- * Queued validating pre restore operation
516
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
517
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
518
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
519
- * @param options The options parameters.
520
- */
521
- beginValidateRestorePropertiesAndWait(resourceGroupName, cloudHsmClusterName, options) {
522
- return __awaiter(this, void 0, void 0, function* () {
523
- const poller = yield this.beginValidateRestoreProperties(resourceGroupName, cloudHsmClusterName, options);
524
- return poller.pollUntilDone();
525
- });
526
- }
527
- /**
528
- * Restores all key materials of a specified Cloud HSM Cluster
529
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
530
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
531
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
532
- * @param restoreRequestProperties Restore Operation Required properties
533
- * @param options The options parameters.
534
- */
535
- beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
536
- return __awaiter(this, void 0, void 0, function* () {
537
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
538
- return this.client.sendOperationRequest(args, spec);
539
- });
540
- const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
541
- var _a;
542
- let currentRawResponse = undefined;
543
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
544
- const callback = (rawResponse, flatResponse) => {
545
- currentRawResponse = rawResponse;
546
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
547
- };
548
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
549
- const flatResponse = yield directSendOperation(updatedArgs, spec);
550
- return {
551
- flatResponse,
552
- rawResponse: {
553
- statusCode: currentRawResponse.status,
554
- body: currentRawResponse.parsedBody,
555
- headers: currentRawResponse.headers.toJSON(),
556
- },
557
- };
558
- });
559
- const lro = createLroSpec({
560
- sendOperationFn,
561
- args: {
562
- resourceGroupName,
563
- cloudHsmClusterName,
564
- restoreRequestProperties,
565
- options,
566
- },
567
- spec: restoreOperationSpec,
568
- });
569
- const poller = yield createHttpPoller(lro, {
570
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
571
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
572
- resourceLocationConfig: "azure-async-operation",
573
- });
574
- yield poller.poll();
575
- return poller;
576
- });
577
- }
578
- /**
579
- * Restores all key materials of a specified Cloud HSM Cluster
580
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
581
- * @param cloudHsmClusterName The name of the Cloud HSM Cluster within the specified resource group.
582
- * Cloud HSM Cluster names must be between 3 and 23 characters in length.
583
- * @param restoreRequestProperties Restore Operation Required properties
584
- * @param options The options parameters.
585
- */
586
- beginRestoreAndWait(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options) {
587
- return __awaiter(this, void 0, void 0, function* () {
588
- const poller = yield this.beginRestore(resourceGroupName, cloudHsmClusterName, restoreRequestProperties, options);
589
- return poller.pollUntilDone();
590
- });
591
- }
592
- /**
593
- * ListByResourceGroupNext
594
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
595
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
596
- * @param options The options parameters.
597
- */
598
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
599
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
600
- }
601
- /**
602
- * ListBySubscriptionNext
603
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
604
- * @param options The options parameters.
605
- */
606
- _listBySubscriptionNext(nextLink, options) {
607
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
608
- }
609
- }
610
- // Operation Specifications
611
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
612
- const createOrUpdateOperationSpec = {
613
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
614
- httpMethod: "PUT",
615
- responses: {
616
- 200: {
617
- bodyMapper: Mappers.CloudHsmCluster,
618
- },
619
- 201: {
620
- bodyMapper: Mappers.CloudHsmCluster,
621
- },
622
- 202: {
623
- bodyMapper: Mappers.CloudHsmCluster,
624
- },
625
- 204: {
626
- bodyMapper: Mappers.CloudHsmCluster,
627
- },
628
- default: {
629
- bodyMapper: Mappers.ErrorResponse,
630
- },
631
- },
632
- requestBody: {
633
- parameterPath: {
634
- tags: ["options", "tags"],
635
- location: ["location"],
636
- identity: ["options", "identity"],
637
- sku: ["options", "sku"],
638
- autoGeneratedDomainNameLabelScope: [
639
- "options",
640
- "autoGeneratedDomainNameLabelScope",
641
- ],
642
- publicNetworkAccess: ["options", "publicNetworkAccess"],
643
- },
644
- mapper: Object.assign(Object.assign({}, Mappers.CloudHsmCluster), { required: true }),
645
- },
646
- queryParameters: [Parameters.apiVersion],
647
- urlParameters: [
648
- Parameters.$host,
649
- Parameters.subscriptionId,
650
- Parameters.resourceGroupName,
651
- Parameters.cloudHsmClusterName,
652
- ],
653
- headerParameters: [Parameters.contentType, Parameters.accept],
654
- mediaType: "json",
655
- serializer,
656
- };
657
- const updateOperationSpec = {
658
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
659
- httpMethod: "PATCH",
660
- responses: {
661
- 200: {
662
- bodyMapper: Mappers.CloudHsmCluster,
663
- },
664
- 201: {
665
- bodyMapper: Mappers.CloudHsmCluster,
666
- },
667
- 202: {
668
- bodyMapper: Mappers.CloudHsmCluster,
669
- },
670
- 204: {
671
- bodyMapper: Mappers.CloudHsmCluster,
672
- },
673
- default: {
674
- bodyMapper: Mappers.ErrorResponse,
675
- },
676
- },
677
- requestBody: {
678
- parameterPath: {
679
- tags: ["options", "tags"],
680
- identity: ["options", "identity"],
681
- },
682
- mapper: Object.assign(Object.assign({}, Mappers.CloudHsmClusterPatchParameters), { required: true }),
683
- },
684
- queryParameters: [Parameters.apiVersion],
685
- urlParameters: [
686
- Parameters.$host,
687
- Parameters.subscriptionId,
688
- Parameters.resourceGroupName,
689
- Parameters.cloudHsmClusterName,
690
- ],
691
- headerParameters: [Parameters.contentType, Parameters.accept],
692
- mediaType: "json",
693
- serializer,
694
- };
695
- const getOperationSpec = {
696
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
697
- httpMethod: "GET",
698
- responses: {
699
- 200: {
700
- bodyMapper: Mappers.CloudHsmCluster,
701
- },
702
- default: {
703
- bodyMapper: Mappers.ErrorResponse,
704
- },
705
- },
706
- queryParameters: [Parameters.apiVersion],
707
- urlParameters: [
708
- Parameters.$host,
709
- Parameters.subscriptionId,
710
- Parameters.resourceGroupName,
711
- Parameters.cloudHsmClusterName,
712
- ],
713
- headerParameters: [Parameters.accept],
714
- serializer,
715
- };
716
- const deleteOperationSpec = {
717
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}",
718
- httpMethod: "DELETE",
719
- responses: {
720
- 200: {
721
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
722
- },
723
- 201: {
724
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
725
- },
726
- 202: {
727
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
728
- },
729
- 204: {
730
- headersMapper: Mappers.CloudHsmClustersDeleteHeaders,
731
- },
732
- default: {
733
- bodyMapper: Mappers.ErrorResponse,
734
- },
735
- },
736
- queryParameters: [Parameters.apiVersion],
737
- urlParameters: [
738
- Parameters.$host,
739
- Parameters.subscriptionId,
740
- Parameters.resourceGroupName,
741
- Parameters.cloudHsmClusterName,
742
- ],
743
- headerParameters: [Parameters.accept],
744
- serializer,
745
- };
746
- const listByResourceGroupOperationSpec = {
747
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
748
- httpMethod: "GET",
749
- responses: {
750
- 200: {
751
- bodyMapper: Mappers.CloudHsmClusterListResult,
752
- },
753
- default: {
754
- bodyMapper: Mappers.ErrorResponse,
755
- },
756
- },
757
- queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
758
- urlParameters: [
759
- Parameters.$host,
760
- Parameters.subscriptionId,
761
- Parameters.resourceGroupName,
762
- ],
763
- headerParameters: [Parameters.accept],
764
- serializer,
765
- };
766
- const listBySubscriptionOperationSpec = {
767
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters",
768
- httpMethod: "GET",
769
- responses: {
770
- 200: {
771
- bodyMapper: Mappers.CloudHsmClusterListResult,
772
- },
773
- default: {
774
- bodyMapper: Mappers.ErrorResponse,
775
- },
776
- },
777
- queryParameters: [Parameters.apiVersion, Parameters.skiptoken],
778
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
779
- headerParameters: [Parameters.accept],
780
- serializer,
781
- };
782
- const validateBackupPropertiesOperationSpec = {
783
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateBackupProperties",
784
- httpMethod: "POST",
785
- responses: {
786
- 200: {
787
- bodyMapper: Mappers.BackupResult,
788
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
789
- },
790
- 201: {
791
- bodyMapper: Mappers.BackupResult,
792
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
793
- },
794
- 202: {
795
- bodyMapper: Mappers.BackupResult,
796
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
797
- },
798
- 204: {
799
- bodyMapper: Mappers.BackupResult,
800
- headersMapper: Mappers.CloudHsmClustersValidateBackupPropertiesHeaders,
801
- },
802
- default: {
803
- bodyMapper: Mappers.ErrorResponse,
804
- },
805
- },
806
- requestBody: Parameters.backupRequestProperties,
807
- queryParameters: [Parameters.apiVersion],
808
- urlParameters: [
809
- Parameters.$host,
810
- Parameters.subscriptionId,
811
- Parameters.resourceGroupName,
812
- Parameters.cloudHsmClusterName,
813
- ],
814
- headerParameters: [Parameters.contentType, Parameters.accept],
815
- mediaType: "json",
816
- serializer,
817
- };
818
- const backupOperationSpec = {
819
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/backup",
820
- httpMethod: "POST",
821
- responses: {
822
- 200: {
823
- bodyMapper: Mappers.BackupResult,
824
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
825
- },
826
- 201: {
827
- bodyMapper: Mappers.BackupResult,
828
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
829
- },
830
- 202: {
831
- bodyMapper: Mappers.BackupResult,
832
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
833
- },
834
- 204: {
835
- bodyMapper: Mappers.BackupResult,
836
- headersMapper: Mappers.CloudHsmClustersBackupHeaders,
837
- },
838
- default: {
839
- bodyMapper: Mappers.ErrorResponse,
840
- },
841
- },
842
- requestBody: Parameters.backupRequestProperties,
843
- queryParameters: [Parameters.apiVersion],
844
- urlParameters: [
845
- Parameters.$host,
846
- Parameters.subscriptionId,
847
- Parameters.resourceGroupName,
848
- Parameters.cloudHsmClusterName,
849
- ],
850
- headerParameters: [Parameters.contentType, Parameters.accept],
851
- mediaType: "json",
852
- serializer,
853
- };
854
- const validateRestorePropertiesOperationSpec = {
855
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/validateRestoreProperties",
856
- httpMethod: "POST",
857
- responses: {
858
- 200: {
859
- bodyMapper: Mappers.RestoreResult,
860
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
861
- },
862
- 201: {
863
- bodyMapper: Mappers.RestoreResult,
864
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
865
- },
866
- 202: {
867
- bodyMapper: Mappers.RestoreResult,
868
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
869
- },
870
- 204: {
871
- bodyMapper: Mappers.RestoreResult,
872
- headersMapper: Mappers.CloudHsmClustersValidateRestorePropertiesHeaders,
873
- },
874
- default: {
875
- bodyMapper: Mappers.ErrorResponse,
876
- },
877
- },
878
- requestBody: Parameters.restoreRequestProperties,
879
- queryParameters: [Parameters.apiVersion],
880
- urlParameters: [
881
- Parameters.$host,
882
- Parameters.subscriptionId,
883
- Parameters.resourceGroupName,
884
- Parameters.cloudHsmClusterName,
885
- ],
886
- headerParameters: [Parameters.contentType, Parameters.accept],
887
- mediaType: "json",
888
- serializer,
889
- };
890
- const restoreOperationSpec = {
891
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}/restore",
892
- httpMethod: "POST",
893
- responses: {
894
- 200: {
895
- bodyMapper: Mappers.RestoreResult,
896
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
897
- },
898
- 201: {
899
- bodyMapper: Mappers.RestoreResult,
900
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
901
- },
902
- 202: {
903
- bodyMapper: Mappers.RestoreResult,
904
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
905
- },
906
- 204: {
907
- bodyMapper: Mappers.RestoreResult,
908
- headersMapper: Mappers.CloudHsmClustersRestoreHeaders,
909
- },
910
- default: {
911
- bodyMapper: Mappers.ErrorResponse,
912
- },
913
- },
914
- requestBody: Parameters.restoreRequestProperties1,
915
- queryParameters: [Parameters.apiVersion],
916
- urlParameters: [
917
- Parameters.$host,
918
- Parameters.subscriptionId,
919
- Parameters.resourceGroupName,
920
- Parameters.cloudHsmClusterName,
921
- ],
922
- headerParameters: [Parameters.contentType, Parameters.accept],
923
- mediaType: "json",
924
- serializer,
925
- };
926
- const listByResourceGroupNextOperationSpec = {
927
- path: "{nextLink}",
928
- httpMethod: "GET",
929
- responses: {
930
- 200: {
931
- bodyMapper: Mappers.CloudHsmClusterListResult,
932
- },
933
- default: {
934
- bodyMapper: Mappers.ErrorResponse,
935
- },
936
- },
937
- urlParameters: [
938
- Parameters.$host,
939
- Parameters.subscriptionId,
940
- Parameters.resourceGroupName,
941
- Parameters.nextLink,
942
- ],
943
- headerParameters: [Parameters.accept],
944
- serializer,
945
- };
946
- const listBySubscriptionNextOperationSpec = {
947
- path: "{nextLink}",
948
- httpMethod: "GET",
949
- responses: {
950
- 200: {
951
- bodyMapper: Mappers.CloudHsmClusterListResult,
952
- },
953
- default: {
954
- bodyMapper: Mappers.ErrorResponse,
955
- },
956
- },
957
- urlParameters: [
958
- Parameters.$host,
959
- Parameters.subscriptionId,
960
- Parameters.nextLink,
961
- ],
962
- headerParameters: [Parameters.accept],
963
- serializer,
964
- };
965
- //# sourceMappingURL=cloudHsmClusters.js.map