@azure/arm-iotfirmwaredefense 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +4045 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/firmwareCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/firmwareCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/firmwareCreateSample.js +73 -0
  11. package/dist-esm/samples-dev/firmwareCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/firmwareDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/firmwareDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/firmwareDeleteSample.js +62 -0
  15. package/dist-esm/samples-dev/firmwareDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js +62 -0
  19. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js.map +1 -0
  20. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts +2 -0
  21. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js +62 -0
  23. package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js.map +1 -0
  24. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js +62 -0
  27. package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js.map +1 -0
  28. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts +2 -0
  29. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js +61 -0
  31. package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js.map +1 -0
  32. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts +2 -0
  33. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js +61 -0
  35. package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js.map +1 -0
  36. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts +2 -0
  37. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js +62 -0
  39. package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js.map +1 -0
  40. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js +62 -0
  43. package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js.map +1 -0
  44. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js +62 -0
  47. package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js.map +1 -0
  48. package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts +2 -0
  49. package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/firmwareGenerateSummarySample.js +62 -0
  51. package/dist-esm/samples-dev/firmwareGenerateSummarySample.js.map +1 -0
  52. package/dist-esm/samples-dev/firmwareGetSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/firmwareGetSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/firmwareGetSample.js +62 -0
  55. package/dist-esm/samples-dev/firmwareGetSample.js.map +1 -0
  56. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js +102 -0
  59. package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js.map +1 -0
  60. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js +104 -0
  63. package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js.map +1 -0
  64. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js +104 -0
  67. package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js.map +1 -0
  68. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js +103 -0
  71. package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js.map +1 -0
  72. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js +103 -0
  75. package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js.map +1 -0
  76. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js +104 -0
  79. package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js.map +1 -0
  80. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js +104 -0
  83. package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js.map +1 -0
  84. package/dist-esm/samples-dev/firmwareUpdateSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/firmwareUpdateSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/firmwareUpdateSample.js +73 -0
  87. package/dist-esm/samples-dev/firmwareUpdateSample.js.map +1 -0
  88. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/operationsListSample.js +96 -0
  91. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  92. package/dist-esm/samples-dev/workspacesCreateSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/workspacesCreateSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/workspacesCreateSample.js +63 -0
  95. package/dist-esm/samples-dev/workspacesCreateSample.js.map +1 -0
  96. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/workspacesDeleteSample.js +58 -0
  99. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -0
  100. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +62 -0
  103. package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +1 -0
  104. package/dist-esm/samples-dev/workspacesGetSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/workspacesGetSample.js +58 -0
  107. package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -0
  108. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +98 -0
  111. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -0
  112. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +96 -0
  115. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -0
  116. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/workspacesUpdateSample.js +60 -0
  119. package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -0
  120. package/dist-esm/src/index.d.ts +6 -0
  121. package/dist-esm/src/index.d.ts.map +1 -0
  122. package/dist-esm/src/index.js +13 -0
  123. package/dist-esm/src/index.js.map +1 -0
  124. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts +22 -0
  125. package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +1 -0
  126. package/dist-esm/src/ioTFirmwareDefenseClient.js +102 -0
  127. package/dist-esm/src/ioTFirmwareDefenseClient.js.map +1 -0
  128. package/dist-esm/src/models/index.d.ts +1049 -0
  129. package/dist-esm/src/models/index.d.ts.map +1 -0
  130. package/dist-esm/src/models/index.js +142 -0
  131. package/dist-esm/src/models/index.js.map +1 -0
  132. package/dist-esm/src/models/mappers.d.ts +41 -0
  133. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  134. package/dist-esm/src/models/mappers.js +1618 -0
  135. package/dist-esm/src/models/mappers.js.map +1 -0
  136. package/dist-esm/src/models/parameters.d.ts +16 -0
  137. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  138. package/dist-esm/src/models/parameters.js +134 -0
  139. package/dist-esm/src/models/parameters.js.map +1 -0
  140. package/dist-esm/src/operations/firmwareOperations.d.ts +313 -0
  141. package/dist-esm/src/operations/firmwareOperations.d.ts.map +1 -0
  142. package/dist-esm/src/operations/firmwareOperations.js +1393 -0
  143. package/dist-esm/src/operations/firmwareOperations.js.map +1 -0
  144. package/dist-esm/src/operations/index.d.ts +4 -0
  145. package/dist-esm/src/operations/index.d.ts.map +1 -0
  146. package/dist-esm/src/operations/index.js +11 -0
  147. package/dist-esm/src/operations/index.js.map +1 -0
  148. package/dist-esm/src/operations/operations.d.ts +32 -0
  149. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  150. package/dist-esm/src/operations/operations.js +138 -0
  151. package/dist-esm/src/operations/operations.js.map +1 -0
  152. package/dist-esm/src/operations/workspaces.d.ts +91 -0
  153. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  154. package/dist-esm/src/operations/workspaces.js +431 -0
  155. package/dist-esm/src/operations/workspaces.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts +169 -0
  157. package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/firmwareOperations.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/firmwareOperations.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  161. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  163. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  164. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  165. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  166. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  167. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +55 -0
  169. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  172. package/dist-esm/src/pagingHelper.d.ts +13 -0
  173. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  174. package/dist-esm/src/pagingHelper.js +32 -0
  175. package/dist-esm/src/pagingHelper.js.map +1 -0
  176. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.d.ts +4 -0
  177. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.d.ts.map +1 -0
  178. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +120 -0
  179. package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -0
  180. package/package.json +121 -0
  181. package/review/arm-iotfirmwaredefense.api.md +820 -0
  182. package/rollup.config.js +122 -0
  183. package/src/index.ts +13 -0
  184. package/src/ioTFirmwareDefenseClient.ts +152 -0
  185. package/src/models/index.ts +1198 -0
  186. package/src/models/mappers.ts +1678 -0
  187. package/src/models/parameters.ts +159 -0
  188. package/src/operations/firmwareOperations.ts +1892 -0
  189. package/src/operations/index.ts +11 -0
  190. package/src/operations/operations.ts +149 -0
  191. package/src/operations/workspaces.ts +527 -0
  192. package/src/operationsInterfaces/firmwareOperations.ts +320 -0
  193. package/src/operationsInterfaces/index.ts +11 -0
  194. package/src/operationsInterfaces/operations.ts +22 -0
  195. package/src/operationsInterfaces/workspaces.ts +107 -0
  196. package/src/pagingHelper.ts +39 -0
  197. package/tsconfig.json +33 -0
  198. package/types/arm-iotfirmwaredefense.d.ts +1453 -0
  199. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,820 @@
