@azure/arm-iotfirmwaredefense 1.0.0-alpha.20240307.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.
- package/CHANGELOG.md +2 -12
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/index.js +2254 -2121
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateCryptoKeyListSample.js → binaryHardeningListByFirmwareSample.js} +19 -20
- package/dist-esm/samples-dev/binaryHardeningListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateComponentListSample.js → cryptoCertificatesListByFirmwareSample.js} +21 -23
- package/dist-esm/samples-dev/cryptoCertificatesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateCryptoCertificateListSample.js → cryptoKeysListByFirmwareSample.js} +19 -20
- package/dist-esm/samples-dev/cryptoKeysListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/cvesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateCveListSample.js → cvesListByFirmwareSample.js} +21 -23
- package/dist-esm/samples-dev/cvesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareCreateSample.js → firmwaresCreateSample.js} +20 -18
- package/dist-esm/samples-dev/firmwaresCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareDeleteSample.js → firmwaresDeleteSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGenerateDownloadUrlSample.js → firmwaresGenerateDownloadUrlSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresGenerateDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGenerateFilesystemDownloadUrlSample.js → firmwaresGenerateFilesystemDownloadUrlSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresGenerateFilesystemDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGetSample.js → firmwaresGetSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresGetSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListByWorkspaceSample.js → firmwaresListByWorkspaceSample.js} +9 -9
- package/dist-esm/samples-dev/firmwaresListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwaresUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareUpdateSample.js → firmwaresUpdateSample.js} +20 -18
- package/dist-esm/samples-dev/firmwaresUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js +92 -0
- package/dist-esm/samples-dev/passwordHashesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js +92 -0
- package/dist-esm/samples-dev/sbomComponentsListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/summariesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/summariesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareGenerateSummarySample.js → summariesGetSample.js} +23 -23
- package/dist-esm/samples-dev/summariesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts +2 -0
- package/dist-esm/samples-dev/summariesListByFirmwareSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{firmwareListGenerateBinaryHardeningListSample.js → summariesListByFirmwareSample.js} +21 -23
- package/dist-esm/samples-dev/summariesListByFirmwareSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateSample.js +5 -4
- package/dist-esm/samples-dev/workspacesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesDeleteSample.js +2 -2
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +4 -4
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesGetSample.js +2 -2
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/workspacesUpdateSample.js +4 -4
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -1
- package/dist-esm/src/ioTFirmwareDefenseClient.d.ts +11 -4
- package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +1 -1
- package/dist-esm/src/ioTFirmwareDefenseClient.js +19 -12
- package/dist-esm/src/ioTFirmwareDefenseClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +516 -602
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +40 -92
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +45 -25
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1120 -1036
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +3 -2
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +56 -49
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/binaryHardening.d.ts +41 -0
- package/dist-esm/src/operations/binaryHardening.d.ts.map +1 -0
- package/dist-esm/src/operations/binaryHardening.js +155 -0
- package/dist-esm/src/operations/binaryHardening.js.map +1 -0
- package/dist-esm/src/operations/cryptoCertificates.d.ts +41 -0
- package/dist-esm/src/operations/cryptoCertificates.d.ts.map +1 -0
- package/dist-esm/src/operations/cryptoCertificates.js +155 -0
- package/dist-esm/src/operations/cryptoCertificates.js.map +1 -0
- package/dist-esm/src/operations/cryptoKeys.d.ts +41 -0
- package/dist-esm/src/operations/cryptoKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/cryptoKeys.js +155 -0
- package/dist-esm/src/operations/cryptoKeys.js.map +1 -0
- package/dist-esm/src/operations/cves.d.ts +41 -0
- package/dist-esm/src/operations/cves.d.ts.map +1 -0
- package/dist-esm/src/operations/cves.js +155 -0
- package/dist-esm/src/operations/cves.js.map +1 -0
- package/dist-esm/src/operations/firmwares.d.ts +88 -0
- package/dist-esm/src/operations/firmwares.d.ts.map +1 -0
- package/dist-esm/src/operations/firmwares.js +350 -0
- package/dist-esm/src/operations/firmwares.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +9 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +9 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/passwordHashes.d.ts +41 -0
- package/dist-esm/src/operations/passwordHashes.d.ts.map +1 -0
- package/dist-esm/src/operations/passwordHashes.js +155 -0
- package/dist-esm/src/operations/passwordHashes.js.map +1 -0
- package/dist-esm/src/operations/sbomComponents.d.ts +41 -0
- package/dist-esm/src/operations/sbomComponents.d.ts.map +1 -0
- package/dist-esm/src/operations/sbomComponents.js +155 -0
- package/dist-esm/src/operations/sbomComponents.js.map +1 -0
- package/dist-esm/src/operations/summaries.d.ts +52 -0
- package/dist-esm/src/operations/summaries.d.ts.map +1 -0
- package/dist-esm/src/operations/summaries.js +191 -0
- package/dist-esm/src/operations/summaries.js.map +1 -0
- package/dist-esm/src/operations/workspaces.js +46 -50
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/binaryHardening.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{firmwareOperations.js → binaryHardening.js} +1 -1
- package/dist-esm/src/operationsInterfaces/binaryHardening.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.js +9 -0
- package/dist-esm/src/operationsInterfaces/cryptoCertificates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/cryptoKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cves.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/cves.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cves.js +9 -0
- package/dist-esm/src/operationsInterfaces/cves.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/firmwares.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/firmwares.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/firmwares.js +9 -0
- package/dist-esm/src/operationsInterfaces/firmwares.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +9 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +9 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/passwordHashes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/passwordHashes.js +9 -0
- package/dist-esm/src/operationsInterfaces/passwordHashes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.js +9 -0
- package/dist-esm/src/operationsInterfaces/sbomComponents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/summaries.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/summaries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/summaries.js +9 -0
- package/dist-esm/src/operationsInterfaces/summaries.js.map +1 -0
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +1 -1
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -1
- package/package.json +8 -8
- package/review/arm-iotfirmwaredefense.api.md +329 -330
- package/src/ioTFirmwareDefenseClient.ts +53 -24
- package/src/models/index.ts +566 -646
- package/src/models/mappers.ts +1190 -1036
- package/src/models/parameters.ts +59 -51
- package/src/operations/binaryHardening.ts +216 -0
- package/src/operations/cryptoCertificates.ts +216 -0
- package/src/operations/cryptoKeys.ts +216 -0
- package/src/operations/cves.ts +216 -0
- package/src/operations/firmwares.ts +469 -0
- package/src/operations/index.ts +9 -2
- package/src/operations/operations.ts +16 -16
- package/src/operations/passwordHashes.ts +216 -0
- package/src/operations/sbomComponents.ts +216 -0
- package/src/operations/summaries.ts +265 -0
- package/src/operations/workspaces.ts +81 -92
- package/src/operationsInterfaces/binaryHardening.ts +31 -0
- package/src/operationsInterfaces/cryptoCertificates.ts +31 -0
- package/src/operationsInterfaces/cryptoKeys.ts +31 -0
- package/src/operationsInterfaces/cves.ts +28 -0
- package/src/operationsInterfaces/firmwares.ts +123 -0
- package/src/operationsInterfaces/index.ts +9 -2
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/passwordHashes.ts +31 -0
- package/src/operationsInterfaces/sbomComponents.ts +31 -0
- package/src/operationsInterfaces/summaries.ts +50 -0
- package/src/operationsInterfaces/workspaces.ts +8 -8
- package/src/pagingHelper.ts +1 -1
- package/types/arm-iotfirmwaredefense.d.ts +573 -675
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/firmwareCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js +0 -61
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js +0 -61
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js +0 -62
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareGetSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js +0 -94
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js.map +0 -1
- package/dist-esm/samples-dev/firmwareUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/firmwareUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/firmwareUpdateSample.js.map +0 -1
- package/dist-esm/src/operations/firmwareOperations.d.ts +0 -313
- package/dist-esm/src/operations/firmwareOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/firmwareOperations.js +0 -1358
- package/dist-esm/src/operations/firmwareOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts +0 -169
- package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/firmwareOperations.js.map +0 -1
- package/src/operations/firmwareOperations.ts +0 -1892
- package/src/operationsInterfaces/firmwareOperations.ts +0 -320
|
@@ -1,1892 +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
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { FirmwareOperations } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { IoTFirmwareDefenseClient } from "../ioTFirmwareDefenseClient";
|
|
16
|
-
import {
|
|
17
|
-
Firmware,
|
|
18
|
-
FirmwareListByWorkspaceNextOptionalParams,
|
|
19
|
-
FirmwareListByWorkspaceOptionalParams,
|
|
20
|
-
FirmwareListByWorkspaceResponse,
|
|
21
|
-
Component,
|
|
22
|
-
FirmwareListGenerateComponentListNextOptionalParams,
|
|
23
|
-
FirmwareListGenerateComponentListOptionalParams,
|
|
24
|
-
FirmwareListGenerateComponentListResponse,
|
|
25
|
-
BinaryHardening,
|
|
26
|
-
FirmwareListGenerateBinaryHardeningListNextOptionalParams,
|
|
27
|
-
FirmwareListGenerateBinaryHardeningListOptionalParams,
|
|
28
|
-
FirmwareListGenerateBinaryHardeningListResponse,
|
|
29
|
-
PasswordHash,
|
|
30
|
-
FirmwareListGeneratePasswordHashListNextOptionalParams,
|
|
31
|
-
FirmwareListGeneratePasswordHashListOptionalParams,
|
|
32
|
-
FirmwareListGeneratePasswordHashListResponse,
|
|
33
|
-
Cve,
|
|
34
|
-
FirmwareListGenerateCveListNextOptionalParams,
|
|
35
|
-
FirmwareListGenerateCveListOptionalParams,
|
|
36
|
-
FirmwareListGenerateCveListResponse,
|
|
37
|
-
CryptoCertificate,
|
|
38
|
-
FirmwareListGenerateCryptoCertificateListNextOptionalParams,
|
|
39
|
-
FirmwareListGenerateCryptoCertificateListOptionalParams,
|
|
40
|
-
FirmwareListGenerateCryptoCertificateListResponse,
|
|
41
|
-
CryptoKey,
|
|
42
|
-
FirmwareListGenerateCryptoKeyListNextOptionalParams,
|
|
43
|
-
FirmwareListGenerateCryptoKeyListOptionalParams,
|
|
44
|
-
FirmwareListGenerateCryptoKeyListResponse,
|
|
45
|
-
FirmwareCreateOptionalParams,
|
|
46
|
-
FirmwareCreateResponse,
|
|
47
|
-
FirmwareUpdateDefinition,
|
|
48
|
-
FirmwareUpdateOptionalParams,
|
|
49
|
-
FirmwareUpdateResponse,
|
|
50
|
-
FirmwareDeleteOptionalParams,
|
|
51
|
-
FirmwareGetOptionalParams,
|
|
52
|
-
FirmwareGetResponse,
|
|
53
|
-
FirmwareGenerateDownloadUrlOptionalParams,
|
|
54
|
-
FirmwareGenerateDownloadUrlResponse,
|
|
55
|
-
FirmwareGenerateFilesystemDownloadUrlOptionalParams,
|
|
56
|
-
FirmwareGenerateFilesystemDownloadUrlResponse,
|
|
57
|
-
FirmwareGenerateSummaryOptionalParams,
|
|
58
|
-
FirmwareGenerateSummaryResponse,
|
|
59
|
-
FirmwareGenerateComponentDetailsOptionalParams,
|
|
60
|
-
FirmwareGenerateComponentDetailsResponse,
|
|
61
|
-
FirmwareGenerateBinaryHardeningSummaryOptionalParams,
|
|
62
|
-
FirmwareGenerateBinaryHardeningSummaryResponse,
|
|
63
|
-
FirmwareGenerateBinaryHardeningDetailsOptionalParams,
|
|
64
|
-
FirmwareGenerateBinaryHardeningDetailsResponse,
|
|
65
|
-
FirmwareGenerateCveSummaryOptionalParams,
|
|
66
|
-
FirmwareGenerateCveSummaryResponse,
|
|
67
|
-
FirmwareGenerateCryptoCertificateSummaryOptionalParams,
|
|
68
|
-
FirmwareGenerateCryptoCertificateSummaryResponse,
|
|
69
|
-
FirmwareGenerateCryptoKeySummaryOptionalParams,
|
|
70
|
-
FirmwareGenerateCryptoKeySummaryResponse,
|
|
71
|
-
FirmwareListByWorkspaceNextResponse,
|
|
72
|
-
FirmwareListGenerateComponentListNextResponse,
|
|
73
|
-
FirmwareListGenerateBinaryHardeningListNextResponse,
|
|
74
|
-
FirmwareListGeneratePasswordHashListNextResponse,
|
|
75
|
-
FirmwareListGenerateCveListNextResponse,
|
|
76
|
-
FirmwareListGenerateCryptoCertificateListNextResponse,
|
|
77
|
-
FirmwareListGenerateCryptoKeyListNextResponse
|
|
78
|
-
} from "../models";
|
|
79
|
-
|
|
80
|
-
/// <reference lib="esnext.asynciterable" />
|
|
81
|
-
/** Class containing FirmwareOperations operations. */
|
|
82
|
-
export class FirmwareOperationsImpl implements FirmwareOperations {
|
|
83
|
-
private readonly client: IoTFirmwareDefenseClient;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Initialize a new instance of the class FirmwareOperations class.
|
|
87
|
-
* @param client Reference to the service client
|
|
88
|
-
*/
|
|
89
|
-
constructor(client: IoTFirmwareDefenseClient) {
|
|
90
|
-
this.client = client;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Lists all of firmwares inside a workspace.
|
|
95
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
96
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
97
|
-
* @param options The options parameters.
|
|
98
|
-
*/
|
|
99
|
-
public listByWorkspace(
|
|
100
|
-
resourceGroupName: string,
|
|
101
|
-
workspaceName: string,
|
|
102
|
-
options?: FirmwareListByWorkspaceOptionalParams
|
|
103
|
-
): PagedAsyncIterableIterator<Firmware> {
|
|
104
|
-
const iter = this.listByWorkspacePagingAll(
|
|
105
|
-
resourceGroupName,
|
|
106
|
-
workspaceName,
|
|
107
|
-
options
|
|
108
|
-
);
|
|
109
|
-
return {
|
|
110
|
-
next() {
|
|
111
|
-
return iter.next();
|
|
112
|
-
},
|
|
113
|
-
[Symbol.asyncIterator]() {
|
|
114
|
-
return this;
|
|
115
|
-
},
|
|
116
|
-
byPage: (settings?: PageSettings) => {
|
|
117
|
-
if (settings?.maxPageSize) {
|
|
118
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
119
|
-
}
|
|
120
|
-
return this.listByWorkspacePagingPage(
|
|
121
|
-
resourceGroupName,
|
|
122
|
-
workspaceName,
|
|
123
|
-
options,
|
|
124
|
-
settings
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
private async *listByWorkspacePagingPage(
|
|
131
|
-
resourceGroupName: string,
|
|
132
|
-
workspaceName: string,
|
|
133
|
-
options?: FirmwareListByWorkspaceOptionalParams,
|
|
134
|
-
settings?: PageSettings
|
|
135
|
-
): AsyncIterableIterator<Firmware[]> {
|
|
136
|
-
let result: FirmwareListByWorkspaceResponse;
|
|
137
|
-
let continuationToken = settings?.continuationToken;
|
|
138
|
-
if (!continuationToken) {
|
|
139
|
-
result = await this._listByWorkspace(
|
|
140
|
-
resourceGroupName,
|
|
141
|
-
workspaceName,
|
|
142
|
-
options
|
|
143
|
-
);
|
|
144
|
-
let page = result.value || [];
|
|
145
|
-
continuationToken = result.nextLink;
|
|
146
|
-
setContinuationToken(page, continuationToken);
|
|
147
|
-
yield page;
|
|
148
|
-
}
|
|
149
|
-
while (continuationToken) {
|
|
150
|
-
result = await this._listByWorkspaceNext(
|
|
151
|
-
resourceGroupName,
|
|
152
|
-
workspaceName,
|
|
153
|
-
continuationToken,
|
|
154
|
-
options
|
|
155
|
-
);
|
|
156
|
-
continuationToken = result.nextLink;
|
|
157
|
-
let page = result.value || [];
|
|
158
|
-
setContinuationToken(page, continuationToken);
|
|
159
|
-
yield page;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
private async *listByWorkspacePagingAll(
|
|
164
|
-
resourceGroupName: string,
|
|
165
|
-
workspaceName: string,
|
|
166
|
-
options?: FirmwareListByWorkspaceOptionalParams
|
|
167
|
-
): AsyncIterableIterator<Firmware> {
|
|
168
|
-
for await (const page of this.listByWorkspacePagingPage(
|
|
169
|
-
resourceGroupName,
|
|
170
|
-
workspaceName,
|
|
171
|
-
options
|
|
172
|
-
)) {
|
|
173
|
-
yield* page;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* The operation to list all components result for a firmware.
|
|
179
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
180
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
181
|
-
* @param firmwareId The id of the firmware.
|
|
182
|
-
* @param options The options parameters.
|
|
183
|
-
*/
|
|
184
|
-
public listGenerateComponentList(
|
|
185
|
-
resourceGroupName: string,
|
|
186
|
-
workspaceName: string,
|
|
187
|
-
firmwareId: string,
|
|
188
|
-
options?: FirmwareListGenerateComponentListOptionalParams
|
|
189
|
-
): PagedAsyncIterableIterator<Component> {
|
|
190
|
-
const iter = this.listGenerateComponentListPagingAll(
|
|
191
|
-
resourceGroupName,
|
|
192
|
-
workspaceName,
|
|
193
|
-
firmwareId,
|
|
194
|
-
options
|
|
195
|
-
);
|
|
196
|
-
return {
|
|
197
|
-
next() {
|
|
198
|
-
return iter.next();
|
|
199
|
-
},
|
|
200
|
-
[Symbol.asyncIterator]() {
|
|
201
|
-
return this;
|
|
202
|
-
},
|
|
203
|
-
byPage: (settings?: PageSettings) => {
|
|
204
|
-
if (settings?.maxPageSize) {
|
|
205
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
206
|
-
}
|
|
207
|
-
return this.listGenerateComponentListPagingPage(
|
|
208
|
-
resourceGroupName,
|
|
209
|
-
workspaceName,
|
|
210
|
-
firmwareId,
|
|
211
|
-
options,
|
|
212
|
-
settings
|
|
213
|
-
);
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
private async *listGenerateComponentListPagingPage(
|
|
219
|
-
resourceGroupName: string,
|
|
220
|
-
workspaceName: string,
|
|
221
|
-
firmwareId: string,
|
|
222
|
-
options?: FirmwareListGenerateComponentListOptionalParams,
|
|
223
|
-
settings?: PageSettings
|
|
224
|
-
): AsyncIterableIterator<Component[]> {
|
|
225
|
-
let result: FirmwareListGenerateComponentListResponse;
|
|
226
|
-
let continuationToken = settings?.continuationToken;
|
|
227
|
-
if (!continuationToken) {
|
|
228
|
-
result = await this._listGenerateComponentList(
|
|
229
|
-
resourceGroupName,
|
|
230
|
-
workspaceName,
|
|
231
|
-
firmwareId,
|
|
232
|
-
options
|
|
233
|
-
);
|
|
234
|
-
let page = result.value || [];
|
|
235
|
-
continuationToken = result.nextLink;
|
|
236
|
-
setContinuationToken(page, continuationToken);
|
|
237
|
-
yield page;
|
|
238
|
-
}
|
|
239
|
-
while (continuationToken) {
|
|
240
|
-
result = await this._listGenerateComponentListNext(
|
|
241
|
-
resourceGroupName,
|
|
242
|
-
workspaceName,
|
|
243
|
-
firmwareId,
|
|
244
|
-
continuationToken,
|
|
245
|
-
options
|
|
246
|
-
);
|
|
247
|
-
continuationToken = result.nextLink;
|
|
248
|
-
let page = result.value || [];
|
|
249
|
-
setContinuationToken(page, continuationToken);
|
|
250
|
-
yield page;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
private async *listGenerateComponentListPagingAll(
|
|
255
|
-
resourceGroupName: string,
|
|
256
|
-
workspaceName: string,
|
|
257
|
-
firmwareId: string,
|
|
258
|
-
options?: FirmwareListGenerateComponentListOptionalParams
|
|
259
|
-
): AsyncIterableIterator<Component> {
|
|
260
|
-
for await (const page of this.listGenerateComponentListPagingPage(
|
|
261
|
-
resourceGroupName,
|
|
262
|
-
workspaceName,
|
|
263
|
-
firmwareId,
|
|
264
|
-
options
|
|
265
|
-
)) {
|
|
266
|
-
yield* page;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* The operation to list all binary hardening result for a firmware.
|
|
272
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
273
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
274
|
-
* @param firmwareId The id of the firmware.
|
|
275
|
-
* @param options The options parameters.
|
|
276
|
-
*/
|
|
277
|
-
public listGenerateBinaryHardeningList(
|
|
278
|
-
resourceGroupName: string,
|
|
279
|
-
workspaceName: string,
|
|
280
|
-
firmwareId: string,
|
|
281
|
-
options?: FirmwareListGenerateBinaryHardeningListOptionalParams
|
|
282
|
-
): PagedAsyncIterableIterator<BinaryHardening> {
|
|
283
|
-
const iter = this.listGenerateBinaryHardeningListPagingAll(
|
|
284
|
-
resourceGroupName,
|
|
285
|
-
workspaceName,
|
|
286
|
-
firmwareId,
|
|
287
|
-
options
|
|
288
|
-
);
|
|
289
|
-
return {
|
|
290
|
-
next() {
|
|
291
|
-
return iter.next();
|
|
292
|
-
},
|
|
293
|
-
[Symbol.asyncIterator]() {
|
|
294
|
-
return this;
|
|
295
|
-
},
|
|
296
|
-
byPage: (settings?: PageSettings) => {
|
|
297
|
-
if (settings?.maxPageSize) {
|
|
298
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
299
|
-
}
|
|
300
|
-
return this.listGenerateBinaryHardeningListPagingPage(
|
|
301
|
-
resourceGroupName,
|
|
302
|
-
workspaceName,
|
|
303
|
-
firmwareId,
|
|
304
|
-
options,
|
|
305
|
-
settings
|
|
306
|
-
);
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
private async *listGenerateBinaryHardeningListPagingPage(
|
|
312
|
-
resourceGroupName: string,
|
|
313
|
-
workspaceName: string,
|
|
314
|
-
firmwareId: string,
|
|
315
|
-
options?: FirmwareListGenerateBinaryHardeningListOptionalParams,
|
|
316
|
-
settings?: PageSettings
|
|
317
|
-
): AsyncIterableIterator<BinaryHardening[]> {
|
|
318
|
-
let result: FirmwareListGenerateBinaryHardeningListResponse;
|
|
319
|
-
let continuationToken = settings?.continuationToken;
|
|
320
|
-
if (!continuationToken) {
|
|
321
|
-
result = await this._listGenerateBinaryHardeningList(
|
|
322
|
-
resourceGroupName,
|
|
323
|
-
workspaceName,
|
|
324
|
-
firmwareId,
|
|
325
|
-
options
|
|
326
|
-
);
|
|
327
|
-
let page = result.value || [];
|
|
328
|
-
continuationToken = result.nextLink;
|
|
329
|
-
setContinuationToken(page, continuationToken);
|
|
330
|
-
yield page;
|
|
331
|
-
}
|
|
332
|
-
while (continuationToken) {
|
|
333
|
-
result = await this._listGenerateBinaryHardeningListNext(
|
|
334
|
-
resourceGroupName,
|
|
335
|
-
workspaceName,
|
|
336
|
-
firmwareId,
|
|
337
|
-
continuationToken,
|
|
338
|
-
options
|
|
339
|
-
);
|
|
340
|
-
continuationToken = result.nextLink;
|
|
341
|
-
let page = result.value || [];
|
|
342
|
-
setContinuationToken(page, continuationToken);
|
|
343
|
-
yield page;
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
private async *listGenerateBinaryHardeningListPagingAll(
|
|
348
|
-
resourceGroupName: string,
|
|
349
|
-
workspaceName: string,
|
|
350
|
-
firmwareId: string,
|
|
351
|
-
options?: FirmwareListGenerateBinaryHardeningListOptionalParams
|
|
352
|
-
): AsyncIterableIterator<BinaryHardening> {
|
|
353
|
-
for await (const page of this.listGenerateBinaryHardeningListPagingPage(
|
|
354
|
-
resourceGroupName,
|
|
355
|
-
workspaceName,
|
|
356
|
-
firmwareId,
|
|
357
|
-
options
|
|
358
|
-
)) {
|
|
359
|
-
yield* page;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* The operation to list all password hashes for a firmware.
|
|
365
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
366
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
367
|
-
* @param firmwareId The id of the firmware.
|
|
368
|
-
* @param options The options parameters.
|
|
369
|
-
*/
|
|
370
|
-
public listGeneratePasswordHashList(
|
|
371
|
-
resourceGroupName: string,
|
|
372
|
-
workspaceName: string,
|
|
373
|
-
firmwareId: string,
|
|
374
|
-
options?: FirmwareListGeneratePasswordHashListOptionalParams
|
|
375
|
-
): PagedAsyncIterableIterator<PasswordHash> {
|
|
376
|
-
const iter = this.listGeneratePasswordHashListPagingAll(
|
|
377
|
-
resourceGroupName,
|
|
378
|
-
workspaceName,
|
|
379
|
-
firmwareId,
|
|
380
|
-
options
|
|
381
|
-
);
|
|
382
|
-
return {
|
|
383
|
-
next() {
|
|
384
|
-
return iter.next();
|
|
385
|
-
},
|
|
386
|
-
[Symbol.asyncIterator]() {
|
|
387
|
-
return this;
|
|
388
|
-
},
|
|
389
|
-
byPage: (settings?: PageSettings) => {
|
|
390
|
-
if (settings?.maxPageSize) {
|
|
391
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
392
|
-
}
|
|
393
|
-
return this.listGeneratePasswordHashListPagingPage(
|
|
394
|
-
resourceGroupName,
|
|
395
|
-
workspaceName,
|
|
396
|
-
firmwareId,
|
|
397
|
-
options,
|
|
398
|
-
settings
|
|
399
|
-
);
|
|
400
|
-
}
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
private async *listGeneratePasswordHashListPagingPage(
|
|
405
|
-
resourceGroupName: string,
|
|
406
|
-
workspaceName: string,
|
|
407
|
-
firmwareId: string,
|
|
408
|
-
options?: FirmwareListGeneratePasswordHashListOptionalParams,
|
|
409
|
-
settings?: PageSettings
|
|
410
|
-
): AsyncIterableIterator<PasswordHash[]> {
|
|
411
|
-
let result: FirmwareListGeneratePasswordHashListResponse;
|
|
412
|
-
let continuationToken = settings?.continuationToken;
|
|
413
|
-
if (!continuationToken) {
|
|
414
|
-
result = await this._listGeneratePasswordHashList(
|
|
415
|
-
resourceGroupName,
|
|
416
|
-
workspaceName,
|
|
417
|
-
firmwareId,
|
|
418
|
-
options
|
|
419
|
-
);
|
|
420
|
-
let page = result.value || [];
|
|
421
|
-
continuationToken = result.nextLink;
|
|
422
|
-
setContinuationToken(page, continuationToken);
|
|
423
|
-
yield page;
|
|
424
|
-
}
|
|
425
|
-
while (continuationToken) {
|
|
426
|
-
result = await this._listGeneratePasswordHashListNext(
|
|
427
|
-
resourceGroupName,
|
|
428
|
-
workspaceName,
|
|
429
|
-
firmwareId,
|
|
430
|
-
continuationToken,
|
|
431
|
-
options
|
|
432
|
-
);
|
|
433
|
-
continuationToken = result.nextLink;
|
|
434
|
-
let page = result.value || [];
|
|
435
|
-
setContinuationToken(page, continuationToken);
|
|
436
|
-
yield page;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
private async *listGeneratePasswordHashListPagingAll(
|
|
441
|
-
resourceGroupName: string,
|
|
442
|
-
workspaceName: string,
|
|
443
|
-
firmwareId: string,
|
|
444
|
-
options?: FirmwareListGeneratePasswordHashListOptionalParams
|
|
445
|
-
): AsyncIterableIterator<PasswordHash> {
|
|
446
|
-
for await (const page of this.listGeneratePasswordHashListPagingPage(
|
|
447
|
-
resourceGroupName,
|
|
448
|
-
workspaceName,
|
|
449
|
-
firmwareId,
|
|
450
|
-
options
|
|
451
|
-
)) {
|
|
452
|
-
yield* page;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* The operation to list all cve results for a firmware.
|
|
458
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
459
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
460
|
-
* @param firmwareId The id of the firmware.
|
|
461
|
-
* @param options The options parameters.
|
|
462
|
-
*/
|
|
463
|
-
public listGenerateCveList(
|
|
464
|
-
resourceGroupName: string,
|
|
465
|
-
workspaceName: string,
|
|
466
|
-
firmwareId: string,
|
|
467
|
-
options?: FirmwareListGenerateCveListOptionalParams
|
|
468
|
-
): PagedAsyncIterableIterator<Cve> {
|
|
469
|
-
const iter = this.listGenerateCveListPagingAll(
|
|
470
|
-
resourceGroupName,
|
|
471
|
-
workspaceName,
|
|
472
|
-
firmwareId,
|
|
473
|
-
options
|
|
474
|
-
);
|
|
475
|
-
return {
|
|
476
|
-
next() {
|
|
477
|
-
return iter.next();
|
|
478
|
-
},
|
|
479
|
-
[Symbol.asyncIterator]() {
|
|
480
|
-
return this;
|
|
481
|
-
},
|
|
482
|
-
byPage: (settings?: PageSettings) => {
|
|
483
|
-
if (settings?.maxPageSize) {
|
|
484
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
485
|
-
}
|
|
486
|
-
return this.listGenerateCveListPagingPage(
|
|
487
|
-
resourceGroupName,
|
|
488
|
-
workspaceName,
|
|
489
|
-
firmwareId,
|
|
490
|
-
options,
|
|
491
|
-
settings
|
|
492
|
-
);
|
|
493
|
-
}
|
|
494
|
-
};
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
private async *listGenerateCveListPagingPage(
|
|
498
|
-
resourceGroupName: string,
|
|
499
|
-
workspaceName: string,
|
|
500
|
-
firmwareId: string,
|
|
501
|
-
options?: FirmwareListGenerateCveListOptionalParams,
|
|
502
|
-
settings?: PageSettings
|
|
503
|
-
): AsyncIterableIterator<Cve[]> {
|
|
504
|
-
let result: FirmwareListGenerateCveListResponse;
|
|
505
|
-
let continuationToken = settings?.continuationToken;
|
|
506
|
-
if (!continuationToken) {
|
|
507
|
-
result = await this._listGenerateCveList(
|
|
508
|
-
resourceGroupName,
|
|
509
|
-
workspaceName,
|
|
510
|
-
firmwareId,
|
|
511
|
-
options
|
|
512
|
-
);
|
|
513
|
-
let page = result.value || [];
|
|
514
|
-
continuationToken = result.nextLink;
|
|
515
|
-
setContinuationToken(page, continuationToken);
|
|
516
|
-
yield page;
|
|
517
|
-
}
|
|
518
|
-
while (continuationToken) {
|
|
519
|
-
result = await this._listGenerateCveListNext(
|
|
520
|
-
resourceGroupName,
|
|
521
|
-
workspaceName,
|
|
522
|
-
firmwareId,
|
|
523
|
-
continuationToken,
|
|
524
|
-
options
|
|
525
|
-
);
|
|
526
|
-
continuationToken = result.nextLink;
|
|
527
|
-
let page = result.value || [];
|
|
528
|
-
setContinuationToken(page, continuationToken);
|
|
529
|
-
yield page;
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
private async *listGenerateCveListPagingAll(
|
|
534
|
-
resourceGroupName: string,
|
|
535
|
-
workspaceName: string,
|
|
536
|
-
firmwareId: string,
|
|
537
|
-
options?: FirmwareListGenerateCveListOptionalParams
|
|
538
|
-
): AsyncIterableIterator<Cve> {
|
|
539
|
-
for await (const page of this.listGenerateCveListPagingPage(
|
|
540
|
-
resourceGroupName,
|
|
541
|
-
workspaceName,
|
|
542
|
-
firmwareId,
|
|
543
|
-
options
|
|
544
|
-
)) {
|
|
545
|
-
yield* page;
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
/**
|
|
550
|
-
* The operation to list all crypto certificates for a firmware.
|
|
551
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
552
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
553
|
-
* @param firmwareId The id of the firmware.
|
|
554
|
-
* @param options The options parameters.
|
|
555
|
-
*/
|
|
556
|
-
public listGenerateCryptoCertificateList(
|
|
557
|
-
resourceGroupName: string,
|
|
558
|
-
workspaceName: string,
|
|
559
|
-
firmwareId: string,
|
|
560
|
-
options?: FirmwareListGenerateCryptoCertificateListOptionalParams
|
|
561
|
-
): PagedAsyncIterableIterator<CryptoCertificate> {
|
|
562
|
-
const iter = this.listGenerateCryptoCertificateListPagingAll(
|
|
563
|
-
resourceGroupName,
|
|
564
|
-
workspaceName,
|
|
565
|
-
firmwareId,
|
|
566
|
-
options
|
|
567
|
-
);
|
|
568
|
-
return {
|
|
569
|
-
next() {
|
|
570
|
-
return iter.next();
|
|
571
|
-
},
|
|
572
|
-
[Symbol.asyncIterator]() {
|
|
573
|
-
return this;
|
|
574
|
-
},
|
|
575
|
-
byPage: (settings?: PageSettings) => {
|
|
576
|
-
if (settings?.maxPageSize) {
|
|
577
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
578
|
-
}
|
|
579
|
-
return this.listGenerateCryptoCertificateListPagingPage(
|
|
580
|
-
resourceGroupName,
|
|
581
|
-
workspaceName,
|
|
582
|
-
firmwareId,
|
|
583
|
-
options,
|
|
584
|
-
settings
|
|
585
|
-
);
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
private async *listGenerateCryptoCertificateListPagingPage(
|
|
591
|
-
resourceGroupName: string,
|
|
592
|
-
workspaceName: string,
|
|
593
|
-
firmwareId: string,
|
|
594
|
-
options?: FirmwareListGenerateCryptoCertificateListOptionalParams,
|
|
595
|
-
settings?: PageSettings
|
|
596
|
-
): AsyncIterableIterator<CryptoCertificate[]> {
|
|
597
|
-
let result: FirmwareListGenerateCryptoCertificateListResponse;
|
|
598
|
-
let continuationToken = settings?.continuationToken;
|
|
599
|
-
if (!continuationToken) {
|
|
600
|
-
result = await this._listGenerateCryptoCertificateList(
|
|
601
|
-
resourceGroupName,
|
|
602
|
-
workspaceName,
|
|
603
|
-
firmwareId,
|
|
604
|
-
options
|
|
605
|
-
);
|
|
606
|
-
let page = result.value || [];
|
|
607
|
-
continuationToken = result.nextLink;
|
|
608
|
-
setContinuationToken(page, continuationToken);
|
|
609
|
-
yield page;
|
|
610
|
-
}
|
|
611
|
-
while (continuationToken) {
|
|
612
|
-
result = await this._listGenerateCryptoCertificateListNext(
|
|
613
|
-
resourceGroupName,
|
|
614
|
-
workspaceName,
|
|
615
|
-
firmwareId,
|
|
616
|
-
continuationToken,
|
|
617
|
-
options
|
|
618
|
-
);
|
|
619
|
-
continuationToken = result.nextLink;
|
|
620
|
-
let page = result.value || [];
|
|
621
|
-
setContinuationToken(page, continuationToken);
|
|
622
|
-
yield page;
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
private async *listGenerateCryptoCertificateListPagingAll(
|
|
627
|
-
resourceGroupName: string,
|
|
628
|
-
workspaceName: string,
|
|
629
|
-
firmwareId: string,
|
|
630
|
-
options?: FirmwareListGenerateCryptoCertificateListOptionalParams
|
|
631
|
-
): AsyncIterableIterator<CryptoCertificate> {
|
|
632
|
-
for await (const page of this.listGenerateCryptoCertificateListPagingPage(
|
|
633
|
-
resourceGroupName,
|
|
634
|
-
workspaceName,
|
|
635
|
-
firmwareId,
|
|
636
|
-
options
|
|
637
|
-
)) {
|
|
638
|
-
yield* page;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* The operation to list all crypto keys for a firmware.
|
|
644
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
645
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
646
|
-
* @param firmwareId The id of the firmware.
|
|
647
|
-
* @param options The options parameters.
|
|
648
|
-
*/
|
|
649
|
-
public listGenerateCryptoKeyList(
|
|
650
|
-
resourceGroupName: string,
|
|
651
|
-
workspaceName: string,
|
|
652
|
-
firmwareId: string,
|
|
653
|
-
options?: FirmwareListGenerateCryptoKeyListOptionalParams
|
|
654
|
-
): PagedAsyncIterableIterator<CryptoKey> {
|
|
655
|
-
const iter = this.listGenerateCryptoKeyListPagingAll(
|
|
656
|
-
resourceGroupName,
|
|
657
|
-
workspaceName,
|
|
658
|
-
firmwareId,
|
|
659
|
-
options
|
|
660
|
-
);
|
|
661
|
-
return {
|
|
662
|
-
next() {
|
|
663
|
-
return iter.next();
|
|
664
|
-
},
|
|
665
|
-
[Symbol.asyncIterator]() {
|
|
666
|
-
return this;
|
|
667
|
-
},
|
|
668
|
-
byPage: (settings?: PageSettings) => {
|
|
669
|
-
if (settings?.maxPageSize) {
|
|
670
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
671
|
-
}
|
|
672
|
-
return this.listGenerateCryptoKeyListPagingPage(
|
|
673
|
-
resourceGroupName,
|
|
674
|
-
workspaceName,
|
|
675
|
-
firmwareId,
|
|
676
|
-
options,
|
|
677
|
-
settings
|
|
678
|
-
);
|
|
679
|
-
}
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
private async *listGenerateCryptoKeyListPagingPage(
|
|
684
|
-
resourceGroupName: string,
|
|
685
|
-
workspaceName: string,
|
|
686
|
-
firmwareId: string,
|
|
687
|
-
options?: FirmwareListGenerateCryptoKeyListOptionalParams,
|
|
688
|
-
settings?: PageSettings
|
|
689
|
-
): AsyncIterableIterator<CryptoKey[]> {
|
|
690
|
-
let result: FirmwareListGenerateCryptoKeyListResponse;
|
|
691
|
-
let continuationToken = settings?.continuationToken;
|
|
692
|
-
if (!continuationToken) {
|
|
693
|
-
result = await this._listGenerateCryptoKeyList(
|
|
694
|
-
resourceGroupName,
|
|
695
|
-
workspaceName,
|
|
696
|
-
firmwareId,
|
|
697
|
-
options
|
|
698
|
-
);
|
|
699
|
-
let page = result.value || [];
|
|
700
|
-
continuationToken = result.nextLink;
|
|
701
|
-
setContinuationToken(page, continuationToken);
|
|
702
|
-
yield page;
|
|
703
|
-
}
|
|
704
|
-
while (continuationToken) {
|
|
705
|
-
result = await this._listGenerateCryptoKeyListNext(
|
|
706
|
-
resourceGroupName,
|
|
707
|
-
workspaceName,
|
|
708
|
-
firmwareId,
|
|
709
|
-
continuationToken,
|
|
710
|
-
options
|
|
711
|
-
);
|
|
712
|
-
continuationToken = result.nextLink;
|
|
713
|
-
let page = result.value || [];
|
|
714
|
-
setContinuationToken(page, continuationToken);
|
|
715
|
-
yield page;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
private async *listGenerateCryptoKeyListPagingAll(
|
|
720
|
-
resourceGroupName: string,
|
|
721
|
-
workspaceName: string,
|
|
722
|
-
firmwareId: string,
|
|
723
|
-
options?: FirmwareListGenerateCryptoKeyListOptionalParams
|
|
724
|
-
): AsyncIterableIterator<CryptoKey> {
|
|
725
|
-
for await (const page of this.listGenerateCryptoKeyListPagingPage(
|
|
726
|
-
resourceGroupName,
|
|
727
|
-
workspaceName,
|
|
728
|
-
firmwareId,
|
|
729
|
-
options
|
|
730
|
-
)) {
|
|
731
|
-
yield* page;
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* Lists all of firmwares inside a workspace.
|
|
737
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
738
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
739
|
-
* @param options The options parameters.
|
|
740
|
-
*/
|
|
741
|
-
private _listByWorkspace(
|
|
742
|
-
resourceGroupName: string,
|
|
743
|
-
workspaceName: string,
|
|
744
|
-
options?: FirmwareListByWorkspaceOptionalParams
|
|
745
|
-
): Promise<FirmwareListByWorkspaceResponse> {
|
|
746
|
-
return this.client.sendOperationRequest(
|
|
747
|
-
{ resourceGroupName, workspaceName, options },
|
|
748
|
-
listByWorkspaceOperationSpec
|
|
749
|
-
);
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
/**
|
|
753
|
-
* The operation to create a firmware.
|
|
754
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
755
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
756
|
-
* @param firmwareId The id of the firmware.
|
|
757
|
-
* @param firmware Details of the firmware being created or updated.
|
|
758
|
-
* @param options The options parameters.
|
|
759
|
-
*/
|
|
760
|
-
create(
|
|
761
|
-
resourceGroupName: string,
|
|
762
|
-
workspaceName: string,
|
|
763
|
-
firmwareId: string,
|
|
764
|
-
firmware: Firmware,
|
|
765
|
-
options?: FirmwareCreateOptionalParams
|
|
766
|
-
): Promise<FirmwareCreateResponse> {
|
|
767
|
-
return this.client.sendOperationRequest(
|
|
768
|
-
{ resourceGroupName, workspaceName, firmwareId, firmware, options },
|
|
769
|
-
createOperationSpec
|
|
770
|
-
);
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* The operation to update firmware.
|
|
775
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
776
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
777
|
-
* @param firmwareId The id of the firmware.
|
|
778
|
-
* @param firmware Details of the firmware being created or updated.
|
|
779
|
-
* @param options The options parameters.
|
|
780
|
-
*/
|
|
781
|
-
update(
|
|
782
|
-
resourceGroupName: string,
|
|
783
|
-
workspaceName: string,
|
|
784
|
-
firmwareId: string,
|
|
785
|
-
firmware: FirmwareUpdateDefinition,
|
|
786
|
-
options?: FirmwareUpdateOptionalParams
|
|
787
|
-
): Promise<FirmwareUpdateResponse> {
|
|
788
|
-
return this.client.sendOperationRequest(
|
|
789
|
-
{ resourceGroupName, workspaceName, firmwareId, firmware, options },
|
|
790
|
-
updateOperationSpec
|
|
791
|
-
);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* The operation to delete a firmware.
|
|
796
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
797
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
798
|
-
* @param firmwareId The id of the firmware.
|
|
799
|
-
* @param options The options parameters.
|
|
800
|
-
*/
|
|
801
|
-
delete(
|
|
802
|
-
resourceGroupName: string,
|
|
803
|
-
workspaceName: string,
|
|
804
|
-
firmwareId: string,
|
|
805
|
-
options?: FirmwareDeleteOptionalParams
|
|
806
|
-
): Promise<void> {
|
|
807
|
-
return this.client.sendOperationRequest(
|
|
808
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
809
|
-
deleteOperationSpec
|
|
810
|
-
);
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* Get firmware.
|
|
815
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
816
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
817
|
-
* @param firmwareId The id of the firmware.
|
|
818
|
-
* @param options The options parameters.
|
|
819
|
-
*/
|
|
820
|
-
get(
|
|
821
|
-
resourceGroupName: string,
|
|
822
|
-
workspaceName: string,
|
|
823
|
-
firmwareId: string,
|
|
824
|
-
options?: FirmwareGetOptionalParams
|
|
825
|
-
): Promise<FirmwareGetResponse> {
|
|
826
|
-
return this.client.sendOperationRequest(
|
|
827
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
828
|
-
getOperationSpec
|
|
829
|
-
);
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* The operation to a url for file download.
|
|
834
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
835
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
836
|
-
* @param firmwareId The id of the firmware.
|
|
837
|
-
* @param options The options parameters.
|
|
838
|
-
*/
|
|
839
|
-
generateDownloadUrl(
|
|
840
|
-
resourceGroupName: string,
|
|
841
|
-
workspaceName: string,
|
|
842
|
-
firmwareId: string,
|
|
843
|
-
options?: FirmwareGenerateDownloadUrlOptionalParams
|
|
844
|
-
): Promise<FirmwareGenerateDownloadUrlResponse> {
|
|
845
|
-
return this.client.sendOperationRequest(
|
|
846
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
847
|
-
generateDownloadUrlOperationSpec
|
|
848
|
-
);
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* The operation to a url for tar file download.
|
|
853
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
854
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
855
|
-
* @param firmwareId The id of the firmware.
|
|
856
|
-
* @param options The options parameters.
|
|
857
|
-
*/
|
|
858
|
-
generateFilesystemDownloadUrl(
|
|
859
|
-
resourceGroupName: string,
|
|
860
|
-
workspaceName: string,
|
|
861
|
-
firmwareId: string,
|
|
862
|
-
options?: FirmwareGenerateFilesystemDownloadUrlOptionalParams
|
|
863
|
-
): Promise<FirmwareGenerateFilesystemDownloadUrlResponse> {
|
|
864
|
-
return this.client.sendOperationRequest(
|
|
865
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
866
|
-
generateFilesystemDownloadUrlOperationSpec
|
|
867
|
-
);
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* The operation to get a scan summary.
|
|
872
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
873
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
874
|
-
* @param firmwareId The id of the firmware.
|
|
875
|
-
* @param options The options parameters.
|
|
876
|
-
*/
|
|
877
|
-
generateSummary(
|
|
878
|
-
resourceGroupName: string,
|
|
879
|
-
workspaceName: string,
|
|
880
|
-
firmwareId: string,
|
|
881
|
-
options?: FirmwareGenerateSummaryOptionalParams
|
|
882
|
-
): Promise<FirmwareGenerateSummaryResponse> {
|
|
883
|
-
return this.client.sendOperationRequest(
|
|
884
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
885
|
-
generateSummaryOperationSpec
|
|
886
|
-
);
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* The operation to list all components result for a firmware.
|
|
891
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
892
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
893
|
-
* @param firmwareId The id of the firmware.
|
|
894
|
-
* @param options The options parameters.
|
|
895
|
-
*/
|
|
896
|
-
private _listGenerateComponentList(
|
|
897
|
-
resourceGroupName: string,
|
|
898
|
-
workspaceName: string,
|
|
899
|
-
firmwareId: string,
|
|
900
|
-
options?: FirmwareListGenerateComponentListOptionalParams
|
|
901
|
-
): Promise<FirmwareListGenerateComponentListResponse> {
|
|
902
|
-
return this.client.sendOperationRequest(
|
|
903
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
904
|
-
listGenerateComponentListOperationSpec
|
|
905
|
-
);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* The operation to get component details for a firmware.
|
|
910
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
911
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
912
|
-
* @param firmwareId The id of the firmware.
|
|
913
|
-
* @param options The options parameters.
|
|
914
|
-
*/
|
|
915
|
-
generateComponentDetails(
|
|
916
|
-
resourceGroupName: string,
|
|
917
|
-
workspaceName: string,
|
|
918
|
-
firmwareId: string,
|
|
919
|
-
options?: FirmwareGenerateComponentDetailsOptionalParams
|
|
920
|
-
): Promise<FirmwareGenerateComponentDetailsResponse> {
|
|
921
|
-
return this.client.sendOperationRequest(
|
|
922
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
923
|
-
generateComponentDetailsOperationSpec
|
|
924
|
-
);
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* The operation to list all binary hardening result for a firmware.
|
|
929
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
930
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
931
|
-
* @param firmwareId The id of the firmware.
|
|
932
|
-
* @param options The options parameters.
|
|
933
|
-
*/
|
|
934
|
-
private _listGenerateBinaryHardeningList(
|
|
935
|
-
resourceGroupName: string,
|
|
936
|
-
workspaceName: string,
|
|
937
|
-
firmwareId: string,
|
|
938
|
-
options?: FirmwareListGenerateBinaryHardeningListOptionalParams
|
|
939
|
-
): Promise<FirmwareListGenerateBinaryHardeningListResponse> {
|
|
940
|
-
return this.client.sendOperationRequest(
|
|
941
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
942
|
-
listGenerateBinaryHardeningListOperationSpec
|
|
943
|
-
);
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* The operation to list the binary hardening summary percentages for a firmware.
|
|
948
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
949
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
950
|
-
* @param firmwareId The id of the firmware.
|
|
951
|
-
* @param options The options parameters.
|
|
952
|
-
*/
|
|
953
|
-
generateBinaryHardeningSummary(
|
|
954
|
-
resourceGroupName: string,
|
|
955
|
-
workspaceName: string,
|
|
956
|
-
firmwareId: string,
|
|
957
|
-
options?: FirmwareGenerateBinaryHardeningSummaryOptionalParams
|
|
958
|
-
): Promise<FirmwareGenerateBinaryHardeningSummaryResponse> {
|
|
959
|
-
return this.client.sendOperationRequest(
|
|
960
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
961
|
-
generateBinaryHardeningSummaryOperationSpec
|
|
962
|
-
);
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
* The operation to get binary hardening details for a firmware.
|
|
967
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
968
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
969
|
-
* @param firmwareId The id of the firmware.
|
|
970
|
-
* @param options The options parameters.
|
|
971
|
-
*/
|
|
972
|
-
generateBinaryHardeningDetails(
|
|
973
|
-
resourceGroupName: string,
|
|
974
|
-
workspaceName: string,
|
|
975
|
-
firmwareId: string,
|
|
976
|
-
options?: FirmwareGenerateBinaryHardeningDetailsOptionalParams
|
|
977
|
-
): Promise<FirmwareGenerateBinaryHardeningDetailsResponse> {
|
|
978
|
-
return this.client.sendOperationRequest(
|
|
979
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
980
|
-
generateBinaryHardeningDetailsOperationSpec
|
|
981
|
-
);
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
/**
|
|
985
|
-
* The operation to list all password hashes for a firmware.
|
|
986
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
987
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
988
|
-
* @param firmwareId The id of the firmware.
|
|
989
|
-
* @param options The options parameters.
|
|
990
|
-
*/
|
|
991
|
-
private _listGeneratePasswordHashList(
|
|
992
|
-
resourceGroupName: string,
|
|
993
|
-
workspaceName: string,
|
|
994
|
-
firmwareId: string,
|
|
995
|
-
options?: FirmwareListGeneratePasswordHashListOptionalParams
|
|
996
|
-
): Promise<FirmwareListGeneratePasswordHashListResponse> {
|
|
997
|
-
return this.client.sendOperationRequest(
|
|
998
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
999
|
-
listGeneratePasswordHashListOperationSpec
|
|
1000
|
-
);
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* The operation to list all cve results for a firmware.
|
|
1005
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1006
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1007
|
-
* @param firmwareId The id of the firmware.
|
|
1008
|
-
* @param options The options parameters.
|
|
1009
|
-
*/
|
|
1010
|
-
private _listGenerateCveList(
|
|
1011
|
-
resourceGroupName: string,
|
|
1012
|
-
workspaceName: string,
|
|
1013
|
-
firmwareId: string,
|
|
1014
|
-
options?: FirmwareListGenerateCveListOptionalParams
|
|
1015
|
-
): Promise<FirmwareListGenerateCveListResponse> {
|
|
1016
|
-
return this.client.sendOperationRequest(
|
|
1017
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
1018
|
-
listGenerateCveListOperationSpec
|
|
1019
|
-
);
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* The operation to provide a high level summary of the CVEs reported for the firmware image.
|
|
1024
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1025
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1026
|
-
* @param firmwareId The id of the firmware.
|
|
1027
|
-
* @param options The options parameters.
|
|
1028
|
-
*/
|
|
1029
|
-
generateCveSummary(
|
|
1030
|
-
resourceGroupName: string,
|
|
1031
|
-
workspaceName: string,
|
|
1032
|
-
firmwareId: string,
|
|
1033
|
-
options?: FirmwareGenerateCveSummaryOptionalParams
|
|
1034
|
-
): Promise<FirmwareGenerateCveSummaryResponse> {
|
|
1035
|
-
return this.client.sendOperationRequest(
|
|
1036
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
1037
|
-
generateCveSummaryOperationSpec
|
|
1038
|
-
);
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
/**
|
|
1042
|
-
* The operation to provide a high level summary of the discovered cryptographic certificates reported
|
|
1043
|
-
* for the firmware image.
|
|
1044
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1045
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1046
|
-
* @param firmwareId The id of the firmware.
|
|
1047
|
-
* @param options The options parameters.
|
|
1048
|
-
*/
|
|
1049
|
-
generateCryptoCertificateSummary(
|
|
1050
|
-
resourceGroupName: string,
|
|
1051
|
-
workspaceName: string,
|
|
1052
|
-
firmwareId: string,
|
|
1053
|
-
options?: FirmwareGenerateCryptoCertificateSummaryOptionalParams
|
|
1054
|
-
): Promise<FirmwareGenerateCryptoCertificateSummaryResponse> {
|
|
1055
|
-
return this.client.sendOperationRequest(
|
|
1056
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
1057
|
-
generateCryptoCertificateSummaryOperationSpec
|
|
1058
|
-
);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* The operation to provide a high level summary of the discovered cryptographic keys reported for the
|
|
1063
|
-
* firmware image.
|
|
1064
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1065
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1066
|
-
* @param firmwareId The id of the firmware.
|
|
1067
|
-
* @param options The options parameters.
|
|
1068
|
-
*/
|
|
1069
|
-
generateCryptoKeySummary(
|
|
1070
|
-
resourceGroupName: string,
|
|
1071
|
-
workspaceName: string,
|
|
1072
|
-
firmwareId: string,
|
|
1073
|
-
options?: FirmwareGenerateCryptoKeySummaryOptionalParams
|
|
1074
|
-
): Promise<FirmwareGenerateCryptoKeySummaryResponse> {
|
|
1075
|
-
return this.client.sendOperationRequest(
|
|
1076
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
1077
|
-
generateCryptoKeySummaryOperationSpec
|
|
1078
|
-
);
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* The operation to list all crypto certificates for a firmware.
|
|
1083
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1084
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1085
|
-
* @param firmwareId The id of the firmware.
|
|
1086
|
-
* @param options The options parameters.
|
|
1087
|
-
*/
|
|
1088
|
-
private _listGenerateCryptoCertificateList(
|
|
1089
|
-
resourceGroupName: string,
|
|
1090
|
-
workspaceName: string,
|
|
1091
|
-
firmwareId: string,
|
|
1092
|
-
options?: FirmwareListGenerateCryptoCertificateListOptionalParams
|
|
1093
|
-
): Promise<FirmwareListGenerateCryptoCertificateListResponse> {
|
|
1094
|
-
return this.client.sendOperationRequest(
|
|
1095
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
1096
|
-
listGenerateCryptoCertificateListOperationSpec
|
|
1097
|
-
);
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
/**
|
|
1101
|
-
* The operation to list all crypto keys for a firmware.
|
|
1102
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1103
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1104
|
-
* @param firmwareId The id of the firmware.
|
|
1105
|
-
* @param options The options parameters.
|
|
1106
|
-
*/
|
|
1107
|
-
private _listGenerateCryptoKeyList(
|
|
1108
|
-
resourceGroupName: string,
|
|
1109
|
-
workspaceName: string,
|
|
1110
|
-
firmwareId: string,
|
|
1111
|
-
options?: FirmwareListGenerateCryptoKeyListOptionalParams
|
|
1112
|
-
): Promise<FirmwareListGenerateCryptoKeyListResponse> {
|
|
1113
|
-
return this.client.sendOperationRequest(
|
|
1114
|
-
{ resourceGroupName, workspaceName, firmwareId, options },
|
|
1115
|
-
listGenerateCryptoKeyListOperationSpec
|
|
1116
|
-
);
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
/**
|
|
1120
|
-
* ListByWorkspaceNext
|
|
1121
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1122
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1123
|
-
* @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.
|
|
1124
|
-
* @param options The options parameters.
|
|
1125
|
-
*/
|
|
1126
|
-
private _listByWorkspaceNext(
|
|
1127
|
-
resourceGroupName: string,
|
|
1128
|
-
workspaceName: string,
|
|
1129
|
-
nextLink: string,
|
|
1130
|
-
options?: FirmwareListByWorkspaceNextOptionalParams
|
|
1131
|
-
): Promise<FirmwareListByWorkspaceNextResponse> {
|
|
1132
|
-
return this.client.sendOperationRequest(
|
|
1133
|
-
{ resourceGroupName, workspaceName, nextLink, options },
|
|
1134
|
-
listByWorkspaceNextOperationSpec
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* ListGenerateComponentListNext
|
|
1140
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1141
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1142
|
-
* @param firmwareId The id of the firmware.
|
|
1143
|
-
* @param nextLink The nextLink from the previous successful call to the ListGenerateComponentList
|
|
1144
|
-
* method.
|
|
1145
|
-
* @param options The options parameters.
|
|
1146
|
-
*/
|
|
1147
|
-
private _listGenerateComponentListNext(
|
|
1148
|
-
resourceGroupName: string,
|
|
1149
|
-
workspaceName: string,
|
|
1150
|
-
firmwareId: string,
|
|
1151
|
-
nextLink: string,
|
|
1152
|
-
options?: FirmwareListGenerateComponentListNextOptionalParams
|
|
1153
|
-
): Promise<FirmwareListGenerateComponentListNextResponse> {
|
|
1154
|
-
return this.client.sendOperationRequest(
|
|
1155
|
-
{ resourceGroupName, workspaceName, firmwareId, nextLink, options },
|
|
1156
|
-
listGenerateComponentListNextOperationSpec
|
|
1157
|
-
);
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* ListGenerateBinaryHardeningListNext
|
|
1162
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1163
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1164
|
-
* @param firmwareId The id of the firmware.
|
|
1165
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1166
|
-
* ListGenerateBinaryHardeningList method.
|
|
1167
|
-
* @param options The options parameters.
|
|
1168
|
-
*/
|
|
1169
|
-
private _listGenerateBinaryHardeningListNext(
|
|
1170
|
-
resourceGroupName: string,
|
|
1171
|
-
workspaceName: string,
|
|
1172
|
-
firmwareId: string,
|
|
1173
|
-
nextLink: string,
|
|
1174
|
-
options?: FirmwareListGenerateBinaryHardeningListNextOptionalParams
|
|
1175
|
-
): Promise<FirmwareListGenerateBinaryHardeningListNextResponse> {
|
|
1176
|
-
return this.client.sendOperationRequest(
|
|
1177
|
-
{ resourceGroupName, workspaceName, firmwareId, nextLink, options },
|
|
1178
|
-
listGenerateBinaryHardeningListNextOperationSpec
|
|
1179
|
-
);
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
/**
|
|
1183
|
-
* ListGeneratePasswordHashListNext
|
|
1184
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1185
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1186
|
-
* @param firmwareId The id of the firmware.
|
|
1187
|
-
* @param nextLink The nextLink from the previous successful call to the ListGeneratePasswordHashList
|
|
1188
|
-
* method.
|
|
1189
|
-
* @param options The options parameters.
|
|
1190
|
-
*/
|
|
1191
|
-
private _listGeneratePasswordHashListNext(
|
|
1192
|
-
resourceGroupName: string,
|
|
1193
|
-
workspaceName: string,
|
|
1194
|
-
firmwareId: string,
|
|
1195
|
-
nextLink: string,
|
|
1196
|
-
options?: FirmwareListGeneratePasswordHashListNextOptionalParams
|
|
1197
|
-
): Promise<FirmwareListGeneratePasswordHashListNextResponse> {
|
|
1198
|
-
return this.client.sendOperationRequest(
|
|
1199
|
-
{ resourceGroupName, workspaceName, firmwareId, nextLink, options },
|
|
1200
|
-
listGeneratePasswordHashListNextOperationSpec
|
|
1201
|
-
);
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* ListGenerateCveListNext
|
|
1206
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1207
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1208
|
-
* @param firmwareId The id of the firmware.
|
|
1209
|
-
* @param nextLink The nextLink from the previous successful call to the ListGenerateCveList method.
|
|
1210
|
-
* @param options The options parameters.
|
|
1211
|
-
*/
|
|
1212
|
-
private _listGenerateCveListNext(
|
|
1213
|
-
resourceGroupName: string,
|
|
1214
|
-
workspaceName: string,
|
|
1215
|
-
firmwareId: string,
|
|
1216
|
-
nextLink: string,
|
|
1217
|
-
options?: FirmwareListGenerateCveListNextOptionalParams
|
|
1218
|
-
): Promise<FirmwareListGenerateCveListNextResponse> {
|
|
1219
|
-
return this.client.sendOperationRequest(
|
|
1220
|
-
{ resourceGroupName, workspaceName, firmwareId, nextLink, options },
|
|
1221
|
-
listGenerateCveListNextOperationSpec
|
|
1222
|
-
);
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* ListGenerateCryptoCertificateListNext
|
|
1227
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1228
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1229
|
-
* @param firmwareId The id of the firmware.
|
|
1230
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
1231
|
-
* ListGenerateCryptoCertificateList method.
|
|
1232
|
-
* @param options The options parameters.
|
|
1233
|
-
*/
|
|
1234
|
-
private _listGenerateCryptoCertificateListNext(
|
|
1235
|
-
resourceGroupName: string,
|
|
1236
|
-
workspaceName: string,
|
|
1237
|
-
firmwareId: string,
|
|
1238
|
-
nextLink: string,
|
|
1239
|
-
options?: FirmwareListGenerateCryptoCertificateListNextOptionalParams
|
|
1240
|
-
): Promise<FirmwareListGenerateCryptoCertificateListNextResponse> {
|
|
1241
|
-
return this.client.sendOperationRequest(
|
|
1242
|
-
{ resourceGroupName, workspaceName, firmwareId, nextLink, options },
|
|
1243
|
-
listGenerateCryptoCertificateListNextOperationSpec
|
|
1244
|
-
);
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* ListGenerateCryptoKeyListNext
|
|
1249
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1250
|
-
* @param workspaceName The name of the firmware analysis workspace.
|
|
1251
|
-
* @param firmwareId The id of the firmware.
|
|
1252
|
-
* @param nextLink The nextLink from the previous successful call to the ListGenerateCryptoKeyList
|
|
1253
|
-
* method.
|
|
1254
|
-
* @param options The options parameters.
|
|
1255
|
-
*/
|
|
1256
|
-
private _listGenerateCryptoKeyListNext(
|
|
1257
|
-
resourceGroupName: string,
|
|
1258
|
-
workspaceName: string,
|
|
1259
|
-
firmwareId: string,
|
|
1260
|
-
nextLink: string,
|
|
1261
|
-
options?: FirmwareListGenerateCryptoKeyListNextOptionalParams
|
|
1262
|
-
): Promise<FirmwareListGenerateCryptoKeyListNextResponse> {
|
|
1263
|
-
return this.client.sendOperationRequest(
|
|
1264
|
-
{ resourceGroupName, workspaceName, firmwareId, nextLink, options },
|
|
1265
|
-
listGenerateCryptoKeyListNextOperationSpec
|
|
1266
|
-
);
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
// Operation Specifications
|
|
1270
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1271
|
-
|
|
1272
|
-
const listByWorkspaceOperationSpec: coreClient.OperationSpec = {
|
|
1273
|
-
path:
|
|
1274
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares",
|
|
1275
|
-
httpMethod: "GET",
|
|
1276
|
-
responses: {
|
|
1277
|
-
200: {
|
|
1278
|
-
bodyMapper: Mappers.FirmwareList
|
|
1279
|
-
},
|
|
1280
|
-
default: {
|
|
1281
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1284
|
-
queryParameters: [Parameters.apiVersion],
|
|
1285
|
-
urlParameters: [
|
|
1286
|
-
Parameters.$host,
|
|
1287
|
-
Parameters.subscriptionId,
|
|
1288
|
-
Parameters.resourceGroupName,
|
|
1289
|
-
Parameters.workspaceName
|
|
1290
|
-
],
|
|
1291
|
-
headerParameters: [Parameters.accept],
|
|
1292
|
-
serializer
|
|
1293
|
-
};
|
|
1294
|
-
const createOperationSpec: coreClient.OperationSpec = {
|
|
1295
|
-
path:
|
|
1296
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}",
|
|
1297
|
-
httpMethod: "PUT",
|
|
1298
|
-
responses: {
|
|
1299
|
-
200: {
|
|
1300
|
-
bodyMapper: Mappers.Firmware
|
|
1301
|
-
},
|
|
1302
|
-
201: {
|
|
1303
|
-
bodyMapper: Mappers.Firmware
|
|
1304
|
-
},
|
|
1305
|
-
default: {
|
|
1306
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
requestBody: Parameters.firmware,
|
|
1310
|
-
queryParameters: [Parameters.apiVersion],
|
|
1311
|
-
urlParameters: [
|
|
1312
|
-
Parameters.$host,
|
|
1313
|
-
Parameters.subscriptionId,
|
|
1314
|
-
Parameters.resourceGroupName,
|
|
1315
|
-
Parameters.workspaceName,
|
|
1316
|
-
Parameters.firmwareId
|
|
1317
|
-
],
|
|
1318
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1319
|
-
mediaType: "json",
|
|
1320
|
-
serializer
|
|
1321
|
-
};
|
|
1322
|
-
const updateOperationSpec: coreClient.OperationSpec = {
|
|
1323
|
-
path:
|
|
1324
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}",
|
|
1325
|
-
httpMethod: "PATCH",
|
|
1326
|
-
responses: {
|
|
1327
|
-
200: {
|
|
1328
|
-
bodyMapper: Mappers.Firmware
|
|
1329
|
-
},
|
|
1330
|
-
201: {
|
|
1331
|
-
bodyMapper: Mappers.Firmware
|
|
1332
|
-
},
|
|
1333
|
-
default: {
|
|
1334
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1335
|
-
}
|
|
1336
|
-
},
|
|
1337
|
-
requestBody: Parameters.firmware1,
|
|
1338
|
-
queryParameters: [Parameters.apiVersion],
|
|
1339
|
-
urlParameters: [
|
|
1340
|
-
Parameters.$host,
|
|
1341
|
-
Parameters.subscriptionId,
|
|
1342
|
-
Parameters.resourceGroupName,
|
|
1343
|
-
Parameters.workspaceName,
|
|
1344
|
-
Parameters.firmwareId
|
|
1345
|
-
],
|
|
1346
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1347
|
-
mediaType: "json",
|
|
1348
|
-
serializer
|
|
1349
|
-
};
|
|
1350
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1351
|
-
path:
|
|
1352
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}",
|
|
1353
|
-
httpMethod: "DELETE",
|
|
1354
|
-
responses: {
|
|
1355
|
-
200: {},
|
|
1356
|
-
204: {},
|
|
1357
|
-
default: {
|
|
1358
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1359
|
-
}
|
|
1360
|
-
},
|
|
1361
|
-
queryParameters: [Parameters.apiVersion],
|
|
1362
|
-
urlParameters: [
|
|
1363
|
-
Parameters.$host,
|
|
1364
|
-
Parameters.subscriptionId,
|
|
1365
|
-
Parameters.resourceGroupName,
|
|
1366
|
-
Parameters.workspaceName,
|
|
1367
|
-
Parameters.firmwareId
|
|
1368
|
-
],
|
|
1369
|
-
headerParameters: [Parameters.accept],
|
|
1370
|
-
serializer
|
|
1371
|
-
};
|
|
1372
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
1373
|
-
path:
|
|
1374
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}",
|
|
1375
|
-
httpMethod: "GET",
|
|
1376
|
-
responses: {
|
|
1377
|
-
200: {
|
|
1378
|
-
bodyMapper: Mappers.Firmware
|
|
1379
|
-
},
|
|
1380
|
-
default: {
|
|
1381
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1382
|
-
}
|
|
1383
|
-
},
|
|
1384
|
-
queryParameters: [Parameters.apiVersion],
|
|
1385
|
-
urlParameters: [
|
|
1386
|
-
Parameters.$host,
|
|
1387
|
-
Parameters.subscriptionId,
|
|
1388
|
-
Parameters.resourceGroupName,
|
|
1389
|
-
Parameters.workspaceName,
|
|
1390
|
-
Parameters.firmwareId
|
|
1391
|
-
],
|
|
1392
|
-
headerParameters: [Parameters.accept],
|
|
1393
|
-
serializer
|
|
1394
|
-
};
|
|
1395
|
-
const generateDownloadUrlOperationSpec: coreClient.OperationSpec = {
|
|
1396
|
-
path:
|
|
1397
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateDownloadUrl",
|
|
1398
|
-
httpMethod: "POST",
|
|
1399
|
-
responses: {
|
|
1400
|
-
200: {
|
|
1401
|
-
bodyMapper: Mappers.UrlToken
|
|
1402
|
-
},
|
|
1403
|
-
default: {
|
|
1404
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1405
|
-
}
|
|
1406
|
-
},
|
|
1407
|
-
queryParameters: [Parameters.apiVersion],
|
|
1408
|
-
urlParameters: [
|
|
1409
|
-
Parameters.$host,
|
|
1410
|
-
Parameters.subscriptionId,
|
|
1411
|
-
Parameters.resourceGroupName,
|
|
1412
|
-
Parameters.workspaceName,
|
|
1413
|
-
Parameters.firmwareId
|
|
1414
|
-
],
|
|
1415
|
-
headerParameters: [Parameters.accept],
|
|
1416
|
-
serializer
|
|
1417
|
-
};
|
|
1418
|
-
const generateFilesystemDownloadUrlOperationSpec: coreClient.OperationSpec = {
|
|
1419
|
-
path:
|
|
1420
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateFilesystemDownloadUrl",
|
|
1421
|
-
httpMethod: "POST",
|
|
1422
|
-
responses: {
|
|
1423
|
-
200: {
|
|
1424
|
-
bodyMapper: Mappers.UrlToken
|
|
1425
|
-
},
|
|
1426
|
-
default: {
|
|
1427
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1428
|
-
}
|
|
1429
|
-
},
|
|
1430
|
-
queryParameters: [Parameters.apiVersion],
|
|
1431
|
-
urlParameters: [
|
|
1432
|
-
Parameters.$host,
|
|
1433
|
-
Parameters.subscriptionId,
|
|
1434
|
-
Parameters.resourceGroupName,
|
|
1435
|
-
Parameters.workspaceName,
|
|
1436
|
-
Parameters.firmwareId
|
|
1437
|
-
],
|
|
1438
|
-
headerParameters: [Parameters.accept],
|
|
1439
|
-
serializer
|
|
1440
|
-
};
|
|
1441
|
-
const generateSummaryOperationSpec: coreClient.OperationSpec = {
|
|
1442
|
-
path:
|
|
1443
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateSummary",
|
|
1444
|
-
httpMethod: "POST",
|
|
1445
|
-
responses: {
|
|
1446
|
-
200: {
|
|
1447
|
-
bodyMapper: Mappers.FirmwareSummary
|
|
1448
|
-
},
|
|
1449
|
-
default: {
|
|
1450
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
queryParameters: [Parameters.apiVersion],
|
|
1454
|
-
urlParameters: [
|
|
1455
|
-
Parameters.$host,
|
|
1456
|
-
Parameters.subscriptionId,
|
|
1457
|
-
Parameters.resourceGroupName,
|
|
1458
|
-
Parameters.workspaceName,
|
|
1459
|
-
Parameters.firmwareId
|
|
1460
|
-
],
|
|
1461
|
-
headerParameters: [Parameters.accept],
|
|
1462
|
-
serializer
|
|
1463
|
-
};
|
|
1464
|
-
const listGenerateComponentListOperationSpec: coreClient.OperationSpec = {
|
|
1465
|
-
path:
|
|
1466
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateComponentList",
|
|
1467
|
-
httpMethod: "POST",
|
|
1468
|
-
responses: {
|
|
1469
|
-
200: {
|
|
1470
|
-
bodyMapper: Mappers.ComponentList
|
|
1471
|
-
},
|
|
1472
|
-
default: {
|
|
1473
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
|
-
queryParameters: [Parameters.apiVersion],
|
|
1477
|
-
urlParameters: [
|
|
1478
|
-
Parameters.$host,
|
|
1479
|
-
Parameters.subscriptionId,
|
|
1480
|
-
Parameters.resourceGroupName,
|
|
1481
|
-
Parameters.workspaceName,
|
|
1482
|
-
Parameters.firmwareId
|
|
1483
|
-
],
|
|
1484
|
-
headerParameters: [Parameters.accept],
|
|
1485
|
-
serializer
|
|
1486
|
-
};
|
|
1487
|
-
const generateComponentDetailsOperationSpec: coreClient.OperationSpec = {
|
|
1488
|
-
path:
|
|
1489
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateComponentDetails",
|
|
1490
|
-
httpMethod: "POST",
|
|
1491
|
-
responses: {
|
|
1492
|
-
200: {
|
|
1493
|
-
bodyMapper: Mappers.Component
|
|
1494
|
-
},
|
|
1495
|
-
default: {
|
|
1496
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
queryParameters: [Parameters.apiVersion],
|
|
1500
|
-
urlParameters: [
|
|
1501
|
-
Parameters.$host,
|
|
1502
|
-
Parameters.subscriptionId,
|
|
1503
|
-
Parameters.resourceGroupName,
|
|
1504
|
-
Parameters.workspaceName,
|
|
1505
|
-
Parameters.firmwareId
|
|
1506
|
-
],
|
|
1507
|
-
headerParameters: [Parameters.accept],
|
|
1508
|
-
serializer
|
|
1509
|
-
};
|
|
1510
|
-
const listGenerateBinaryHardeningListOperationSpec: coreClient.OperationSpec = {
|
|
1511
|
-
path:
|
|
1512
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateBinaryHardeningList",
|
|
1513
|
-
httpMethod: "POST",
|
|
1514
|
-
responses: {
|
|
1515
|
-
200: {
|
|
1516
|
-
bodyMapper: Mappers.BinaryHardeningList
|
|
1517
|
-
},
|
|
1518
|
-
default: {
|
|
1519
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1520
|
-
}
|
|
1521
|
-
},
|
|
1522
|
-
queryParameters: [Parameters.apiVersion],
|
|
1523
|
-
urlParameters: [
|
|
1524
|
-
Parameters.$host,
|
|
1525
|
-
Parameters.subscriptionId,
|
|
1526
|
-
Parameters.resourceGroupName,
|
|
1527
|
-
Parameters.workspaceName,
|
|
1528
|
-
Parameters.firmwareId
|
|
1529
|
-
],
|
|
1530
|
-
headerParameters: [Parameters.accept],
|
|
1531
|
-
serializer
|
|
1532
|
-
};
|
|
1533
|
-
const generateBinaryHardeningSummaryOperationSpec: coreClient.OperationSpec = {
|
|
1534
|
-
path:
|
|
1535
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateBinaryHardeningSummary",
|
|
1536
|
-
httpMethod: "POST",
|
|
1537
|
-
responses: {
|
|
1538
|
-
200: {
|
|
1539
|
-
bodyMapper: Mappers.BinaryHardeningSummary
|
|
1540
|
-
},
|
|
1541
|
-
default: {
|
|
1542
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1543
|
-
}
|
|
1544
|
-
},
|
|
1545
|
-
queryParameters: [Parameters.apiVersion],
|
|
1546
|
-
urlParameters: [
|
|
1547
|
-
Parameters.$host,
|
|
1548
|
-
Parameters.subscriptionId,
|
|
1549
|
-
Parameters.resourceGroupName,
|
|
1550
|
-
Parameters.workspaceName,
|
|
1551
|
-
Parameters.firmwareId
|
|
1552
|
-
],
|
|
1553
|
-
headerParameters: [Parameters.accept],
|
|
1554
|
-
serializer
|
|
1555
|
-
};
|
|
1556
|
-
const generateBinaryHardeningDetailsOperationSpec: coreClient.OperationSpec = {
|
|
1557
|
-
path:
|
|
1558
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateBinaryHardeningDetails",
|
|
1559
|
-
httpMethod: "POST",
|
|
1560
|
-
responses: {
|
|
1561
|
-
200: {
|
|
1562
|
-
bodyMapper: Mappers.BinaryHardening
|
|
1563
|
-
},
|
|
1564
|
-
default: {
|
|
1565
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
queryParameters: [Parameters.apiVersion],
|
|
1569
|
-
urlParameters: [
|
|
1570
|
-
Parameters.$host,
|
|
1571
|
-
Parameters.subscriptionId,
|
|
1572
|
-
Parameters.resourceGroupName,
|
|
1573
|
-
Parameters.workspaceName,
|
|
1574
|
-
Parameters.firmwareId
|
|
1575
|
-
],
|
|
1576
|
-
headerParameters: [Parameters.accept],
|
|
1577
|
-
serializer
|
|
1578
|
-
};
|
|
1579
|
-
const listGeneratePasswordHashListOperationSpec: coreClient.OperationSpec = {
|
|
1580
|
-
path:
|
|
1581
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generatePasswordHashList",
|
|
1582
|
-
httpMethod: "POST",
|
|
1583
|
-
responses: {
|
|
1584
|
-
200: {
|
|
1585
|
-
bodyMapper: Mappers.PasswordHashList
|
|
1586
|
-
},
|
|
1587
|
-
default: {
|
|
1588
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
|
-
queryParameters: [Parameters.apiVersion],
|
|
1592
|
-
urlParameters: [
|
|
1593
|
-
Parameters.$host,
|
|
1594
|
-
Parameters.subscriptionId,
|
|
1595
|
-
Parameters.resourceGroupName,
|
|
1596
|
-
Parameters.workspaceName,
|
|
1597
|
-
Parameters.firmwareId
|
|
1598
|
-
],
|
|
1599
|
-
headerParameters: [Parameters.accept],
|
|
1600
|
-
serializer
|
|
1601
|
-
};
|
|
1602
|
-
const listGenerateCveListOperationSpec: coreClient.OperationSpec = {
|
|
1603
|
-
path:
|
|
1604
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateCveList",
|
|
1605
|
-
httpMethod: "POST",
|
|
1606
|
-
responses: {
|
|
1607
|
-
200: {
|
|
1608
|
-
bodyMapper: Mappers.CveList
|
|
1609
|
-
},
|
|
1610
|
-
default: {
|
|
1611
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1612
|
-
}
|
|
1613
|
-
},
|
|
1614
|
-
queryParameters: [Parameters.apiVersion],
|
|
1615
|
-
urlParameters: [
|
|
1616
|
-
Parameters.$host,
|
|
1617
|
-
Parameters.subscriptionId,
|
|
1618
|
-
Parameters.resourceGroupName,
|
|
1619
|
-
Parameters.workspaceName,
|
|
1620
|
-
Parameters.firmwareId
|
|
1621
|
-
],
|
|
1622
|
-
headerParameters: [Parameters.accept],
|
|
1623
|
-
serializer
|
|
1624
|
-
};
|
|
1625
|
-
const generateCveSummaryOperationSpec: coreClient.OperationSpec = {
|
|
1626
|
-
path:
|
|
1627
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateCveSummary",
|
|
1628
|
-
httpMethod: "POST",
|
|
1629
|
-
responses: {
|
|
1630
|
-
200: {
|
|
1631
|
-
bodyMapper: Mappers.CveSummary
|
|
1632
|
-
},
|
|
1633
|
-
default: {
|
|
1634
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
queryParameters: [Parameters.apiVersion],
|
|
1638
|
-
urlParameters: [
|
|
1639
|
-
Parameters.$host,
|
|
1640
|
-
Parameters.subscriptionId,
|
|
1641
|
-
Parameters.resourceGroupName,
|
|
1642
|
-
Parameters.workspaceName,
|
|
1643
|
-
Parameters.firmwareId
|
|
1644
|
-
],
|
|
1645
|
-
headerParameters: [Parameters.accept],
|
|
1646
|
-
serializer
|
|
1647
|
-
};
|
|
1648
|
-
const generateCryptoCertificateSummaryOperationSpec: coreClient.OperationSpec = {
|
|
1649
|
-
path:
|
|
1650
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateCryptoCertificateSummary",
|
|
1651
|
-
httpMethod: "POST",
|
|
1652
|
-
responses: {
|
|
1653
|
-
200: {
|
|
1654
|
-
bodyMapper: Mappers.CryptoCertificateSummary
|
|
1655
|
-
},
|
|
1656
|
-
default: {
|
|
1657
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1658
|
-
}
|
|
1659
|
-
},
|
|
1660
|
-
queryParameters: [Parameters.apiVersion],
|
|
1661
|
-
urlParameters: [
|
|
1662
|
-
Parameters.$host,
|
|
1663
|
-
Parameters.subscriptionId,
|
|
1664
|
-
Parameters.resourceGroupName,
|
|
1665
|
-
Parameters.workspaceName,
|
|
1666
|
-
Parameters.firmwareId
|
|
1667
|
-
],
|
|
1668
|
-
headerParameters: [Parameters.accept],
|
|
1669
|
-
serializer
|
|
1670
|
-
};
|
|
1671
|
-
const generateCryptoKeySummaryOperationSpec: coreClient.OperationSpec = {
|
|
1672
|
-
path:
|
|
1673
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateCryptoKeySummary",
|
|
1674
|
-
httpMethod: "POST",
|
|
1675
|
-
responses: {
|
|
1676
|
-
200: {
|
|
1677
|
-
bodyMapper: Mappers.CryptoKeySummary
|
|
1678
|
-
},
|
|
1679
|
-
default: {
|
|
1680
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1681
|
-
}
|
|
1682
|
-
},
|
|
1683
|
-
queryParameters: [Parameters.apiVersion],
|
|
1684
|
-
urlParameters: [
|
|
1685
|
-
Parameters.$host,
|
|
1686
|
-
Parameters.subscriptionId,
|
|
1687
|
-
Parameters.resourceGroupName,
|
|
1688
|
-
Parameters.workspaceName,
|
|
1689
|
-
Parameters.firmwareId
|
|
1690
|
-
],
|
|
1691
|
-
headerParameters: [Parameters.accept],
|
|
1692
|
-
serializer
|
|
1693
|
-
};
|
|
1694
|
-
const listGenerateCryptoCertificateListOperationSpec: coreClient.OperationSpec = {
|
|
1695
|
-
path:
|
|
1696
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateCryptoCertificateList",
|
|
1697
|
-
httpMethod: "POST",
|
|
1698
|
-
responses: {
|
|
1699
|
-
200: {
|
|
1700
|
-
bodyMapper: Mappers.CryptoCertificateList
|
|
1701
|
-
},
|
|
1702
|
-
default: {
|
|
1703
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1704
|
-
}
|
|
1705
|
-
},
|
|
1706
|
-
queryParameters: [Parameters.apiVersion],
|
|
1707
|
-
urlParameters: [
|
|
1708
|
-
Parameters.$host,
|
|
1709
|
-
Parameters.subscriptionId,
|
|
1710
|
-
Parameters.resourceGroupName,
|
|
1711
|
-
Parameters.workspaceName,
|
|
1712
|
-
Parameters.firmwareId
|
|
1713
|
-
],
|
|
1714
|
-
headerParameters: [Parameters.accept],
|
|
1715
|
-
serializer
|
|
1716
|
-
};
|
|
1717
|
-
const listGenerateCryptoKeyListOperationSpec: coreClient.OperationSpec = {
|
|
1718
|
-
path:
|
|
1719
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTFirmwareDefense/workspaces/{workspaceName}/firmwares/{firmwareId}/generateCryptoKeyList",
|
|
1720
|
-
httpMethod: "POST",
|
|
1721
|
-
responses: {
|
|
1722
|
-
200: {
|
|
1723
|
-
bodyMapper: Mappers.CryptoKeyList
|
|
1724
|
-
},
|
|
1725
|
-
default: {
|
|
1726
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1727
|
-
}
|
|
1728
|
-
},
|
|
1729
|
-
queryParameters: [Parameters.apiVersion],
|
|
1730
|
-
urlParameters: [
|
|
1731
|
-
Parameters.$host,
|
|
1732
|
-
Parameters.subscriptionId,
|
|
1733
|
-
Parameters.resourceGroupName,
|
|
1734
|
-
Parameters.workspaceName,
|
|
1735
|
-
Parameters.firmwareId
|
|
1736
|
-
],
|
|
1737
|
-
headerParameters: [Parameters.accept],
|
|
1738
|
-
serializer
|
|
1739
|
-
};
|
|
1740
|
-
const listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {
|
|
1741
|
-
path: "{nextLink}",
|
|
1742
|
-
httpMethod: "GET",
|
|
1743
|
-
responses: {
|
|
1744
|
-
200: {
|
|
1745
|
-
bodyMapper: Mappers.FirmwareList
|
|
1746
|
-
},
|
|
1747
|
-
default: {
|
|
1748
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
urlParameters: [
|
|
1752
|
-
Parameters.$host,
|
|
1753
|
-
Parameters.subscriptionId,
|
|
1754
|
-
Parameters.resourceGroupName,
|
|
1755
|
-
Parameters.workspaceName,
|
|
1756
|
-
Parameters.nextLink
|
|
1757
|
-
],
|
|
1758
|
-
headerParameters: [Parameters.accept],
|
|
1759
|
-
serializer
|
|
1760
|
-
};
|
|
1761
|
-
const listGenerateComponentListNextOperationSpec: coreClient.OperationSpec = {
|
|
1762
|
-
path: "{nextLink}",
|
|
1763
|
-
httpMethod: "GET",
|
|
1764
|
-
responses: {
|
|
1765
|
-
200: {
|
|
1766
|
-
bodyMapper: Mappers.ComponentList
|
|
1767
|
-
},
|
|
1768
|
-
default: {
|
|
1769
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1770
|
-
}
|
|
1771
|
-
},
|
|
1772
|
-
urlParameters: [
|
|
1773
|
-
Parameters.$host,
|
|
1774
|
-
Parameters.subscriptionId,
|
|
1775
|
-
Parameters.resourceGroupName,
|
|
1776
|
-
Parameters.workspaceName,
|
|
1777
|
-
Parameters.firmwareId,
|
|
1778
|
-
Parameters.nextLink
|
|
1779
|
-
],
|
|
1780
|
-
headerParameters: [Parameters.accept],
|
|
1781
|
-
serializer
|
|
1782
|
-
};
|
|
1783
|
-
const listGenerateBinaryHardeningListNextOperationSpec: coreClient.OperationSpec = {
|
|
1784
|
-
path: "{nextLink}",
|
|
1785
|
-
httpMethod: "GET",
|
|
1786
|
-
responses: {
|
|
1787
|
-
200: {
|
|
1788
|
-
bodyMapper: Mappers.BinaryHardeningList
|
|
1789
|
-
},
|
|
1790
|
-
default: {
|
|
1791
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
urlParameters: [
|
|
1795
|
-
Parameters.$host,
|
|
1796
|
-
Parameters.subscriptionId,
|
|
1797
|
-
Parameters.resourceGroupName,
|
|
1798
|
-
Parameters.workspaceName,
|
|
1799
|
-
Parameters.firmwareId,
|
|
1800
|
-
Parameters.nextLink
|
|
1801
|
-
],
|
|
1802
|
-
headerParameters: [Parameters.accept],
|
|
1803
|
-
serializer
|
|
1804
|
-
};
|
|
1805
|
-
const listGeneratePasswordHashListNextOperationSpec: coreClient.OperationSpec = {
|
|
1806
|
-
path: "{nextLink}",
|
|
1807
|
-
httpMethod: "GET",
|
|
1808
|
-
responses: {
|
|
1809
|
-
200: {
|
|
1810
|
-
bodyMapper: Mappers.PasswordHashList
|
|
1811
|
-
},
|
|
1812
|
-
default: {
|
|
1813
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
urlParameters: [
|
|
1817
|
-
Parameters.$host,
|
|
1818
|
-
Parameters.subscriptionId,
|
|
1819
|
-
Parameters.resourceGroupName,
|
|
1820
|
-
Parameters.workspaceName,
|
|
1821
|
-
Parameters.firmwareId,
|
|
1822
|
-
Parameters.nextLink
|
|
1823
|
-
],
|
|
1824
|
-
headerParameters: [Parameters.accept],
|
|
1825
|
-
serializer
|
|
1826
|
-
};
|
|
1827
|
-
const listGenerateCveListNextOperationSpec: coreClient.OperationSpec = {
|
|
1828
|
-
path: "{nextLink}",
|
|
1829
|
-
httpMethod: "GET",
|
|
1830
|
-
responses: {
|
|
1831
|
-
200: {
|
|
1832
|
-
bodyMapper: Mappers.CveList
|
|
1833
|
-
},
|
|
1834
|
-
default: {
|
|
1835
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
urlParameters: [
|
|
1839
|
-
Parameters.$host,
|
|
1840
|
-
Parameters.subscriptionId,
|
|
1841
|
-
Parameters.resourceGroupName,
|
|
1842
|
-
Parameters.workspaceName,
|
|
1843
|
-
Parameters.firmwareId,
|
|
1844
|
-
Parameters.nextLink
|
|
1845
|
-
],
|
|
1846
|
-
headerParameters: [Parameters.accept],
|
|
1847
|
-
serializer
|
|
1848
|
-
};
|
|
1849
|
-
const listGenerateCryptoCertificateListNextOperationSpec: coreClient.OperationSpec = {
|
|
1850
|
-
path: "{nextLink}",
|
|
1851
|
-
httpMethod: "GET",
|
|
1852
|
-
responses: {
|
|
1853
|
-
200: {
|
|
1854
|
-
bodyMapper: Mappers.CryptoCertificateList
|
|
1855
|
-
},
|
|
1856
|
-
default: {
|
|
1857
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1858
|
-
}
|
|
1859
|
-
},
|
|
1860
|
-
urlParameters: [
|
|
1861
|
-
Parameters.$host,
|
|
1862
|
-
Parameters.subscriptionId,
|
|
1863
|
-
Parameters.resourceGroupName,
|
|
1864
|
-
Parameters.workspaceName,
|
|
1865
|
-
Parameters.firmwareId,
|
|
1866
|
-
Parameters.nextLink
|
|
1867
|
-
],
|
|
1868
|
-
headerParameters: [Parameters.accept],
|
|
1869
|
-
serializer
|
|
1870
|
-
};
|
|
1871
|
-
const listGenerateCryptoKeyListNextOperationSpec: coreClient.OperationSpec = {
|
|
1872
|
-
path: "{nextLink}",
|
|
1873
|
-
httpMethod: "GET",
|
|
1874
|
-
responses: {
|
|
1875
|
-
200: {
|
|
1876
|
-
bodyMapper: Mappers.CryptoKeyList
|
|
1877
|
-
},
|
|
1878
|
-
default: {
|
|
1879
|
-
bodyMapper: Mappers.ErrorResponse
|
|
1880
|
-
}
|
|
1881
|
-
},
|
|
1882
|
-
urlParameters: [
|
|
1883
|
-
Parameters.$host,
|
|
1884
|
-
Parameters.subscriptionId,
|
|
1885
|
-
Parameters.resourceGroupName,
|
|
1886
|
-
Parameters.workspaceName,
|
|
1887
|
-
Parameters.firmwareId,
|
|
1888
|
-
Parameters.nextLink
|
|
1889
|
-
],
|
|
1890
|
-
headerParameters: [Parameters.accept],
|
|
1891
|
-
serializer
|
|
1892
|
-
};
|