@azure/arm-iotfirmwaredefense 1.0.0-alpha.20240312.1 → 1.0.0-alpha.20240322.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/CHANGELOG.md +2 -12
  2. package/LICENSE +1 -1
  3. package/README.md +2 -2
  4. package/dist/index.js +2254 -2121
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/{firmwareListGenerateCryptoKeyListSample.js → binaryHardeningListByFirmwareSample.js} +19 -20
  11. package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.js.map +1 -0
  12. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/{firmwareListGenerateComponentListSample.js → cryptoCertificatesListByFirmwareSample.js} +21 -23
  15. package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.js.map +1 -0
  16. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/{firmwareListGenerateCryptoCertificateListSample.js → cryptoKeysListByFirmwareSample.js} +19 -20
  19. package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.js.map +1 -0
  20. package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/{firmwareListGenerateCveListSample.js → cvesListByFirmwareSample.js} +21 -23
  23. package/dist-esm/samples-dev/cvesListByFirmwareSample.js.map +1 -0
  24. package/dist-esm/samples-dev/firmwaresCreateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/firmwaresCreateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/{firmwareCreateSample.js → firmwaresCreateSample.js} +20 -18
  27. package/dist-esm/samples-dev/firmwaresCreateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/{firmwareDeleteSample.js → firmwaresDeleteSample.js} +9 -9
  31. package/dist-esm/samples-dev/firmwaresDeleteSample.js.map +1 -0
  32. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/{firmwareGenerateDownloadUrlSample.js → firmwaresGenerateDownloadUrlSample.js} +9 -9
  35. package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.js.map +1 -0
  36. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/{firmwareGenerateFilesystemDownloadUrlSample.js → firmwaresGenerateFilesystemDownloadUrlSample.js} +9 -9
  39. package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.js.map +1 -0
  40. package/dist-esm/samples-dev/firmwaresGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/firmwaresGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/{firmwareGetSample.js → firmwaresGetSample.js} +9 -9
  43. package/dist-esm/samples-dev/firmwaresGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/{firmwareListByWorkspaceSample.js → firmwaresListByWorkspaceSample.js} +9 -9
  47. package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.js.map +1 -0
  48. package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/{firmwareUpdateSample.js → firmwaresUpdateSample.js} +20 -18
  51. package/dist-esm/samples-dev/firmwaresUpdateSample.js.map +1 -0
  52. package/dist-esm/samples-dev/operationsListSample.js +2 -2
  53. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js +92 -0
  56. package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js.map +1 -0
  57. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js +92 -0
  60. package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js.map +1 -0
  61. package/dist-esm/samples-dev/summariesGetSample.d.ts +2 -0
  62. package/dist-esm/samples-dev/summariesGetSample.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/{firmwareGenerateSummarySample.js → summariesGetSample.js} +23 -23
  64. package/dist-esm/samples-dev/summariesGetSample.js.map +1 -0
  65. package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts +2 -0
  66. package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/{firmwareListGenerateBinaryHardeningListSample.js → summariesListByFirmwareSample.js} +21 -23
  68. package/dist-esm/samples-dev/summariesListByFirmwareSample.js.map +1 -0
  69. package/dist-esm/samples-dev/workspacesCreateSample.js +5 -4
  70. package/dist-esm/samples-dev/workspacesCreateSample.js.map +1 -1
  71. package/dist-esm/samples-dev/workspacesDeleteSample.js +2 -2
  72. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +4 -4
  73. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +1 -1
  74. package/dist-esm/samples-dev/workspacesGetSample.js +2 -2
  75. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +2 -2
  76. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +2 -2
  77. package/dist-esm/samples-dev/workspacesUpdateSample.js +4 -4
  78. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
  79. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts +11 -4
  80. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +1 -1
  81. package/dist-esm/src/ioTFirmwareDefenseClient.js +19 -12
  82. package/dist-esm/src/ioTFirmwareDefenseClient.js.map +1 -1
  83. package/dist-esm/src/models/index.d.ts +516 -602
  84. package/dist-esm/src/models/index.d.ts.map +1 -1
  85. package/dist-esm/src/models/index.js +40 -92
  86. package/dist-esm/src/models/index.js.map +1 -1
  87. package/dist-esm/src/models/mappers.d.ts +45 -25
  88. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  89. package/dist-esm/src/models/mappers.js +1120 -1036
  90. package/dist-esm/src/models/mappers.js.map +1 -1
  91. package/dist-esm/src/models/parameters.d.ts +3 -2
  92. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  93. package/dist-esm/src/models/parameters.js +56 -49
  94. package/dist-esm/src/models/parameters.js.map +1 -1
  95. package/dist-esm/src/operations/binaryHardening.d.ts +41 -0
  96. package/dist-esm/src/operations/binaryHardening.d.ts.map +1 -0
  97. package/dist-esm/src/operations/binaryHardening.js +155 -0
  98. package/dist-esm/src/operations/binaryHardening.js.map +1 -0
  99. package/dist-esm/src/operations/cryptoCertificates.d.ts +41 -0
  100. package/dist-esm/src/operations/cryptoCertificates.d.ts.map +1 -0
  101. package/dist-esm/src/operations/cryptoCertificates.js +155 -0
  102. package/dist-esm/src/operations/cryptoCertificates.js.map +1 -0
  103. package/dist-esm/src/operations/cryptoKeys.d.ts +41 -0
  104. package/dist-esm/src/operations/cryptoKeys.d.ts.map +1 -0
  105. package/dist-esm/src/operations/cryptoKeys.js +155 -0
  106. package/dist-esm/src/operations/cryptoKeys.js.map +1 -0
  107. package/dist-esm/src/operations/cves.d.ts +41 -0
  108. package/dist-esm/src/operations/cves.d.ts.map +1 -0
  109. package/dist-esm/src/operations/cves.js +155 -0
  110. package/dist-esm/src/operations/cves.js.map +1 -0
  111. package/dist-esm/src/operations/firmwares.d.ts +88 -0
  112. package/dist-esm/src/operations/firmwares.d.ts.map +1 -0
  113. package/dist-esm/src/operations/firmwares.js +350 -0
  114. package/dist-esm/src/operations/firmwares.js.map +1 -0
  115. package/dist-esm/src/operations/index.d.ts +9 -2
  116. package/dist-esm/src/operations/index.d.ts.map +1 -1
  117. package/dist-esm/src/operations/index.js +9 -2
  118. package/dist-esm/src/operations/index.js.map +1 -1
  119. package/dist-esm/src/operations/operations.js +9 -9
  120. package/dist-esm/src/operations/passwordHashes.d.ts +41 -0
  121. package/dist-esm/src/operations/passwordHashes.d.ts.map +1 -0
  122. package/dist-esm/src/operations/passwordHashes.js +155 -0
  123. package/dist-esm/src/operations/passwordHashes.js.map +1 -0
  124. package/dist-esm/src/operations/sbomComponents.d.ts +41 -0
  125. package/dist-esm/src/operations/sbomComponents.d.ts.map +1 -0
  126. package/dist-esm/src/operations/sbomComponents.js +155 -0
  127. package/dist-esm/src/operations/sbomComponents.js.map +1 -0
  128. package/dist-esm/src/operations/summaries.d.ts +52 -0
  129. package/dist-esm/src/operations/summaries.d.ts.map +1 -0
  130. package/dist-esm/src/operations/summaries.js +191 -0
  131. package/dist-esm/src/operations/summaries.js.map +1 -0
  132. package/dist-esm/src/operations/workspaces.js +46 -50
  133. package/dist-esm/src/operations/workspaces.js.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts +14 -0
  135. package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/{firmwareOperations.js → binaryHardening.js} +1 -1
  137. package/dist-esm/src/operationsInterfaces/binaryHardening.js.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts +14 -0
  139. package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/cryptoCertificates.js +9 -0
  141. package/dist-esm/src/operationsInterfaces/cryptoCertificates.js.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts +14 -0
  143. package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/cryptoKeys.js +9 -0
  145. package/dist-esm/src/operationsInterfaces/cryptoKeys.js.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/cves.d.ts +14 -0
  147. package/dist-esm/src/operationsInterfaces/cves.d.ts.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/cves.js +9 -0
  149. package/dist-esm/src/operationsInterfaces/cves.js.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/firmwares.d.ts +63 -0
  151. package/dist-esm/src/operationsInterfaces/firmwares.d.ts.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/firmwares.js +9 -0
  153. package/dist-esm/src/operationsInterfaces/firmwares.js.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/index.d.ts +9 -2
  155. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  156. package/dist-esm/src/operationsInterfaces/index.js +9 -2
  157. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  158. package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts +14 -0
  159. package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/passwordHashes.js +9 -0
  161. package/dist-esm/src/operationsInterfaces/passwordHashes.js.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts +14 -0
  163. package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/sbomComponents.js +9 -0
  165. package/dist-esm/src/operationsInterfaces/sbomComponents.js.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/summaries.d.ts +24 -0
  167. package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
  169. package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
  170. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +1 -1
  171. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -1
  172. package/package.json +8 -8
  173. package/review/arm-iotfirmwaredefense.api.md +329 -330
  174. package/src/ioTFirmwareDefenseClient.ts +53 -24
  175. package/src/models/index.ts +566 -646
  176. package/src/models/mappers.ts +1190 -1036
  177. package/src/models/parameters.ts +59 -51
  178. package/src/operations/binaryHardening.ts +216 -0
  179. package/src/operations/cryptoCertificates.ts +216 -0
  180. package/src/operations/cryptoKeys.ts +216 -0
  181. package/src/operations/cves.ts +216 -0
  182. package/src/operations/firmwares.ts +469 -0
  183. package/src/operations/index.ts +9 -2
  184. package/src/operations/operations.ts +16 -16
  185. package/src/operations/passwordHashes.ts +216 -0
  186. package/src/operations/sbomComponents.ts +216 -0
  187. package/src/operations/summaries.ts +265 -0
  188. package/src/operations/workspaces.ts +81 -92
  189. package/src/operationsInterfaces/binaryHardening.ts +31 -0
  190. package/src/operationsInterfaces/cryptoCertificates.ts +31 -0
  191. package/src/operationsInterfaces/cryptoKeys.ts +31 -0
  192. package/src/operationsInterfaces/cves.ts +28 -0
  193. package/src/operationsInterfaces/firmwares.ts +123 -0
  194. package/src/operationsInterfaces/index.ts +9 -2
  195. package/src/operationsInterfaces/operations.ts +1 -1
  196. package/src/operationsInterfaces/passwordHashes.ts +31 -0
  197. package/src/operationsInterfaces/sbomComponents.ts +31 -0
  198. package/src/operationsInterfaces/summaries.ts +50 -0
  199. package/src/operationsInterfaces/workspaces.ts +8 -8
  200. package/src/pagingHelper.ts +1 -1
  201. package/types/arm-iotfirmwaredefense.d.ts +573 -675
  202. package/types/tsdoc-metadata.json +1 -1
  203. package/dist-esm/samples-dev/firmwareCreateSample.d.ts +0 -2
  204. package/dist-esm/samples-dev/firmwareCreateSample.d.ts.map +0 -1
  205. package/dist-esm/samples-dev/firmwareCreateSample.js.map +0 -1
  206. package/dist-esm/samples-dev/firmwareDeleteSample.d.ts +0 -2
  207. package/dist-esm/samples-dev/firmwareDeleteSample.d.ts.map +0 -1
  208. package/dist-esm/samples-dev/firmwareDeleteSample.js.map +0 -1
  209. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts +0 -2
  210. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts.map +0 -1
  211. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js +0 -62
  212. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js.map +0 -1
  213. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts +0 -2
  214. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts.map +0 -1
  215. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js +0 -62
  216. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js.map +0 -1
  217. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts +0 -2
  218. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts.map +0 -1
  219. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js +0 -62
  220. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js.map +0 -1
  221. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts +0 -2
  222. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts.map +0 -1
  223. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js +0 -61
  224. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js.map +0 -1
  225. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts +0 -2
  226. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts.map +0 -1
  227. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js +0 -61
  228. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js.map +0 -1
  229. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts +0 -2
  230. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts.map +0 -1
  231. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js +0 -62
  232. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js.map +0 -1
  233. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts +0 -2
  234. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts.map +0 -1
  235. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js.map +0 -1
  236. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts +0 -2
  237. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts.map +0 -1
  238. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js.map +0 -1
  239. package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts +0 -2
  240. package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/firmwareGenerateSummarySample.js.map +0 -1
  242. package/dist-esm/samples-dev/firmwareGetSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/firmwareGetSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/firmwareGetSample.js.map +0 -1
  245. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts +0 -2
  246. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts.map +0 -1
  247. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js.map +0 -1
  248. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts +0 -2
  249. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts.map +0 -1
  250. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js.map +0 -1
  251. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js.map +0 -1
  254. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js.map +0 -1
  257. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts +0 -2
  258. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts.map +0 -1
  259. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js.map +0 -1
  260. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts +0 -2
  261. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts.map +0 -1
  262. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js.map +0 -1
  263. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js +0 -94
  266. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js.map +0 -1
  267. package/dist-esm/samples-dev/firmwareUpdateSample.d.ts +0 -2
  268. package/dist-esm/samples-dev/firmwareUpdateSample.d.ts.map +0 -1
  269. package/dist-esm/samples-dev/firmwareUpdateSample.js.map +0 -1
  270. package/dist-esm/src/operations/firmwareOperations.d.ts +0 -313
  271. package/dist-esm/src/operations/firmwareOperations.d.ts.map +0 -1
  272. package/dist-esm/src/operations/firmwareOperations.js +0 -1358
  273. package/dist-esm/src/operations/firmwareOperations.js.map +0 -1
  274. package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts +0 -169
  275. package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts.map +0 -1
  276. package/dist-esm/src/operationsInterfaces/firmwareOperations.js.map +0 -1
  277. package/src/operations/firmwareOperations.ts +0 -1892
  278. package/src/operationsInterfaces/firmwareOperations.ts +0 -320