1
+ ## API Report File for "@azure/arm-iotfirmwaredefense"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+
11
+ // @public
12
+ export type ActionType = string;
13
+
14
+ // @public
15
+ export interface BinaryHardening {
16
+ architecture?: string;
17
+ binaryHardeningId?: string;
18
+ canary?: CanaryFlag;
19
+ class?: string;
20
+ nx?: NxFlag;
21
+ path?: string;
22
+ pie?: PieFlag;
23
+ relro?: RelroFlag;
24
+ rpath?: string;
25
+ runpath?: string;
26
+ stripped?: StrippedFlag;
27
+ }
28
+
29
+ // @public
30
+ export interface BinaryHardeningList {
31
+ nextLink?: string;
32
+ readonly value?: BinaryHardening[];
33
+ }
34
+
35
+ // @public
36
+ export interface BinaryHardeningSummary {
37
+ canary?: number;
38
+ nx?: number;
39
+ pie?: number;
40
+ relro?: number;
41
+ stripped?: number;
42
+ totalFiles?: number;
43
+ }
44
+
45
+ // @public
46
+ export type CanaryFlag = string;
47
+
48
+ // @public
49
+ export interface Component {
50
+ componentId?: string;
51
+ componentName?: string;
52
+ isUpdateAvailable?: IsUpdateAvailable;
53
+ license?: string;
54
+ paths?: string[];
55
+ releaseDate?: Date;
56
+ version?: string;
57
+ }
58
+
59
+ // @public
60
+ export interface ComponentList {
61
+ nextLink?: string;
62
+ readonly value?: Component[];
63
+ }
64
+
65
+ // @public
66
+ export type CreatedByType = string;
67
+
68
+ // @public
69
+ export interface CryptoCertificate {
70
+ cryptoCertId?: string;
71
+ encoding?: string;
72
+ expirationDate?: Date;
73
+ readonly filePaths?: string[];
74
+ fingerprint?: string;
75
+ isExpired?: IsExpired;
76
+ isSelfSigned?: IsSelfSigned;
77
+ isShortKeySize?: IsShortKeySize;
78
+ issuedDate?: Date;
79
+ issuer?: CryptoCertificateEntity;
80
+ isWeakSignature?: IsWeakSignature;
81
+ keyAlgorithm?: string;
82
+ keySize?: number;
83
+ name?: string;
84
+ pairedKey?: PairedKey;
85
+ role?: string;
86
+ serialNumber?: string;
87
+ signatureAlgorithm?: string;
88
+ subject?: CryptoCertificateEntity;
89
+ usage?: string[];
90
+ }
91
+
92
+ // @public
93
+ export interface CryptoCertificateEntity {
94
+ commonName?: string;
95
+ country?: string;
96
+ organization?: string;
97
+ organizationalUnit?: string;
98
+ state?: string;
99
+ }
100
+
101
+ // @public
102
+ export interface CryptoCertificateList {
103
+ nextLink?: string;
104
+ readonly value?: CryptoCertificate[];
105
+ }
106
+
107
+ // @public
108
+ export interface CryptoCertificateSummary {
109
+ expired?: number;
110
+ expiringSoon?: number;
111
+ pairedKeys?: number;
112
+ selfSigned?: number;
113
+ shortKeySize?: number;
114
+ totalCertificates?: number;
115
+ weakSignature?: number;
116
+ }
117
+
118
+ // @public
119
+ interface CryptoKey_2 {
120
+ cryptoKeyId?: string;
121
+ readonly filePaths?: string[];
122
+ isShortKeySize?: IsShortKeySize;
123
+ keyAlgorithm?: string;
124
+ keySize?: number;
125
+ keyType?: string;
126
+ pairedKey?: PairedKey;
127
+ usage?: string[];
128
+ }
129
+ export { CryptoKey_2 as CryptoKey }
130
+
131
+ // @public
132
+ export interface CryptoKeyList {
133
+ nextLink?: string;
134
+ readonly value?: CryptoKey_2[];
135
+ }
136
+
137
+ // @public
138
+ export interface CryptoKeySummary {
139
+ pairedKeys?: number;
140
+ privateKeys?: number;
141
+ publicKeys?: number;
142
+ shortKeySize?: number;
143
+ totalKeys?: number;
144
+ }
145
+
146
+ // @public
147
+ export interface Cve {
148
+ component?: Record<string, unknown>;
149
+ cveId?: string;
150
+ cvssScore?: string;
151
+ cvssV2Score?: string;
152
+ cvssV3Score?: string;
153
+ cvssVersion?: string;
154
+ description?: string;
155
+ readonly links?: CveLink[];
156
+ name?: string;
157
+ publishDate?: Date;
158
+ severity?: string;
159
+ updatedDate?: Date;
160
+ }
161
+
162
+ // @public
163
+ export interface CveComponent {
164
+ componentId?: string;
165
+ name?: string;
166
+ version?: string;
167
+ }
168
+
169
+ // @public
170
+ export interface CveLink {
171
+ href?: string;
172
+ label?: string;
173
+ }
174
+
175
+ // @public
176
+ export interface CveList {
177
+ nextLink?: string;
178
+ readonly value?: Cve[];
179
+ }
180
+
181
+ // @public
182
+ export interface CveSummary {
183
+ critical?: number;
184
+ high?: number;
185
+ low?: number;
186
+ medium?: number;
187
+ undefined?: number;
188
+ unknown?: number;
189
+ }
190
+
191
+ // @public
192
+ export interface ErrorAdditionalInfo {
193
+ readonly info?: Record<string, unknown>;
194
+ readonly type?: string;
195
+ }
196
+
197
+ // @public
198
+ export interface ErrorDetail {
199
+ readonly additionalInfo?: ErrorAdditionalInfo[];
200
+ readonly code?: string;
201
+ readonly details?: ErrorDetail[];
202
+ readonly message?: string;
203
+ readonly target?: string;
204
+ }
205
+
206
+ // @public
207
+ export interface ErrorResponse {
208
+ error?: ErrorDetail;
209
+ }
210
+
211
+ // @public
212
+ export interface Firmware extends ProxyResource {
213
+ description?: string;
214
+ fileName?: string;
215
+ fileSize?: number;
216
+ model?: string;
217
+ readonly provisioningState?: ProvisioningState;
218
+ status?: Status;
219
+ statusMessages?: Record<string, unknown>[];
220
+ vendor?: string;
221
+ version?: string;
222
+ }
223
+
224
+ // @public
225
+ export interface FirmwareCreateOptionalParams extends coreClient.OperationOptions {
226
+ }
227
+
228
+ // @public
229
+ export type FirmwareCreateResponse = Firmware;
230
+
231
+ // @public
232
+ export interface FirmwareDeleteOptionalParams extends coreClient.OperationOptions {
233
+ }
234
+
235
+ // @public
236
+ export interface FirmwareGenerateBinaryHardeningDetailsOptionalParams extends coreClient.OperationOptions {
237
+ }
238
+
239
+ // @public
240
+ export type FirmwareGenerateBinaryHardeningDetailsResponse = BinaryHardening;
241
+
242
+ // @public
243
+ export interface FirmwareGenerateBinaryHardeningSummaryOptionalParams extends coreClient.OperationOptions {
244
+ }
245
+
246
+ // @public
247
+ export type FirmwareGenerateBinaryHardeningSummaryResponse = BinaryHardeningSummary;
248
+
249
+ // @public
250
+ export interface FirmwareGenerateComponentDetailsOptionalParams extends coreClient.OperationOptions {
251
+ }
252
+
253
+ // @public
254
+ export type FirmwareGenerateComponentDetailsResponse = Component;
255
+
256
+ // @public
257
+ export interface FirmwareGenerateCryptoCertificateSummaryOptionalParams extends coreClient.OperationOptions {
258
+ }
259
+
260
+ // @public
261
+ export type FirmwareGenerateCryptoCertificateSummaryResponse = CryptoCertificateSummary;
262
+
263
+ // @public
264
+ export interface FirmwareGenerateCryptoKeySummaryOptionalParams extends coreClient.OperationOptions {
265
+ }
266
+
267
+ // @public
268
+ export type FirmwareGenerateCryptoKeySummaryResponse = CryptoKeySummary;
269
+
270
+ // @public
271
+ export interface FirmwareGenerateCveSummaryOptionalParams extends coreClient.OperationOptions {
272
+ }
273
+
274
+ // @public
275
+ export type FirmwareGenerateCveSummaryResponse = CveSummary;
276
+
277
+ // @public
278
+ export interface FirmwareGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
279
+ }
280
+
281
+ // @public
282
+ export type FirmwareGenerateDownloadUrlResponse = UrlToken;
283
+
284
+ // @public
285
+ export interface FirmwareGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
286
+ }
287
+
288
+ // @public
289
+ export type FirmwareGenerateFilesystemDownloadUrlResponse = UrlToken;
290
+
291
+ // @public
292
+ export interface FirmwareGenerateSummaryOptionalParams extends coreClient.OperationOptions {
293
+ }
294
+
295
+ // @public
296
+ export type FirmwareGenerateSummaryResponse = FirmwareSummary;
297
+
298
+ // @public
299
+ export interface FirmwareGetOptionalParams extends coreClient.OperationOptions {
300
+ }
301
+
302
+ // @public
303
+ export type FirmwareGetResponse = Firmware;
304
+
305
+ // @public
306
+ export interface FirmwareList {
307
+ nextLink?: string;
308
+ readonly value?: Firmware[];
309
+ }
310
+
311
+ // @public
312
+ export interface FirmwareListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
313
+ }
314
+
315
+ // @public
316
+ export type FirmwareListByWorkspaceNextResponse = FirmwareList;
317
+
318
+ // @public
319
+ export interface FirmwareListByWorkspaceOptionalParams extends coreClient.OperationOptions {
320
+ }
321
+
322
+ // @public
323
+ export type FirmwareListByWorkspaceResponse = FirmwareList;
324
+
325
+ // @public
326
+ export interface FirmwareListGenerateBinaryHardeningListNextOptionalParams extends coreClient.OperationOptions {
327
+ }
328
+
329
+ // @public
330
+ export type FirmwareListGenerateBinaryHardeningListNextResponse = BinaryHardeningList;
331
+
332
+ // @public
333
+ export interface FirmwareListGenerateBinaryHardeningListOptionalParams extends coreClient.OperationOptions {
334
+ }
335
+
336
+ // @public
337
+ export type FirmwareListGenerateBinaryHardeningListResponse = BinaryHardeningList;
338
+
339
+ // @public
340
+ export interface FirmwareListGenerateComponentListNextOptionalParams extends coreClient.OperationOptions {
341
+ }
342
+
343
+ // @public
344
+ export type FirmwareListGenerateComponentListNextResponse = ComponentList;
345
+
346
+ // @public
347
+ export interface FirmwareListGenerateComponentListOptionalParams extends coreClient.OperationOptions {
348
+ }
349
+
350
+ // @public
351
+ export type FirmwareListGenerateComponentListResponse = ComponentList;
352
+
353
+ // @public
354
+ export interface FirmwareListGenerateCryptoCertificateListNextOptionalParams extends coreClient.OperationOptions {
355
+ }
356
+
357
+ // @public
358
+ export type FirmwareListGenerateCryptoCertificateListNextResponse = CryptoCertificateList;
359
+
360
+ // @public
361
+ export interface FirmwareListGenerateCryptoCertificateListOptionalParams extends coreClient.OperationOptions {
362
+ }
363
+
364
+ // @public
365
+ export type FirmwareListGenerateCryptoCertificateListResponse = CryptoCertificateList;
366
+
367
+ // @public
368
+ export interface FirmwareListGenerateCryptoKeyListNextOptionalParams extends coreClient.OperationOptions {
369
+ }
370
+
371
+ // @public
372
+ export type FirmwareListGenerateCryptoKeyListNextResponse = CryptoKeyList;
373
+
374
+ // @public
375
+ export interface FirmwareListGenerateCryptoKeyListOptionalParams extends coreClient.OperationOptions {
376
+ }
377
+
378
+ // @public
379
+ export type FirmwareListGenerateCryptoKeyListResponse = CryptoKeyList;
380
+
381
+ // @public
382
+ export interface FirmwareListGenerateCveListNextOptionalParams extends coreClient.OperationOptions {
383
+ }
384
+
385
+ // @public
386
+ export type FirmwareListGenerateCveListNextResponse = CveList;
387
+
388
+ // @public
389
+ export interface FirmwareListGenerateCveListOptionalParams extends coreClient.OperationOptions {
390
+ }
391
+
392
+ // @public
393
+ export type FirmwareListGenerateCveListResponse = CveList;
394
+
395
+ // @public
396
+ export interface FirmwareListGeneratePasswordHashListNextOptionalParams extends coreClient.OperationOptions {
397
+ }
398
+
399
+ // @public
400
+ export type FirmwareListGeneratePasswordHashListNextResponse = PasswordHashList;
401
+
402
+ // @public
403
+ export interface FirmwareListGeneratePasswordHashListOptionalParams extends coreClient.OperationOptions {
404
+ }
405
+
406
+ // @public
407
+ export type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
408
+
409
+ // @public
410
+ export interface FirmwareOperations {
411
+ create(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: Firmware, options?: FirmwareCreateOptionalParams): Promise<FirmwareCreateResponse>;
412
+ delete(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareDeleteOptionalParams): Promise<void>;
413
+ generateBinaryHardeningDetails(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateBinaryHardeningDetailsOptionalParams): Promise<FirmwareGenerateBinaryHardeningDetailsResponse>;
414
+ generateBinaryHardeningSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateBinaryHardeningSummaryOptionalParams): Promise<FirmwareGenerateBinaryHardeningSummaryResponse>;
415
+ generateComponentDetails(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateComponentDetailsOptionalParams): Promise<FirmwareGenerateComponentDetailsResponse>;
416
+ generateCryptoCertificateSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateCryptoCertificateSummaryOptionalParams): Promise<FirmwareGenerateCryptoCertificateSummaryResponse>;
417
+ generateCryptoKeySummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateCryptoKeySummaryOptionalParams): Promise<FirmwareGenerateCryptoKeySummaryResponse>;
418
+ generateCveSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateCveSummaryOptionalParams): Promise<FirmwareGenerateCveSummaryResponse>;
419
+ generateDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateDownloadUrlOptionalParams): Promise<FirmwareGenerateDownloadUrlResponse>;
420
+ generateFilesystemDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateFilesystemDownloadUrlOptionalParams): Promise<FirmwareGenerateFilesystemDownloadUrlResponse>;
421
+ generateSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateSummaryOptionalParams): Promise<FirmwareGenerateSummaryResponse>;
422
+ get(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGetOptionalParams): Promise<FirmwareGetResponse>;
423
+ listByWorkspace(resourceGroupName: string, workspaceName: string, options?: FirmwareListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Firmware>;
424
+ listGenerateBinaryHardeningList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateBinaryHardeningListOptionalParams): PagedAsyncIterableIterator<BinaryHardening>;
425
+ listGenerateComponentList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateComponentListOptionalParams): PagedAsyncIterableIterator<Component>;
426
+ listGenerateCryptoCertificateList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCryptoCertificateListOptionalParams): PagedAsyncIterableIterator<CryptoCertificate>;
427
+ listGenerateCryptoKeyList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCryptoKeyListOptionalParams): PagedAsyncIterableIterator<CryptoKey_2>;
428
+ listGenerateCveList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCveListOptionalParams): PagedAsyncIterableIterator<Cve>;
429
+ listGeneratePasswordHashList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGeneratePasswordHashListOptionalParams): PagedAsyncIterableIterator<PasswordHash>;
430
+ update(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: FirmwareUpdateDefinition, options?: FirmwareUpdateOptionalParams): Promise<FirmwareUpdateResponse>;
431
+ }
432
+
433
+ // @public
434
+ export interface FirmwareSummary {
435
+ analysisTimeSeconds?: number;
436
+ binaryCount?: number;
437
+ componentCount?: number;
438
+ extractedFileCount?: number;
439
+ extractedSize?: number;
440
+ fileSize?: number;
441
+ rootFileSystems?: number;
442
+ }
443
+
444
+ // @public
445
+ export interface FirmwareUpdateDefinition {
446
+ description?: string;
447
+ fileName?: string;
448
+ fileSize?: number;
449
+ model?: string;
450
+ readonly provisioningState?: ProvisioningState;
451
+ status?: Status;
452
+ statusMessages?: Record<string, unknown>[];
453
+ vendor?: string;
454
+ version?: string;
455
+ }
456
+
457
+ // @public
458
+ export interface FirmwareUpdateOptionalParams extends coreClient.OperationOptions {
459
+ }
460
+
461
+ // @public
462
+ export type FirmwareUpdateResponse = Firmware;
463
+
464
+ // @public
465
+ export interface GenerateUploadUrlRequest {
466
+ firmwareId?: string;
467
+ }
468
+
469
+ // @public
470
+ export function getContinuationToken(page: unknown): string | undefined;
471
+
472
+ // @public (undocumented)
473
+ export class IoTFirmwareDefenseClient extends coreClient.ServiceClient {
474
+ // (undocumented)
475
+ $host: string;
476
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: IoTFirmwareDefenseClientOptionalParams);
477
+ // (undocumented)
478
+ apiVersion: string;
479
+ // (undocumented)
480
+ firmwareOperations: FirmwareOperations;
481
+ // (undocumented)
482
+ operations: Operations;
483
+ // (undocumented)
484
+ subscriptionId: string;
485
+ // (undocumented)
486
+ workspaces: Workspaces;
487
+ }
488
+
489
+ // @public
490
+ export interface IoTFirmwareDefenseClientOptionalParams extends coreClient.ServiceClientOptions {
491
+ $host?: string;
492
+ apiVersion?: string;
493
+ endpoint?: string;
494
+ }
495
+
496
+ // @public
497
+ export type IsExpired = string;
498
+
499
+ // @public
500
+ export type IsSelfSigned = string;
501
+
502
+ // @public
503
+ export type IsShortKeySize = string;
504
+
505
+ // @public
506
+ export type IsUpdateAvailable = string;
507
+
508
+ // @public
509
+ export type IsWeakSignature = string;
510
+
511
+ // @public
512
+ export enum KnownActionType {
513
+ Internal = "Internal"
514
+ }
515
+
516
+ // @public
517
+ export enum KnownCanaryFlag {
518
+ False = "False",
519
+ True = "True"
520
+ }
521
+
522
+ // @public
523
+ export enum KnownCreatedByType {
524
+ Application = "Application",
525
+ Key = "Key",
526
+ ManagedIdentity = "ManagedIdentity",
527
+ User = "User"
528
+ }
529
+
530
+ // @public
531
+ export enum KnownIsExpired {
532
+ False = "False",
533
+ True = "True"
534
+ }
535
+
536
+ // @public
537
+ export enum KnownIsSelfSigned {
538
+ False = "False",
539
+ True = "True"
540
+ }
541
+
542
+ // @public
543
+ export enum KnownIsShortKeySize {
544
+ False = "False",
545
+ True = "True"
546
+ }
547
+
548
+ // @public
549
+ export enum KnownIsUpdateAvailable {
550
+ False = "False",
551
+ True = "True"
552
+ }
553
+
554
+ // @public
555
+ export enum KnownIsWeakSignature {
556
+ False = "False",
557
+ True = "True"
558
+ }
559
+
560
+ // @public
561
+ export enum KnownNxFlag {
562
+ False = "False",
563
+ True = "True"
564
+ }
565
+
566
+ // @public
567
+ export enum KnownOrigin {
568
+ System = "system",
569
+ User = "user",
570
+ UserSystem = "user,system"
571
+ }
572
+
573
+ // @public
574
+ export enum KnownPieFlag {
575
+ False = "False",
576
+ True = "True"
577
+ }
578
+
579
+ // @public
580
+ export enum KnownProvisioningState {
581
+ Accepted = "Accepted",
582
+ Canceled = "Canceled",
583
+ Failed = "Failed",
584
+ Succeeded = "Succeeded"
585
+ }
586
+
587
+ // @public
588
+ export enum KnownRelroFlag {
589
+ False = "False",
590
+ True = "True"
591
+ }
592
+
593
+ // @public
594
+ export enum KnownStatus {
595
+ Analyzing = "Analyzing",
596
+ Error = "Error",
597
+ Extracting = "Extracting",
598
+ Pending = "Pending",
599
+ Ready = "Ready"
600
+ }
601
+
602
+ // @public
603
+ export enum KnownStrippedFlag {
604
+ False = "False",
605
+ True = "True"
606
+ }
607
+
608
+ // @public
609
+ export type NxFlag = string;
610
+
611
+ // @public
612
+ export interface Operation {
613
+ readonly actionType?: ActionType;
614
+ display?: OperationDisplay;
615
+ readonly isDataAction?: boolean;
616
+ readonly name?: string;
617
+ readonly origin?: Origin;
618
+ }
619
+
620
+ // @public
621
+ export interface OperationDisplay {
622
+ readonly description?: string;
623
+ readonly operation?: string;
624
+ readonly provider?: string;
625
+ readonly resource?: string;
626
+ }
627
+
628
+ // @public
629
+ export interface OperationListResult {
630
+ readonly nextLink?: string;
631
+ readonly value?: Operation[];
632
+ }
633
+
634
+ // @public
635
+ export interface Operations {
636
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
637
+ }
638
+
639
+ // @public
640
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
641
+ }
642
+
643
+ // @public
644
+ export type OperationsListNextResponse = OperationListResult;
645
+
646
+ // @public
647
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
648
+ }
649
+
650
+ // @public
651
+ export type OperationsListResponse = OperationListResult;
652
+
653
+ // @public
654
+ export type Origin = string;
655
+
656
+ // @public
657
+ export interface PairedKey {
658
+ additionalProperties?: Record<string, unknown>;
659
+ id?: string;
660
+ type?: string;
661
+ }
662
+
663
+ // @public
664
+ export interface PasswordHash {
665
+ algorithm?: string;
666
+ context?: string;
667
+ filePath?: string;
668
+ hash?: string;
669
+ passwordHashId?: string;
670
+ salt?: string;
671
+ username?: string;
672
+ }
673
+
674
+ // @public
675
+ export interface PasswordHashList {
676
+ nextLink?: string;
677
+ readonly value?: PasswordHash[];
678
+ }
679
+
680
+ // @public
681
+ export type PieFlag = string;
682
+
683
+ // @public
684
+ export type ProvisioningState = string;
685
+
686
+ // @public
687
+ export interface ProxyResource extends Resource {
688
+ }
689
+
690
+ // @public
691
+ export type RelroFlag = string;
692
+
693
+ // @public
694
+ export interface Resource {
695
+ readonly id?: string;
696
+ readonly name?: string;
697
+ readonly systemData?: SystemData;
698
+ readonly type?: string;
699
+ }
700
+
701
+ // @public
702
+ export type Status = string;
703
+
704
+ // @public
705
+ export type StrippedFlag = string;
706
+
707
+ // @public
708
+ export interface SystemData {
709
+ createdAt?: Date;
710
+ createdBy?: string;
711
+ createdByType?: CreatedByType;
712
+ lastModifiedAt?: Date;
713
+ lastModifiedBy?: string;
714
+ lastModifiedByType?: CreatedByType;
715
+ }
716
+
717
+ // @public
718
+ export interface TrackedResource extends Resource {
719
+ location: string;
720
+ tags?: {
721
+ [propertyName: string]: string;
722
+ };
723
+ }
724
+
725
+ // @public
726
+ export interface UrlToken {
727
+ readonly uploadUrl?: string;
728
+ readonly url?: string;
729
+ }
730
+
731
+ // @public
732
+ export interface Workspace extends TrackedResource {
733
+ readonly provisioningState?: ProvisioningState;
734
+ }
735
+
736
+ // @public
737
+ export interface WorkspaceList {
738
+ nextLink?: string;
739
+ readonly value?: Workspace[];
740
+ }
741
+
742
+ // @public
743
+ export interface Workspaces {
744
+ create(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOptionalParams): Promise<WorkspacesCreateResponse>;
745
+ delete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
746
+ generateUploadUrl(resourceGroupName: string, workspaceName: string, generateUploadUrl: GenerateUploadUrlRequest, options?: WorkspacesGenerateUploadUrlOptionalParams): Promise<WorkspacesGenerateUploadUrlResponse>;
747
+ get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
748
+ listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
749
+ listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Workspace>;
750
+ update(resourceGroupName: string, workspaceName: string, workspace: WorkspaceUpdateDefinition, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
751
+ }
752
+
753
+ // @public
754
+ export interface WorkspacesCreateOptionalParams extends coreClient.OperationOptions {
755
+ }
756
+
757
+ // @public
758
+ export type WorkspacesCreateResponse = Workspace;
759
+
760
+ // @public
761
+ export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
762
+ }
763
+
764
+ // @public
765
+ export interface WorkspacesGenerateUploadUrlOptionalParams extends coreClient.OperationOptions {
766
+ }
767
+
768
+ // @public
769
+ export type WorkspacesGenerateUploadUrlResponse = UrlToken;
770
+
771
+ // @public
772
+ export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
773
+ }
774
+
775
+ // @public
776
+ export type WorkspacesGetResponse = Workspace;
777
+
778
+ // @public
779
+ export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
780
+ }
781
+
782
+ // @public
783
+ export type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
784
+
785
+ // @public
786
+ export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
787
+ }
788
+
789
+ // @public
790
+ export type WorkspacesListByResourceGroupResponse = WorkspaceList;
791
+
792
+ // @public
793
+ export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
794
+ }
795
+
796
+ // @public
797
+ export type WorkspacesListBySubscriptionNextResponse = WorkspaceList;
798
+
799
+ // @public
800
+ export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
801
+ }
802
+
803
+ // @public
804
+ export type WorkspacesListBySubscriptionResponse = WorkspaceList;
805
+
806
+ // @public
807
+ export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
808
+ }
809
+
810
+ // @public
811
+ export type WorkspacesUpdateResponse = Workspace;
812
+
813
+ // @public
814
+ export interface WorkspaceUpdateDefinition {
815
+ readonly provisioningState?: ProvisioningState;
816
+ }
817
+
818
+ // (No @packageDocumentation comment for this package)
819
+
820
+ ```