@@ -1,18 +1,49 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- /** List of firmwares */
3
- export interface FirmwareList {
2
+ export type SummaryResourcePropertiesUnion = SummaryResourceProperties | FirmwareSummary | CveSummary | BinaryHardeningSummaryResource | CryptoCertificateSummaryResource | CryptoKeySummaryResource;
3
+ /** List of binary hardening results. */
4
+ export interface BinaryHardeningListResult {
4
5
  /**
5
- * The list of firmwares.
6
+ * The list of binary hardening results.
6
7
  * NOTE: This property will not be serialized. It can only be populated by the server.
7
8
  */
8
- readonly value?: Firmware[];
9
- /** The uri to fetch the next page of asset. */
9
+ readonly value?: BinaryHardeningResource[];
10
+ /** The uri to fetch the next page of resources. */
10
11
  nextLink?: string;
11
12
  }
13
+ /** Binary hardening of a firmware. */
14
+ export interface BinaryHardeningResult {
15
+ /** ID for the binary hardening result. */
16
+ binaryHardeningId?: string;
17
+ /** Binary hardening features. */
18
+ features?: BinaryHardeningFeatures;
19
+ /** The architecture of the uploaded firmware. */
20
+ architecture?: string;
21
+ /** The executable path. */
22
+ filePath?: string;
23
+ /** The executable class to indicate 32 or 64 bit. */
24
+ class?: string;
25
+ /** The runpath of the uploaded firmware. */
26
+ runpath?: string;
27
+ /** The rpath of the uploaded firmware. */
28
+ rpath?: string;
29
+ }
30
+ /** Binary hardening features. */
31
+ export interface BinaryHardeningFeatures {
32
+ /** NX (no-execute) flag. */
33
+ nx?: boolean;
34
+ /** PIE (position independent executable) flag. */
35
+ pie?: boolean;
36
+ /** RELRO (relocation read-only) flag. */
37
+ relro?: boolean;
38
+ /** Canary (stack canaries) flag. */
39
+ canary?: boolean;
40
+ /** Stripped flag. */
41
+ stripped?: boolean;
42
+ }
12
43
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
13
44
  export interface Resource {
14
45
  /**
15
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
46
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
16
47
  * NOTE: This property will not be serialized. It can only be populated by the server.
17
48
  */
18
49
  readonly id?: string;
@@ -93,269 +124,19 @@ export interface ErrorAdditionalInfo {
93
124
  */
94
125
  readonly info?: Record<string, unknown>;
95
126
  }
96
- /** Firmware definition */
97
- export interface FirmwareUpdateDefinition {
98
- /** File name for a firmware that user uploaded. */
99
- fileName?: string;
100
- /** Firmware vendor. */
101
- vendor?: string;
102
- /** Firmware model. */
103
- model?: string;
104
- /** Firmware version. */
105
- version?: string;
106
- /** User-specified description of the firmware. */
107
- description?: string;
108
- /** File size of the uploaded firmware image. */
109
- fileSize?: number;
110
- /** The status of firmware scan. */
111
- status?: Status;
112
- /** A list of errors or other messages generated during firmware analysis */
113
- statusMessages?: Record<string, unknown>[];
114
- /**
115
- * Provisioning state of the resource.
116
- * NOTE: This property will not be serialized. It can only be populated by the server.
117
- */
118
- readonly provisioningState?: ProvisioningState;
119
- }
120
- /** Url data for creating or accessing a blob file. */
121
- export interface UrlToken {
122
- /**
123
- * SAS URL for creating or accessing a blob file.
124
- * NOTE: This property will not be serialized. It can only be populated by the server.
125
- */
126
- readonly url?: string;
127
- /**
128
- * SAS URL for file uploading. Kept for backwards compatibility
129
- * NOTE: This property will not be serialized. It can only be populated by the server.
130
- */
131
- readonly uploadUrl?: string;
132
- }
133
- /** Summary result after scanning the firmware. */
134
- export interface FirmwareSummary {
135
- /** Total extracted size of the firmware in bytes. */
136
- extractedSize?: number;
137
- /** Firmware file size in bytes. */
138
- fileSize?: number;
139
- /** Extracted file count. */
140
- extractedFileCount?: number;
141
- /** Components count. */
142
- componentCount?: number;
143
- /** Binary count */
144
- binaryCount?: number;
145
- /** Time used for analysis */
146
- analysisTimeSeconds?: number;
147
- /** The number of root file systems found. */
148
- rootFileSystems?: number;
149
- }
150
- /** List result for components */
151
- export interface ComponentList {
152
- /**
153
- * The list of components.
154
- * NOTE: This property will not be serialized. It can only be populated by the server.
155
- */
156
- readonly value?: Component[];
157
- /** The uri to fetch the next page of asset. */
158
- nextLink?: string;
159
- }
160
- /** Component of a firmware. */
161
- export interface Component {
162
- /** ID for the component. */
163
- componentId?: string;
164
- /** Name for the component. */
165
- componentName?: string;
166
- /** Version for the component. */
167
- version?: string;
168
- /** License for the component. */
169
- license?: string;
170
- /** Release date for the component. */
171
- releaseDate?: Date;
172
- /** Paths of the component. */
173
- paths?: string[];
174
- /** Flag if new update is available for the component. */
175
- isUpdateAvailable?: IsUpdateAvailable;
176
- }
177
- /** List result for binary hardening */
178
- export interface BinaryHardeningList {
179
- /**
180
- * The list of binary hardening results.
181
- * NOTE: This property will not be serialized. It can only be populated by the server.
182
- */
183
- readonly value?: BinaryHardening[];
184
- /** The uri to fetch the next page of asset. */
185
- nextLink?: string;
186
- }
187
- /** Binary hardening of a firmware. */
188
- export interface BinaryHardening {
189
- /** ID for the binary hardening result. */
190
- binaryHardeningId?: string;
191
- /** The architecture of the uploaded firmware. */
192
- architecture?: string;
193
- /** path for binary hardening. */
194
- path?: string;
195
- /** class for binary hardening. */
196
- class?: string;
197
- /** The runpath of the uploaded firmware. */
198
- runpath?: string;
199
- /** The rpath of the uploaded firmware. */
200
- rpath?: string;
201
- /** NX flag. */
202
- nx?: NxFlag;
203
- /** PIE flag. */
204
- pie?: PieFlag;
205
- /** RELRO flag. */
206
- relro?: RelroFlag;
207
- /** Canary flag. */
208
- canary?: CanaryFlag;
209
- /** Stripped flag. */
210
- stripped?: StrippedFlag;
211
- }
212
- /** Binary hardening summary percentages. */
213
- export interface BinaryHardeningSummary {
214
- /** Total number of binaries that were analyzed */
215
- totalFiles?: number;
216
- /** NX summary percentage */
217
- nx?: number;
218
- /** PIE summary percentage */
219
- pie?: number;
220
- /** RELRO summary percentage */
221
- relro?: number;
222
- /** Canary summary percentage */
223
- canary?: number;
224
- /** Stripped summary percentage */
225
- stripped?: number;
226
- }
227
- /** Password hashes list */
228
- export interface PasswordHashList {
229
- /**
230
- * Password hashes list
231
- * NOTE: This property will not be serialized. It can only be populated by the server.
232
- */
233
- readonly value?: PasswordHash[];
234
- /** The uri to fetch the next page of asset. */
235
- nextLink?: string;
236
- }
237
- /** Password hash properties */
238
- export interface PasswordHash {
239
- /** ID for password hash */
240
- passwordHashId?: string;
241
- /** File path of the password hash */
242
- filePath?: string;
243
- /** Salt of the password hash */
244
- salt?: string;
245
- /** Hash of the password */
246
- hash?: string;
247
- /** Context of password hash */
248
- context?: string;
249
- /** User name of password hash */
250
- username?: string;
251
- /** Algorithm of the password hash */
252
- algorithm?: string;
253
- }
254
- /** List result for CVE */
255
- export interface CveList {
256
- /**
257
- * The list of CVE results.
258
- * NOTE: This property will not be serialized. It can only be populated by the server.
259
- */
260
- readonly value?: Cve[];
261
- /** The uri to fetch the next page of asset. */
262
- nextLink?: string;
263
- }
264
- /** Known CVEs of a firmware. */
265
- export interface Cve {
266
- /** ID of CVE */
267
- cveId?: string;
268
- /** Component of CVE */
269
- component?: Record<string, unknown>;
270
- /** Severity of CVE */
271
- severity?: string;
272
- /** Name of CVE */
273
- name?: string;
274
- /** A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score */
275
- cvssScore?: string;
276
- /** Cvss version of CVE */
277
- cvssVersion?: string;
278
- /** Cvss V2 score of CVE */
279
- cvssV2Score?: string;
280
- /** Cvss V3 score of CVE */
281
- cvssV3Score?: string;
282
- /** Publish date of CVE */
283
- publishDate?: Date;
284
- /** Updated date of CVE */
285
- updatedDate?: Date;
286
- /**
287
- * The list of CVE links.
288
- * NOTE: This property will not be serialized. It can only be populated by the server.
289
- */
290
- readonly links?: CveLink[];
291
- /** Description of CVE */
292
- description?: string;
293
- }
294
- /** Link for CVE */
295
- export interface CveLink {
296
- /** Href of CVE link */
297
- href?: string;
298
- /** Label of CVE link */
299
- label?: string;
300
- }
301
- /** CVE summary values. */
302
- export interface CveSummary {
303
- /** The total number of critical severity CVEs detected */
304
- critical?: number;
305
- /** The total number of high severity CVEs detected */
306
- high?: number;
307
- /** The total number of medium severity CVEs detected */
308
- medium?: number;
309
- /** The total number of low severity CVEs detected */
310
- low?: number;
311
- /** The total number of unknown severity CVEs detected */
312
- unknown?: number;
313
- /** The total number of undefined severity CVEs detected */
314
- undefined?: number;
315
- }
316
- /** Cryptographic certificate summary values. */
317
- export interface CryptoCertificateSummary {
318
- /** Total number of certificates found. */
319
- totalCertificates?: number;
320
- /** Total number of paired private keys found for the certificates. */
321
- pairedKeys?: number;
322
- /** Total number of expired certificates found. */
323
- expired?: number;
324
- /** Total number of nearly expired certificates found. */
325
- expiringSoon?: number;
326
- /** Total number of certificates found using a weak signature algorithm. */
327
- weakSignature?: number;
328
- /** Total number of certificates found that are self-signed. */
329
- selfSigned?: number;
330
- /** Total number of certificates found that have an insecure key size for the key algorithm. */
331
- shortKeySize?: number;
332
- }
333
- /** Cryptographic key summary values. */
334
- export interface CryptoKeySummary {
335
- /** Total number of cryptographic keys found. */
336
- totalKeys?: number;
337
- /** Total number of (non-certificate) public keys found. */
338
- publicKeys?: number;
339
- /** Total number of private keys found. */
340
- privateKeys?: number;
341
- /** Total number of keys found that have a matching paired key or certificate. */
342
- pairedKeys?: number;
343
- /** Total number of keys found that have an insecure key size for the algorithm. */
344
- shortKeySize?: number;
345
- }
346
- /** Crypto certificates list */
347
- export interface CryptoCertificateList {
127
+ /** List of crypto certificates. */
128
+ export interface CryptoCertificateListResult {
348
129
  /**
349
- * Crypto certificates list
130
+ * The list of crypto certificate results.
350
131
  * NOTE: This property will not be serialized. It can only be populated by the server.
351
132
  */
352
- readonly value?: CryptoCertificate[];
353
- /** The uri to fetch the next page of asset. */
133
+ readonly value?: CryptoCertificateResource[];
134
+ /** The uri to fetch the next page of resources. */
354
135
  nextLink?: string;
355
136
  }
356
137
  /** Crypto certificate properties */
357
138
  export interface CryptoCertificate {
358
- /** ID for the certificate. */
139
+ /** ID for the certificate result. */
359
140
  cryptoCertId?: string;
360
141
  /** Name of the certificate. */
361
142
  name?: string;
@@ -384,20 +165,20 @@ export interface CryptoCertificate {
384
165
  /** List of functions the certificate can fulfill. */
385
166
  usage?: string[];
386
167
  /**
387
- * List of files paths for this certificate
168
+ * List of files where this certificate was found.
388
169
  * NOTE: This property will not be serialized. It can only be populated by the server.
389
170
  */
390
171
  readonly filePaths?: string[];
391
172
  /** A matching paired private key. */
392
173
  pairedKey?: PairedKey;
393
174
  /** Indicates if the certificate is expired. */
394
- isExpired?: IsExpired;
395
- /** Indicates if the certificate was self-signed. */
396
- isSelfSigned?: IsSelfSigned;
175
+ isExpired?: boolean;
176
+ /** Indicates if the certificate is self-signed. */
177
+ isSelfSigned?: boolean;
397
178
  /** Indicates the signature algorithm used is insecure. */
398
- isWeakSignature?: IsWeakSignature;
179
+ isWeakSignature?: boolean;
399
180
  /** Indicates the certificate's key size is considered too small to be secure for the key algorithm. */
400
- isShortKeySize?: IsShortKeySize;
181
+ isShortKeySize?: boolean;
401
182
  }
402
183
  /** Information on an entity (distinguished name) in a cryptographic certificate. */
403
184
  export interface CryptoCertificateEntity {
@@ -418,22 +199,20 @@ export interface PairedKey {
418
199
  id?: string;
419
200
  /** The type indicating whether the paired object is a key or certificate. */
420
201
  type?: string;
421
- /** Additional paired key properties */
422
- additionalProperties?: Record<string, unknown>;
423
202
  }
424
- /** Crypto keys list */
425
- export interface CryptoKeyList {
203
+ /** List of crypto keys. */
204
+ export interface CryptoKeyListResult {
426
205
  /**
427
- * Crypto keys list
206
+ * The list of crypto key results.
428
207
  * NOTE: This property will not be serialized. It can only be populated by the server.
429
208
  */
430
- readonly value?: CryptoKey[];
431
- /** The uri to fetch the next page of asset. */
209
+ readonly value?: CryptoKeyResource[];
210
+ /** The uri to fetch the next page of resources. */
432
211
  nextLink?: string;
433
212
  }
434
213
  /** Crypto key properties */
435
214
  export interface CryptoKey {
436
- /** ID for the key. */
215
+ /** ID for the key result. */
437
216
  cryptoKeyId?: string;
438
217
  /** Type of the key (public or private). */
439
218
  keyType?: string;
@@ -444,37 +223,120 @@ export interface CryptoKey {
444
223
  /** Functions the key can fulfill. */
445
224
  usage?: string[];
446
225
  /**
447
- * List of files paths for this key.
226
+ * List of files where this key was found.
448
227
  * NOTE: This property will not be serialized. It can only be populated by the server.
449
228
  */
450
229
  readonly filePaths?: string[];
451
230
  /** A matching paired key or certificate. */
452
231
  pairedKey?: PairedKey;
453
232
  /** Indicates the key size is considered too small to be secure for the algorithm. */
454
- isShortKeySize?: IsShortKeySize;
233
+ isShortKeySize?: boolean;
455
234
  }
456
- /** Return a list of firmware analysis workspaces. */
457
- export interface WorkspaceList {
235
+ /** List of CVE results. */
236
+ export interface CveListResult {
458
237
  /**
459
- * The list of firmware analysis workspaces.
238
+ * The list of CVE results.
460
239
  * NOTE: This property will not be serialized. It can only be populated by the server.
461
240
  */
462
- readonly value?: Workspace[];
241
+ readonly value?: CveResource[];
242
+ /** The uri to fetch the next page of resources. */
243
+ nextLink?: string;
244
+ }
245
+ /** Details of a CVE detected in firmware. */
246
+ export interface CveResult {
247
+ /** ID of the CVE result. */
248
+ cveId?: string;
249
+ /** The SBOM component for the CVE. */
250
+ component?: CveComponent;
251
+ /** Severity of the CVE. */
252
+ severity?: string;
253
+ /** Name of the CVE. */
254
+ name?: string;
255
+ /** A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score. */
256
+ cvssScore?: string;
257
+ /** CVSS version of the CVE. */
258
+ cvssVersion?: string;
259
+ /** CVSS V2 score of the CVE. */
260
+ cvssV2Score?: string;
261
+ /** CVSS V3 score of the CVE. */
262
+ cvssV3Score?: string;
263
+ /**
264
+ * The list of reference links for the CVE.
265
+ * NOTE: This property will not be serialized. It can only be populated by the server.
266
+ */
267
+ readonly links?: CveLink[];
268
+ /** The CVE description. */
269
+ description?: string;
270
+ }
271
+ /** Properties of the SBOM component for a CVE. */
272
+ export interface CveComponent {
273
+ /** ID of the SBOM component */
274
+ componentId?: string;
275
+ /** Name of the SBOM component */
276
+ name?: string;
277
+ /** Version of the SBOM component. */
278
+ version?: string;
279
+ }
280
+ /** Properties of a reference link for a CVE. */
281
+ export interface CveLink {
282
+ /** The destination of the reference link. */
283
+ href?: string;
284
+ /** The label of the reference link. */
285
+ label?: string;
286
+ }
287
+ /** List of firmwares */
288
+ export interface FirmwareList {
289
+ /**
290
+ * The list of firmwares.
291
+ * NOTE: This property will not be serialized. It can only be populated by the server.
292
+ */
293
+ readonly value?: Firmware[];
463
294
  /** The uri to fetch the next page of asset. */
464
295
  nextLink?: string;
465
296
  }
466
- /** Firmware analysis workspace. */
467
- export interface WorkspaceUpdateDefinition {
297
+ /** Firmware properties. */
298
+ export interface FirmwareProperties {
299
+ /** File name for a firmware that user uploaded. */
300
+ fileName?: string;
301
+ /** Firmware vendor. */
302
+ vendor?: string;
303
+ /** Firmware model. */
304
+ model?: string;
305
+ /** Firmware version. */
306
+ version?: string;
307
+ /** User-specified description of the firmware. */
308
+ description?: string;
309
+ /** File size of the uploaded firmware image. */
310
+ fileSize?: number;
311
+ /** The status of firmware scan. */
312
+ status?: Status;
313
+ /** A list of errors or other messages generated during firmware analysis */
314
+ statusMessages?: StatusMessage[];
468
315
  /**
469
316
  * Provisioning state of the resource.
470
317
  * NOTE: This property will not be serialized. It can only be populated by the server.
471
318
  */
472
319
  readonly provisioningState?: ProvisioningState;
473
320
  }
474
- /** Properties for generating an upload URL */
475
- export interface GenerateUploadUrlRequest {
476
- /** A unique ID for the firmware to be uploaded. */
477
- firmwareId?: string;
321
+ /** Error and status message */
322
+ export interface StatusMessage {
323
+ /** The error code */
324
+ errorCode?: number;
325
+ /** The error or status message */
326
+ message?: string;
327
+ }
328
+ /** Firmware definition */
329
+ export interface FirmwareUpdateDefinition {
330
+ /** The editable properties of a firmware */
331
+ properties?: FirmwareProperties;
332
+ }
333
+ /** Url data for creating or accessing a blob file. */
334
+ export interface UrlToken {
335
+ /**
336
+ * SAS URL for creating or accessing a blob file.
337
+ * NOTE: This property will not be serialized. It can only be populated by the server.
338
+ */
339
+ readonly url?: string;
478
340
  }
479
341
  /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
480
342
  export interface OperationListResult {
@@ -527,27 +389,151 @@ export interface OperationDisplay {
527
389
  */
528
390
  readonly resource?: string;
529
391
  /**
530
- * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
392
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
394
+ */
395
+ readonly operation?: string;
396
+ /**
397
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
399
+ */
400
+ readonly description?: string;
401
+ }
402
+ /** List of password hash results */
403
+ export interface PasswordHashListResult {
404
+ /**
405
+ * The list of password hash results.
406
+ * NOTE: This property will not be serialized. It can only be populated by the server.
407
+ */
408
+ readonly value?: PasswordHashResource[];
409
+ /** The uri to fetch the next page of resources. */
410
+ nextLink?: string;
411
+ }
412
+ /** Password hash properties */
413
+ export interface PasswordHash {
414
+ /** ID for password hash */
415
+ passwordHashId?: string;
416
+ /** File path of the password hash */
417
+ filePath?: string;
418
+ /** Salt of the password hash */
419
+ salt?: string;
420
+ /** Hash of the password */
421
+ hash?: string;
422
+ /** Context of password hash */
423
+ context?: string;
424
+ /** User name of password hash */
425
+ username?: string;
426
+ /** Algorithm of the password hash */
427
+ algorithm?: string;
428
+ }
429
+ /** List of SBOM results. */
430
+ export interface SbomComponentListResult {
431
+ /**
432
+ * The list of SBOM components.
433
+ * NOTE: This property will not be serialized. It can only be populated by the server.
434
+ */
435
+ readonly value?: SbomComponentResource[];
436
+ /** The uri to fetch the next page of resources. */
437
+ nextLink?: string;
438
+ }
439
+ /** SBOM component of a firmware. */
440
+ export interface SbomComponent {
441
+ /** ID for the component. */
442
+ componentId?: string;
443
+ /** Name for the component. */
444
+ componentName?: string;
445
+ /** Version for the component. */
446
+ version?: string;
447
+ /** License for the component. */
448
+ license?: string;
449
+ /** File paths related to the component. */
450
+ filePaths?: string[];
451
+ }
452
+ /** List of analysis summaries. */
453
+ export interface SummaryListResult {
454
+ /**
455
+ * The list of summaries.
456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
457
+ */
458
+ readonly value?: SummaryResource[];
459
+ /** The uri to fetch the next page of resources. */
460
+ nextLink?: string;
461
+ }
462
+ /** Properties of an analysis summary. */
463
+ export interface SummaryResourceProperties {
464
+ /** Polymorphic discriminator, which specifies the different types this object can be */
465
+ summaryType: "Firmware" | "CVE" | "BinaryHardening" | "CryptoCertificate" | "CryptoKey";
466
+ }
467
+ /** Return a list of firmware analysis workspaces. */
468
+ export interface WorkspaceList {
469
+ /**
470
+ * The list of firmware analysis workspaces.
531
471
  * NOTE: This property will not be serialized. It can only be populated by the server.
532
472
  */
533
- readonly operation?: string;
473
+ readonly value?: Workspace[];
474
+ /** The uri to fetch the next page of asset. */
475
+ nextLink?: string;
476
+ }
477
+ /** Workspace properties. */
478
+ export interface WorkspaceProperties {
534
479
  /**
535
- * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
480
+ * Provisioning state of the resource.
536
481
  * NOTE: This property will not be serialized. It can only be populated by the server.
537
482
  */
538
- readonly description?: string;
483
+ readonly provisioningState?: ProvisioningState;
539
484
  }
540
- /** Component for CVE */
541
- export interface CveComponent {
542
- /** ID of CVE component */
543
- componentId?: string;
544
- /** Name of CVE component */
545
- name?: string;
546
- /** Version of CVE component */
547
- version?: string;
485
+ /** Firmware analysis workspace. */
486
+ export interface WorkspaceUpdateDefinition {
487
+ /** The editable workspace properties. */
488
+ properties?: WorkspaceProperties;
489
+ }
490
+ /** Properties for generating an upload URL */
491
+ export interface GenerateUploadUrlRequest {
492
+ /** A unique ID for the firmware to be uploaded. */
493
+ firmwareId?: string;
494
+ }
495
+ /** binary hardening analysis result resource */
496
+ export interface BinaryHardeningResource extends Resource {
497
+ /** The properties of a binary hardening result found within a firmware image */
498
+ properties?: BinaryHardeningResult;
499
+ }
500
+ /** Crypto certificate resource */
501
+ export interface CryptoCertificateResource extends Resource {
502
+ /** The properties of a crypto certificate found within a firmware image */
503
+ properties?: CryptoCertificate;
548
504
  }
549
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
550
- export interface ProxyResource extends Resource {
505
+ /** Crypto key resource */
506
+ export interface CryptoKeyResource extends Resource {
507
+ /** The properties of a crypto key found within a firmware image */
508
+ properties?: CryptoKey;
509
+ }
510
+ /** CVE analysis result resource */
511
+ export interface CveResource extends Resource {
512
+ /** The properties of a CVE result found within a firmware image */
513
+ properties?: CveResult;
514
+ }
515
+ /** Firmware definition */
516
+ export interface Firmware extends Resource {
517
+ /** The properties of a firmware */
518
+ properties?: FirmwareProperties;
519
+ }
520
+ /** Password hash resource */
521
+ export interface PasswordHashResource extends Resource {
522
+ /** The properties of a password hash found within a firmware image */
523
+ properties?: PasswordHash;
524
+ }
525
+ /** SBOM analysis result resource */
526
+ export interface SbomComponentResource extends Resource {
527
+ /** The properties of an SBOM component found within a firmware image */
528
+ properties?: SbomComponent;
529
+ }
530
+ /** The object representing a firmware analysis summary resource. */
531
+ export interface SummaryResource extends Resource {
532
+ /**
533
+ * Properties of an analysis summary.
534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
535
+ */
536
+ readonly properties?: SummaryResourcePropertiesUnion;
551
537
  }
552
538
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
553
539
  export interface TrackedResource extends Resource {
@@ -558,38 +544,118 @@ export interface TrackedResource extends Resource {
558
544
  /** The geo-location where the resource lives */
559
545
  location: string;
560
546
  }
561
- /** Firmware definition */
562
- export interface Firmware extends ProxyResource {
563
- /** File name for a firmware that user uploaded. */
564
- fileName?: string;
565
- /** Firmware vendor. */
566
- vendor?: string;
567
- /** Firmware model. */
568
- model?: string;
569
- /** Firmware version. */
570
- version?: string;
571
- /** User-specified description of the firmware. */
572
- description?: string;
573
- /** File size of the uploaded firmware image. */
547
+ /** Properties for high level summary of firmware analysis results. */
548
+ export interface FirmwareSummary extends SummaryResourceProperties {
549
+ /** Polymorphic discriminator, which specifies the different types this object can be */
550
+ summaryType: "Firmware";
551
+ /** Total extracted size of the firmware in bytes. */
552
+ extractedSize?: number;
553
+ /** Firmware file size in bytes. */
574
554
  fileSize?: number;
575
- /** The status of firmware scan. */
576
- status?: Status;
577
- /** A list of errors or other messages generated during firmware analysis */
578
- statusMessages?: Record<string, unknown>[];
579
- /**
580
- * Provisioning state of the resource.
581
- * NOTE: This property will not be serialized. It can only be populated by the server.
582
- */
583
- readonly provisioningState?: ProvisioningState;
555
+ /** Extracted file count. */
556
+ extractedFileCount?: number;
557
+ /** Components count. */
558
+ componentCount?: number;
559
+ /** Binary count */
560
+ binaryCount?: number;
561
+ /** Time used for analysis */
562
+ analysisTimeSeconds?: number;
563
+ /** The number of root file systems found. */
564
+ rootFileSystems?: number;
565
+ }
566
+ /** Properties for a CVE analysis summary. */
567
+ export interface CveSummary extends SummaryResourceProperties {
568
+ /** Polymorphic discriminator, which specifies the different types this object can be */
569
+ summaryType: "CVE";
570
+ /** The total number of critical severity CVEs detected */
571
+ critical?: number;
572
+ /** The total number of high severity CVEs detected */
573
+ high?: number;
574
+ /** The total number of medium severity CVEs detected */
575
+ medium?: number;
576
+ /** The total number of low severity CVEs detected */
577
+ low?: number;
578
+ /** The total number of unknown severity CVEs detected */
579
+ unknown?: number;
580
+ }
581
+ /** Properties for a binary hardening analysis summary. */
582
+ export interface BinaryHardeningSummaryResource extends SummaryResourceProperties {
583
+ /** Polymorphic discriminator, which specifies the different types this object can be */
584
+ summaryType: "BinaryHardening";
585
+ /** Total number of binaries that were analyzed */
586
+ totalFiles?: number;
587
+ /** NX summary percentage */
588
+ nx?: number;
589
+ /** PIE summary percentage */
590
+ pie?: number;
591
+ /** RELRO summary percentage */
592
+ relro?: number;
593
+ /** Canary summary percentage */
594
+ canary?: number;
595
+ /** Stripped summary percentage */
596
+ stripped?: number;
597
+ }
598
+ /** Properties for cryptographic certificate summary. */
599
+ export interface CryptoCertificateSummaryResource extends SummaryResourceProperties {
600
+ /** Polymorphic discriminator, which specifies the different types this object can be */
601
+ summaryType: "CryptoCertificate";
602
+ /** Total number of certificates found. */
603
+ totalCertificates?: number;
604
+ /** Total number of paired private keys found for the certificates. */
605
+ pairedKeys?: number;
606
+ /** Total number of expired certificates found. */
607
+ expired?: number;
608
+ /** Total number of nearly expired certificates found. */
609
+ expiringSoon?: number;
610
+ /** Total number of certificates found using a weak signature algorithm. */
611
+ weakSignature?: number;
612
+ /** Total number of certificates found that are self-signed. */
613
+ selfSigned?: number;
614
+ /** Total number of certificates found that have an insecure key size for the key algorithm. */
615
+ shortKeySize?: number;
616
+ }
617
+ /** Properties for cryptographic key summary. */
618
+ export interface CryptoKeySummaryResource extends SummaryResourceProperties {
619
+ /** Polymorphic discriminator, which specifies the different types this object can be */
620
+ summaryType: "CryptoKey";
621
+ /** Total number of cryptographic keys found. */
622
+ totalKeys?: number;
623
+ /** Total number of (non-certificate) public keys found. */
624
+ publicKeys?: number;
625
+ /** Total number of private keys found. */
626
+ privateKeys?: number;
627
+ /** Total number of keys found that have a matching paired key or certificate. */
628
+ pairedKeys?: number;
629
+ /** Total number of keys found that have an insecure key size for the algorithm. */
630
+ shortKeySize?: number;
584
631
  }
585
632
  /** Firmware analysis workspace. */
586
633
  export interface Workspace extends TrackedResource {
587
- /**
588
- * Provisioning state of the resource.
589
- * NOTE: This property will not be serialized. It can only be populated by the server.
590
- */
591
- readonly provisioningState?: ProvisioningState;
634
+ /** Workspace properties. */
635
+ properties?: WorkspaceProperties;
636
+ }
637
+ /** Known values of {@link CreatedByType} that the service accepts. */
638
+ export declare enum KnownCreatedByType {
639
+ /** User */
640
+ User = "User",
641
+ /** Application */
642
+ Application = "Application",
643
+ /** ManagedIdentity */
644
+ ManagedIdentity = "ManagedIdentity",
645
+ /** Key */
646
+ Key = "Key"
592
647
  }
648
+ /**
649
+ * Defines values for CreatedByType. \
650
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
651
+ * this enum contains the known values that the service supports.
652
+ * ### Known values supported by the service
653
+ * **User** \
654
+ * **Application** \
655
+ * **ManagedIdentity** \
656
+ * **Key**
657
+ */
658
+ export type CreatedByType = string;
593
659
  /** Known values of {@link Status} that the service accepts. */
594
660
  export declare enum KnownStatus {
595
661
  /** Pending */
@@ -637,188 +703,6 @@ export declare enum KnownProvisioningState {
637
703
  * **Failed**
638
704
  */
639
705
  export type ProvisioningState = string;
640
- /** Known values of {@link CreatedByType} that the service accepts. */
641
- export declare enum KnownCreatedByType {
642
- /** User */
643
- User = "User",
644
- /** Application */
645
- Application = "Application",
646
- /** ManagedIdentity */
647
- ManagedIdentity = "ManagedIdentity",
648
- /** Key */
649
- Key = "Key"
650
- }
651
- /**
652
- * Defines values for CreatedByType. \
653
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
654
- * this enum contains the known values that the service supports.
655
- * ### Known values supported by the service
656
- * **User** \
657
- * **Application** \
658
- * **ManagedIdentity** \
659
- * **Key**
660
- */
661
- export type CreatedByType = string;
662
- /** Known values of {@link IsUpdateAvailable} that the service accepts. */
663
- export declare enum KnownIsUpdateAvailable {
664
- /** True */
665
- True = "True",
666
- /** False */
667
- False = "False"
668
- }
669
- /**
670
- * Defines values for IsUpdateAvailable. \
671
- * {@link KnownIsUpdateAvailable} can be used interchangeably with IsUpdateAvailable,
672
- * this enum contains the known values that the service supports.
673
- * ### Known values supported by the service
674
- * **True** \
675
- * **False**
676
- */
677
- export type IsUpdateAvailable = string;
678
- /** Known values of {@link NxFlag} that the service accepts. */
679
- export declare enum KnownNxFlag {
680
- /** True */
681
- True = "True",
682
- /** False */
683
- False = "False"
684
- }
685
- /**
686
- * Defines values for NxFlag. \
687
- * {@link KnownNxFlag} can be used interchangeably with NxFlag,
688
- * this enum contains the known values that the service supports.
689
- * ### Known values supported by the service
690
- * **True** \
691
- * **False**
692
- */
693
- export type NxFlag = string;
694
- /** Known values of {@link PieFlag} that the service accepts. */
695
- export declare enum KnownPieFlag {
696
- /** True */
697
- True = "True",
698
- /** False */
699
- False = "False"
700
- }
701
- /**
702
- * Defines values for PieFlag. \
703
- * {@link KnownPieFlag} can be used interchangeably with PieFlag,
704
- * this enum contains the known values that the service supports.
705
- * ### Known values supported by the service
706
- * **True** \
707
- * **False**
708
- */
709
- export type PieFlag = string;
710
- /** Known values of {@link RelroFlag} that the service accepts. */
711
- export declare enum KnownRelroFlag {
712
- /** True */
713
- True = "True",
714
- /** False */
715
- False = "False"
716
- }
717
- /**
718
- * Defines values for RelroFlag. \
719
- * {@link KnownRelroFlag} can be used interchangeably with RelroFlag,
720
- * this enum contains the known values that the service supports.
721
- * ### Known values supported by the service
722
- * **True** \
723
- * **False**
724
- */
725
- export type RelroFlag = string;
726
- /** Known values of {@link CanaryFlag} that the service accepts. */
727
- export declare enum KnownCanaryFlag {
728
- /** True */
729
- True = "True",
730
- /** False */
731
- False = "False"
732
- }
733
- /**
734
- * Defines values for CanaryFlag. \
735
- * {@link KnownCanaryFlag} can be used interchangeably with CanaryFlag,
736
- * this enum contains the known values that the service supports.
737
- * ### Known values supported by the service
738
- * **True** \
739
- * **False**
740
- */
741
- export type CanaryFlag = string;
742
- /** Known values of {@link StrippedFlag} that the service accepts. */
743
- export declare enum KnownStrippedFlag {
744
- /** True */
745
- True = "True",
746
- /** False */
747
- False = "False"
748
- }
749
- /**
750
- * Defines values for StrippedFlag. \
751
- * {@link KnownStrippedFlag} can be used interchangeably with StrippedFlag,
752
- * this enum contains the known values that the service supports.
753
- * ### Known values supported by the service
754
- * **True** \
755
- * **False**
756
- */
757
- export type StrippedFlag = string;
758
- /** Known values of {@link IsExpired} that the service accepts. */
759
- export declare enum KnownIsExpired {
760
- /** True */
761
- True = "True",
762
- /** False */
763
- False = "False"
764
- }
765
- /**
766
- * Defines values for IsExpired. \
767
- * {@link KnownIsExpired} can be used interchangeably with IsExpired,
768
- * this enum contains the known values that the service supports.
769
- * ### Known values supported by the service
770
- * **True** \
771
- * **False**
772
- */
773
- export type IsExpired = string;
774
- /** Known values of {@link IsSelfSigned} that the service accepts. */
775
- export declare enum KnownIsSelfSigned {
776
- /** True */
777
- True = "True",
778
- /** False */
779
- False = "False"
780
- }
781
- /**
782
- * Defines values for IsSelfSigned. \
783
- * {@link KnownIsSelfSigned} can be used interchangeably with IsSelfSigned,
784
- * this enum contains the known values that the service supports.
785
- * ### Known values supported by the service
786
- * **True** \
787
- * **False**
788
- */
789
- export type IsSelfSigned = string;
790
- /** Known values of {@link IsWeakSignature} that the service accepts. */
791
- export declare enum KnownIsWeakSignature {
792
- /** True */
793
- True = "True",
794
- /** False */
795
- False = "False"
796
- }
797
- /**
798
- * Defines values for IsWeakSignature. \
799
- * {@link KnownIsWeakSignature} can be used interchangeably with IsWeakSignature,
800
- * this enum contains the known values that the service supports.
801
- * ### Known values supported by the service
802
- * **True** \
803
- * **False**
804
- */
805
- export type IsWeakSignature = string;
806
- /** Known values of {@link IsShortKeySize} that the service accepts. */
807
- export declare enum KnownIsShortKeySize {
808
- /** True */
809
- True = "True",
810
- /** False */
811
- False = "False"
812
- }
813
- /**
814
- * Defines values for IsShortKeySize. \
815
- * {@link KnownIsShortKeySize} can be used interchangeably with IsShortKeySize,
816
- * this enum contains the known values that the service supports.
817
- * ### Known values supported by the service
818
- * **True** \
819
- * **False**
820
- */
821
- export type IsShortKeySize = string;
822
706
  /** Known values of {@link Origin} that the service accepts. */
823
707
  export declare enum KnownOrigin {
824
708
  /** User */
@@ -851,139 +735,179 @@ export declare enum KnownActionType {
851
735
  * **Internal**
852
736
  */
853
737
  export type ActionType = string;
854
- /** Optional parameters. */
855
- export interface FirmwareListByWorkspaceOptionalParams extends coreClient.OperationOptions {
738
+ /** Known values of {@link SummaryType} that the service accepts. */
739
+ export declare enum KnownSummaryType {
740
+ /** Firmware */
741
+ Firmware = "Firmware",
742
+ /** CVE */
743
+ CVE = "CVE",
744
+ /** BinaryHardening */
745
+ BinaryHardening = "BinaryHardening",
746
+ /** CryptoCertificate */
747
+ CryptoCertificate = "CryptoCertificate",
748
+ /** CryptoKey */
749
+ CryptoKey = "CryptoKey"
856
750
  }
857
- /** Contains response data for the listByWorkspace operation. */
858
- export type FirmwareListByWorkspaceResponse = FirmwareList;
859
- /** Optional parameters. */
860
- export interface FirmwareCreateOptionalParams extends coreClient.OperationOptions {
751
+ /**
752
+ * Defines values for SummaryType. \
753
+ * {@link KnownSummaryType} can be used interchangeably with SummaryType,
754
+ * this enum contains the known values that the service supports.
755
+ * ### Known values supported by the service
756
+ * **Firmware** \
757
+ * **CVE** \
758
+ * **BinaryHardening** \
759
+ * **CryptoCertificate** \
760
+ * **CryptoKey**
761
+ */
762
+ export type SummaryType = string;
763
+ /** Known values of {@link SummaryName} that the service accepts. */
764
+ export declare enum KnownSummaryName {
765
+ /** Firmware */
766
+ Firmware = "Firmware",
767
+ /** CVE */
768
+ CVE = "CVE",
769
+ /** BinaryHardening */
770
+ BinaryHardening = "BinaryHardening",
771
+ /** CryptoCertificate */
772
+ CryptoCertificate = "CryptoCertificate",
773
+ /** CryptoKey */
774
+ CryptoKey = "CryptoKey"
861
775
  }
862
- /** Contains response data for the create operation. */
863
- export type FirmwareCreateResponse = Firmware;
776
+ /**
777
+ * Defines values for SummaryName. \
778
+ * {@link KnownSummaryName} can be used interchangeably with SummaryName,
779
+ * this enum contains the known values that the service supports.
780
+ * ### Known values supported by the service
781
+ * **Firmware** \
782
+ * **CVE** \
783
+ * **BinaryHardening** \
784
+ * **CryptoCertificate** \
785
+ * **CryptoKey**
786
+ */
787
+ export type SummaryName = string;
864
788
  /** Optional parameters. */
865
- export interface FirmwareUpdateOptionalParams extends coreClient.OperationOptions {
789
+ export interface BinaryHardeningListByFirmwareOptionalParams extends coreClient.OperationOptions {
866
790
  }
867
- /** Contains response data for the update operation. */
868
- export type FirmwareUpdateResponse = Firmware;
791
+ /** Contains response data for the listByFirmware operation. */
792
+ export type BinaryHardeningListByFirmwareResponse = BinaryHardeningListResult;
869
793
  /** Optional parameters. */
870
- export interface FirmwareDeleteOptionalParams extends coreClient.OperationOptions {
794
+ export interface BinaryHardeningListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
871
795
  }
796
+ /** Contains response data for the listByFirmwareNext operation. */
797
+ export type BinaryHardeningListByFirmwareNextResponse = BinaryHardeningListResult;
872
798
  /** Optional parameters. */
873
- export interface FirmwareGetOptionalParams extends coreClient.OperationOptions {
799
+ export interface CryptoCertificatesListByFirmwareOptionalParams extends coreClient.OperationOptions {
874
800
  }
875
- /** Contains response data for the get operation. */
876
- export type FirmwareGetResponse = Firmware;
801
+ /** Contains response data for the listByFirmware operation. */
802
+ export type CryptoCertificatesListByFirmwareResponse = CryptoCertificateListResult;
877
803
  /** Optional parameters. */
878
- export interface FirmwareGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
804
+ export interface CryptoCertificatesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
879
805
  }
880
- /** Contains response data for the generateDownloadUrl operation. */
881
- export type FirmwareGenerateDownloadUrlResponse = UrlToken;
806
+ /** Contains response data for the listByFirmwareNext operation. */
807
+ export type CryptoCertificatesListByFirmwareNextResponse = CryptoCertificateListResult;
882
808
  /** Optional parameters. */
883
- export interface FirmwareGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
809
+ export interface CryptoKeysListByFirmwareOptionalParams extends coreClient.OperationOptions {
884
810
  }
885
- /** Contains response data for the generateFilesystemDownloadUrl operation. */
886
- export type FirmwareGenerateFilesystemDownloadUrlResponse = UrlToken;
811
+ /** Contains response data for the listByFirmware operation. */
812
+ export type CryptoKeysListByFirmwareResponse = CryptoKeyListResult;
887
813
  /** Optional parameters. */
888
- export interface FirmwareGenerateSummaryOptionalParams extends coreClient.OperationOptions {
814
+ export interface CryptoKeysListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
889
815
  }
890
- /** Contains response data for the generateSummary operation. */
891
- export type FirmwareGenerateSummaryResponse = FirmwareSummary;
816
+ /** Contains response data for the listByFirmwareNext operation. */
817
+ export type CryptoKeysListByFirmwareNextResponse = CryptoKeyListResult;
892
818
  /** Optional parameters. */
893
- export interface FirmwareListGenerateComponentListOptionalParams extends coreClient.OperationOptions {
819
+ export interface CvesListByFirmwareOptionalParams extends coreClient.OperationOptions {
894
820
  }
895
- /** Contains response data for the listGenerateComponentList operation. */
896
- export type FirmwareListGenerateComponentListResponse = ComponentList;
821
+ /** Contains response data for the listByFirmware operation. */
822
+ export type CvesListByFirmwareResponse = CveListResult;
897
823
  /** Optional parameters. */
898
- export interface FirmwareGenerateComponentDetailsOptionalParams extends coreClient.OperationOptions {
824
+ export interface CvesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
899
825
  }
900
- /** Contains response data for the generateComponentDetails operation. */
901
- export type FirmwareGenerateComponentDetailsResponse = Component;
826
+ /** Contains response data for the listByFirmwareNext operation. */
827
+ export type CvesListByFirmwareNextResponse = CveListResult;
902
828
  /** Optional parameters. */
903
- export interface FirmwareListGenerateBinaryHardeningListOptionalParams extends coreClient.OperationOptions {
829
+ export interface FirmwaresListByWorkspaceOptionalParams extends coreClient.OperationOptions {
904
830
  }
905
- /** Contains response data for the listGenerateBinaryHardeningList operation. */
906
- export type FirmwareListGenerateBinaryHardeningListResponse = BinaryHardeningList;
831
+ /** Contains response data for the listByWorkspace operation. */
832
+ export type FirmwaresListByWorkspaceResponse = FirmwareList;
907
833
  /** Optional parameters. */
908
- export interface FirmwareGenerateBinaryHardeningSummaryOptionalParams extends coreClient.OperationOptions {
834
+ export interface FirmwaresCreateOptionalParams extends coreClient.OperationOptions {
909
835
  }
910
- /** Contains response data for the generateBinaryHardeningSummary operation. */
911
- export type FirmwareGenerateBinaryHardeningSummaryResponse = BinaryHardeningSummary;
836
+ /** Contains response data for the create operation. */
837
+ export type FirmwaresCreateResponse = Firmware;
912
838
  /** Optional parameters. */
913
- export interface FirmwareGenerateBinaryHardeningDetailsOptionalParams extends coreClient.OperationOptions {
839
+ export interface FirmwaresUpdateOptionalParams extends coreClient.OperationOptions {
914
840
  }
915
- /** Contains response data for the generateBinaryHardeningDetails operation. */
916
- export type FirmwareGenerateBinaryHardeningDetailsResponse = BinaryHardening;
841
+ /** Contains response data for the update operation. */
842
+ export type FirmwaresUpdateResponse = Firmware;
917
843
  /** Optional parameters. */
918
- export interface FirmwareListGeneratePasswordHashListOptionalParams extends coreClient.OperationOptions {
844
+ export interface FirmwaresDeleteOptionalParams extends coreClient.OperationOptions {
919
845
  }
920
- /** Contains response data for the listGeneratePasswordHashList operation. */
921
- export type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
922
846
  /** Optional parameters. */
923
- export interface FirmwareListGenerateCveListOptionalParams extends coreClient.OperationOptions {
847
+ export interface FirmwaresGetOptionalParams extends coreClient.OperationOptions {
924
848
  }
925
- /** Contains response data for the listGenerateCveList operation. */
926
- export type FirmwareListGenerateCveListResponse = CveList;
849
+ /** Contains response data for the get operation. */
850
+ export type FirmwaresGetResponse = Firmware;
927
851
  /** Optional parameters. */
928
- export interface FirmwareGenerateCveSummaryOptionalParams extends coreClient.OperationOptions {
852
+ export interface FirmwaresGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
929
853
  }
930
- /** Contains response data for the generateCveSummary operation. */
931
- export type FirmwareGenerateCveSummaryResponse = CveSummary;
854
+ /** Contains response data for the generateDownloadUrl operation. */
855
+ export type FirmwaresGenerateDownloadUrlResponse = UrlToken;
932
856
  /** Optional parameters. */
933
- export interface FirmwareGenerateCryptoCertificateSummaryOptionalParams extends coreClient.OperationOptions {
857
+ export interface FirmwaresGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
934
858
  }
935
- /** Contains response data for the generateCryptoCertificateSummary operation. */
936
- export type FirmwareGenerateCryptoCertificateSummaryResponse = CryptoCertificateSummary;
859
+ /** Contains response data for the generateFilesystemDownloadUrl operation. */
860
+ export type FirmwaresGenerateFilesystemDownloadUrlResponse = UrlToken;
937
861
  /** Optional parameters. */
938
- export interface FirmwareGenerateCryptoKeySummaryOptionalParams extends coreClient.OperationOptions {
862
+ export interface FirmwaresListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
939
863
  }
940
- /** Contains response data for the generateCryptoKeySummary operation. */
941
- export type FirmwareGenerateCryptoKeySummaryResponse = CryptoKeySummary;
864
+ /** Contains response data for the listByWorkspaceNext operation. */
865
+ export type FirmwaresListByWorkspaceNextResponse = FirmwareList;
942
866
  /** Optional parameters. */
943
- export interface FirmwareListGenerateCryptoCertificateListOptionalParams extends coreClient.OperationOptions {
867
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
944
868
  }
945
- /** Contains response data for the listGenerateCryptoCertificateList operation. */
946
- export type FirmwareListGenerateCryptoCertificateListResponse = CryptoCertificateList;
869
+ /** Contains response data for the list operation. */
870
+ export type OperationsListResponse = OperationListResult;
947
871
  /** Optional parameters. */
948
- export interface FirmwareListGenerateCryptoKeyListOptionalParams extends coreClient.OperationOptions {
872
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
949
873
  }
950
- /** Contains response data for the listGenerateCryptoKeyList operation. */
951
- export type FirmwareListGenerateCryptoKeyListResponse = CryptoKeyList;
874
+ /** Contains response data for the listNext operation. */
875
+ export type OperationsListNextResponse = OperationListResult;
952
876
  /** Optional parameters. */
953
- export interface FirmwareListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
877
+ export interface PasswordHashesListByFirmwareOptionalParams extends coreClient.OperationOptions {
954
878
  }
955
- /** Contains response data for the listByWorkspaceNext operation. */
956
- export type FirmwareListByWorkspaceNextResponse = FirmwareList;
879
+ /** Contains response data for the listByFirmware operation. */
880
+ export type PasswordHashesListByFirmwareResponse = PasswordHashListResult;
957
881
  /** Optional parameters. */
958
- export interface FirmwareListGenerateComponentListNextOptionalParams extends coreClient.OperationOptions {
882
+ export interface PasswordHashesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
959
883
  }
960
- /** Contains response data for the listGenerateComponentListNext operation. */
961
- export type FirmwareListGenerateComponentListNextResponse = ComponentList;
884
+ /** Contains response data for the listByFirmwareNext operation. */
885
+ export type PasswordHashesListByFirmwareNextResponse = PasswordHashListResult;
962
886
  /** Optional parameters. */
963
- export interface FirmwareListGenerateBinaryHardeningListNextOptionalParams extends coreClient.OperationOptions {
887
+ export interface SbomComponentsListByFirmwareOptionalParams extends coreClient.OperationOptions {
964
888
  }
965
- /** Contains response data for the listGenerateBinaryHardeningListNext operation. */
966
- export type FirmwareListGenerateBinaryHardeningListNextResponse = BinaryHardeningList;
889
+ /** Contains response data for the listByFirmware operation. */
890
+ export type SbomComponentsListByFirmwareResponse = SbomComponentListResult;
967
891
  /** Optional parameters. */
968
- export interface FirmwareListGeneratePasswordHashListNextOptionalParams extends coreClient.OperationOptions {
892
+ export interface SbomComponentsListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
969
893
  }
970
- /** Contains response data for the listGeneratePasswordHashListNext operation. */
971
- export type FirmwareListGeneratePasswordHashListNextResponse = PasswordHashList;
894
+ /** Contains response data for the listByFirmwareNext operation. */
895
+ export type SbomComponentsListByFirmwareNextResponse = SbomComponentListResult;
972
896
  /** Optional parameters. */
973
- export interface FirmwareListGenerateCveListNextOptionalParams extends coreClient.OperationOptions {
897
+ export interface SummariesListByFirmwareOptionalParams extends coreClient.OperationOptions {
974
898
  }
975
- /** Contains response data for the listGenerateCveListNext operation. */
976
- export type FirmwareListGenerateCveListNextResponse = CveList;
899
+ /** Contains response data for the listByFirmware operation. */
900
+ export type SummariesListByFirmwareResponse = SummaryListResult;
977
901
  /** Optional parameters. */
978
- export interface FirmwareListGenerateCryptoCertificateListNextOptionalParams extends coreClient.OperationOptions {
902
+ export interface SummariesGetOptionalParams extends coreClient.OperationOptions {
979
903
  }
980
- /** Contains response data for the listGenerateCryptoCertificateListNext operation. */
981
- export type FirmwareListGenerateCryptoCertificateListNextResponse = CryptoCertificateList;
904
+ /** Contains response data for the get operation. */
905
+ export type SummariesGetResponse = SummaryResource;
982
906
  /** Optional parameters. */
983
- export interface FirmwareListGenerateCryptoKeyListNextOptionalParams extends coreClient.OperationOptions {
907
+ export interface SummariesListByFirmwareNextOptionalParams extends coreClient.OperationOptions {
984
908
  }
985
- /** Contains response data for the listGenerateCryptoKeyListNext operation. */
986
- export type FirmwareListGenerateCryptoKeyListNextResponse = CryptoKeyList;
909
+ /** Contains response data for the listByFirmwareNext operation. */
910
+ export type SummariesListByFirmwareNextResponse = SummaryListResult;
987
911
  /** Optional parameters. */
988
912
  export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
989
913
  }
@@ -1028,16 +952,6 @@ export interface WorkspacesListByResourceGroupNextOptionalParams extends coreCli
1028
952
  /** Contains response data for the listByResourceGroupNext operation. */
1029
953
  export type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
1030
954
  /** Optional parameters. */
1031
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1032
- }
1033
- /** Contains response data for the list operation. */
1034
- export type OperationsListResponse = OperationListResult;
1035
- /** Optional parameters. */
1036
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1037
- }
1038
- /** Contains response data for the listNext operation. */
1039
- export type OperationsListNextResponse = OperationListResult;
1040
- /** Optional parameters. */
1041
955
  export interface IoTFirmwareDefenseClientOptionalParams extends coreClient.ServiceClientOptions {
1042
956
  /** server parameter */
1043
957
  $host?: string;