@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,1049 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** List of firmwares */
3
+ export interface FirmwareList {
4
+ /**
5
+ * The list of firmwares.
6
+ * NOTE: This property will not be serialized. It can only be populated by the server.
7
+ */
8
+ readonly value?: Firmware[];
9
+ /** The uri to fetch the next page of asset. */
10
+ nextLink?: string;
11
+ }
12
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
13
+ export interface Resource {
14
+ /**
15
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
16
+ * NOTE: This property will not be serialized. It can only be populated by the server.
17
+ */
18
+ readonly id?: string;
19
+ /**
20
+ * The name of the resource
21
+ * NOTE: This property will not be serialized. It can only be populated by the server.
22
+ */
23
+ readonly name?: string;
24
+ /**
25
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
27
+ */
28
+ readonly type?: string;
29
+ /**
30
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
+ */
33
+ readonly systemData?: SystemData;
34
+ }
35
+ /** Metadata pertaining to creation and last modification of the resource. */
36
+ export interface SystemData {
37
+ /** The identity that created the resource. */
38
+ createdBy?: string;
39
+ /** The type of identity that created the resource. */
40
+ createdByType?: CreatedByType;
41
+ /** The timestamp of resource creation (UTC). */
42
+ createdAt?: Date;
43
+ /** The identity that last modified the resource. */
44
+ lastModifiedBy?: string;
45
+ /** The type of identity that last modified the resource. */
46
+ lastModifiedByType?: CreatedByType;
47
+ /** The timestamp of resource last modification (UTC) */
48
+ lastModifiedAt?: Date;
49
+ }
50
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
51
+ export interface ErrorResponse {
52
+ /** The error object. */
53
+ error?: ErrorDetail;
54
+ }
55
+ /** The error detail. */
56
+ export interface ErrorDetail {
57
+ /**
58
+ * The error code.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly code?: string;
62
+ /**
63
+ * The error message.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly message?: string;
67
+ /**
68
+ * The error target.
69
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
+ */
71
+ readonly target?: string;
72
+ /**
73
+ * The error details.
74
+ * NOTE: This property will not be serialized. It can only be populated by the server.
75
+ */
76
+ readonly details?: ErrorDetail[];
77
+ /**
78
+ * The error additional info.
79
+ * NOTE: This property will not be serialized. It can only be populated by the server.
80
+ */
81
+ readonly additionalInfo?: ErrorAdditionalInfo[];
82
+ }
83
+ /** The resource management error additional info. */
84
+ export interface ErrorAdditionalInfo {
85
+ /**
86
+ * The additional info type.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly type?: string;
90
+ /**
91
+ * The additional info.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
+ */
94
+ readonly info?: Record<string, unknown>;
95
+ }
96
+ /** Firmware definition */
97
+ export interface FirmwareUpdateDefinition {
98
+ /** File name for a firmware that user uploaded. */
99
+ fileName?: string;
100
+ /** Firmware vendor. */
101
+ vendor?: string;
102
+ /** Firmware model. */
103
+ model?: string;
104
+ /** Firmware version. */
105
+ version?: string;
106
+ /** User-specified description of the firmware. */
107
+ description?: string;
108
+ /** File size of the uploaded firmware image. */
109
+ fileSize?: number;
110
+ /** The status of firmware scan. */
111
+ status?: Status;
112
+ /** A list of errors or other messages generated during firmware analysis */
113
+ statusMessages?: Record<string, unknown>[];
114
+ /**
115
+ * Provisioning state of the resource.
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
117
+ */
118
+ readonly provisioningState?: ProvisioningState;
119
+ }
120
+ /** Url data for creating or accessing a blob file. */
121
+ export interface UrlToken {
122
+ /**
123
+ * SAS URL for creating or accessing a blob file.
124
+ * NOTE: This property will not be serialized. It can only be populated by the server.
125
+ */
126
+ readonly url?: string;
127
+ /**
128
+ * SAS URL for file uploading. Kept for backwards compatibility
129
+ * NOTE: This property will not be serialized. It can only be populated by the server.
130
+ */
131
+ readonly uploadUrl?: string;
132
+ }
133
+ /** Summary result after scanning the firmware. */
134
+ export interface FirmwareSummary {
135
+ /** Total extracted size of the firmware in bytes. */
136
+ extractedSize?: number;
137
+ /** Firmware file size in bytes. */
138
+ fileSize?: number;
139
+ /** Extracted file count. */
140
+ extractedFileCount?: number;
141
+ /** Components count. */
142
+ componentCount?: number;
143
+ /** Binary count */
144
+ binaryCount?: number;
145
+ /** Time used for analysis */
146
+ analysisTimeSeconds?: number;
147
+ /** The number of root file systems found. */
148
+ rootFileSystems?: number;
149
+ }
150
+ /** List result for components */
151
+ export interface ComponentList {
152
+ /**
153
+ * The list of components.
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
+ */
156
+ readonly value?: Component[];
157
+ /** The uri to fetch the next page of asset. */
158
+ nextLink?: string;
159
+ }
160
+ /** Component of a firmware. */
161
+ export interface Component {
162
+ /** ID for the component. */
163
+ componentId?: string;
164
+ /** Name for the component. */
165
+ componentName?: string;
166
+ /** Version for the component. */
167
+ version?: string;
168
+ /** License for the component. */
169
+ license?: string;
170
+ /** Release date for the component. */
171
+ releaseDate?: Date;
172
+ /** Paths of the component. */
173
+ paths?: string[];
174
+ /** Flag if new update is available for the component. */
175
+ isUpdateAvailable?: IsUpdateAvailable;
176
+ }
177
+ /** List result for binary hardening */
178
+ export interface BinaryHardeningList {
179
+ /**
180
+ * The list of binary hardening results.
181
+ * NOTE: This property will not be serialized. It can only be populated by the server.
182
+ */
183
+ readonly value?: BinaryHardening[];
184
+ /** The uri to fetch the next page of asset. */
185
+ nextLink?: string;
186
+ }
187
+ /** Binary hardening of a firmware. */
188
+ export interface BinaryHardening {
189
+ /** ID for the binary hardening result. */
190
+ binaryHardeningId?: string;
191
+ /** The architecture of the uploaded firmware. */
192
+ architecture?: string;
193
+ /** path for binary hardening. */
194
+ path?: string;
195
+ /** class for binary hardening. */
196
+ class?: string;
197
+ /** The runpath of the uploaded firmware. */
198
+ runpath?: string;
199
+ /** The rpath of the uploaded firmware. */
200
+ rpath?: string;
201
+ /** NX flag. */
202
+ nx?: NxFlag;
203
+ /** PIE flag. */
204
+ pie?: PieFlag;
205
+ /** RELRO flag. */
206
+ relro?: RelroFlag;
207
+ /** Canary flag. */
208
+ canary?: CanaryFlag;
209
+ /** Stripped flag. */
210
+ stripped?: StrippedFlag;
211
+ }
212
+ /** Binary hardening summary percentages. */
213
+ export interface BinaryHardeningSummary {
214
+ /** Total number of binaries that were analyzed */
215
+ totalFiles?: number;
216
+ /** NX summary percentage */
217
+ nx?: number;
218
+ /** PIE summary percentage */
219
+ pie?: number;
220
+ /** RELRO summary percentage */
221
+ relro?: number;
222
+ /** Canary summary percentage */
223
+ canary?: number;
224
+ /** Stripped summary percentage */
225
+ stripped?: number;
226
+ }
227
+ /** Password hashes list */
228
+ export interface PasswordHashList {
229
+ /**
230
+ * Password hashes list
231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
232
+ */
233
+ readonly value?: PasswordHash[];
234
+ /** The uri to fetch the next page of asset. */
235
+ nextLink?: string;
236
+ }
237
+ /** Password hash properties */
238
+ export interface PasswordHash {
239
+ /** ID for password hash */
240
+ passwordHashId?: string;
241
+ /** File path of the password hash */
242
+ filePath?: string;
243
+ /** Salt of the password hash */
244
+ salt?: string;
245
+ /** Hash of the password */
246
+ hash?: string;
247
+ /** Context of password hash */
248
+ context?: string;
249
+ /** User name of password hash */
250
+ username?: string;
251
+ /** Algorithm of the password hash */
252
+ algorithm?: string;
253
+ }
254
+ /** List result for CVE */
255
+ export interface CveList {
256
+ /**
257
+ * The list of CVE results.
258
+ * NOTE: This property will not be serialized. It can only be populated by the server.
259
+ */
260
+ readonly value?: Cve[];
261
+ /** The uri to fetch the next page of asset. */
262
+ nextLink?: string;
263
+ }
264
+ /** Known CVEs of a firmware. */
265
+ export interface Cve {
266
+ /** ID of CVE */
267
+ cveId?: string;
268
+ /** Component of CVE */
269
+ component?: Record<string, unknown>;
270
+ /** Severity of CVE */
271
+ severity?: string;
272
+ /** Name of CVE */
273
+ name?: string;
274
+ /** A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score */
275
+ cvssScore?: string;
276
+ /** Cvss version of CVE */
277
+ cvssVersion?: string;
278
+ /** Cvss V2 score of CVE */
279
+ cvssV2Score?: string;
280
+ /** Cvss V3 score of CVE */
281
+ cvssV3Score?: string;
282
+ /** Publish date of CVE */
283
+ publishDate?: Date;
284
+ /** Updated date of CVE */
285
+ updatedDate?: Date;
286
+ /**
287
+ * The list of CVE links.
288
+ * NOTE: This property will not be serialized. It can only be populated by the server.
289
+ */
290
+ readonly links?: CveLink[];
291
+ /** Description of CVE */
292
+ description?: string;
293
+ }
294
+ /** Link for CVE */
295
+ export interface CveLink {
296
+ /** Href of CVE link */
297
+ href?: string;
298
+ /** Label of CVE link */
299
+ label?: string;
300
+ }
301
+ /** CVE summary values. */
302
+ export interface CveSummary {
303
+ /** The total number of critical severity CVEs detected */
304
+ critical?: number;
305
+ /** The total number of high severity CVEs detected */
306
+ high?: number;
307
+ /** The total number of medium severity CVEs detected */
308
+ medium?: number;
309
+ /** The total number of low severity CVEs detected */
310
+ low?: number;
311
+ /** The total number of unknown severity CVEs detected */
312
+ unknown?: number;
313
+ /** The total number of undefined severity CVEs detected */
314
+ undefined?: number;
315
+ }
316
+ /** Cryptographic certificate summary values. */
317
+ export interface CryptoCertificateSummary {
318
+ /** Total number of certificates found. */
319
+ totalCertificates?: number;
320
+ /** Total number of paired private keys found for the certificates. */
321
+ pairedKeys?: number;
322
+ /** Total number of expired certificates found. */
323
+ expired?: number;
324
+ /** Total number of nearly expired certificates found. */
325
+ expiringSoon?: number;
326
+ /** Total number of certificates found using a weak signature algorithm. */
327
+ weakSignature?: number;
328
+ /** Total number of certificates found that are self-signed. */
329
+ selfSigned?: number;
330
+ /** Total number of certificates found that have an insecure key size for the key algorithm. */
331
+ shortKeySize?: number;
332
+ }
333
+ /** Cryptographic key summary values. */
334
+ export interface CryptoKeySummary {
335
+ /** Total number of cryptographic keys found. */
336
+ totalKeys?: number;
337
+ /** Total number of (non-certificate) public keys found. */
338
+ publicKeys?: number;
339
+ /** Total number of private keys found. */
340
+ privateKeys?: number;
341
+ /** Total number of keys found that have a matching paired key or certificate. */
342
+ pairedKeys?: number;
343
+ /** Total number of keys found that have an insecure key size for the algorithm. */
344
+ shortKeySize?: number;
345
+ }
346
+ /** Crypto certificates list */
347
+ export interface CryptoCertificateList {
348
+ /**
349
+ * Crypto certificates list
350
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
+ */
352
+ readonly value?: CryptoCertificate[];
353
+ /** The uri to fetch the next page of asset. */
354
+ nextLink?: string;
355
+ }
356
+ /** Crypto certificate properties */
357
+ export interface CryptoCertificate {
358
+ /** ID for the certificate. */
359
+ cryptoCertId?: string;
360
+ /** Name of the certificate. */
361
+ name?: string;
362
+ /** Subject information of the certificate. */
363
+ subject?: CryptoCertificateEntity;
364
+ /** Issuer information of the certificate. */
365
+ issuer?: CryptoCertificateEntity;
366
+ /** Issue date for the certificate. */
367
+ issuedDate?: Date;
368
+ /** Expiration date for the certificate. */
369
+ expirationDate?: Date;
370
+ /** Role of the certificate (Root CA, etc) */
371
+ role?: string;
372
+ /** The signature algorithm used in the certificate. */
373
+ signatureAlgorithm?: string;
374
+ /** Size of the certificate's key in bits */
375
+ keySize?: number;
376
+ /** Key algorithm used in the certificate. */
377
+ keyAlgorithm?: string;
378
+ /** Encoding used for the certificate. */
379
+ encoding?: string;
380
+ /** Serial number of the certificate. */
381
+ serialNumber?: string;
382
+ /** Fingerprint of the certificate. */
383
+ fingerprint?: string;
384
+ /** List of functions the certificate can fulfill. */
385
+ usage?: string[];
386
+ /**
387
+ * List of files paths for this certificate
388
+ * NOTE: This property will not be serialized. It can only be populated by the server.
389
+ */
390
+ readonly filePaths?: string[];
391
+ /** A matching paired private key. */
392
+ pairedKey?: PairedKey;
393
+ /** Indicates if the certificate is expired. */
394
+ isExpired?: IsExpired;
395
+ /** Indicates if the certificate was self-signed. */
396
+ isSelfSigned?: IsSelfSigned;
397
+ /** Indicates the signature algorithm used is insecure. */
398
+ isWeakSignature?: IsWeakSignature;
399
+ /** Indicates the certificate's key size is considered too small to be secure for the key algorithm. */
400
+ isShortKeySize?: IsShortKeySize;
401
+ }
402
+ /** Information on an entity (distinguished name) in a cryptographic certificate. */
403
+ export interface CryptoCertificateEntity {
404
+ /** Common name of the certificate entity. */
405
+ commonName?: string;
406
+ /** Organization of the certificate entity. */
407
+ organization?: string;
408
+ /** The organizational unit of the certificate entity. */
409
+ organizationalUnit?: string;
410
+ /** Geographical state or province of the certificate entity. */
411
+ state?: string;
412
+ /** Country code of the certificate entity. */
413
+ country?: string;
414
+ }
415
+ /** Details of a matching paired key or certificate. */
416
+ export interface PairedKey {
417
+ /** ID of the paired key or certificate. */
418
+ id?: string;
419
+ /** The type indicating whether the paired object is a key or certificate. */
420
+ type?: string;
421
+ /** Additional paired key properties */
422
+ additionalProperties?: Record<string, unknown>;
423
+ }
424
+ /** Crypto keys list */
425
+ export interface CryptoKeyList {
426
+ /**
427
+ * Crypto keys list
428
+ * NOTE: This property will not be serialized. It can only be populated by the server.
429
+ */
430
+ readonly value?: CryptoKey[];
431
+ /** The uri to fetch the next page of asset. */
432
+ nextLink?: string;
433
+ }
434
+ /** Crypto key properties */
435
+ export interface CryptoKey {
436
+ /** ID for the key. */
437
+ cryptoKeyId?: string;
438
+ /** Type of the key (public or private). */
439
+ keyType?: string;
440
+ /** Size of the key in bits. */
441
+ keySize?: number;
442
+ /** Key algorithm name. */
443
+ keyAlgorithm?: string;
444
+ /** Functions the key can fulfill. */
445
+ usage?: string[];
446
+ /**
447
+ * List of files paths for this key.
448
+ * NOTE: This property will not be serialized. It can only be populated by the server.
449
+ */
450
+ readonly filePaths?: string[];
451
+ /** A matching paired key or certificate. */
452
+ pairedKey?: PairedKey;
453
+ /** Indicates the key size is considered too small to be secure for the algorithm. */
454
+ isShortKeySize?: IsShortKeySize;
455
+ }
456
+ /** Return a list of firmware analysis workspaces. */
457
+ export interface WorkspaceList {
458
+ /**
459
+ * The list of firmware analysis workspaces.
460
+ * NOTE: This property will not be serialized. It can only be populated by the server.
461
+ */
462
+ readonly value?: Workspace[];
463
+ /** The uri to fetch the next page of asset. */
464
+ nextLink?: string;
465
+ }
466
+ /** Firmware analysis workspace. */
467
+ export interface WorkspaceUpdateDefinition {
468
+ /**
469
+ * Provisioning state of the resource.
470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
471
+ */
472
+ readonly provisioningState?: ProvisioningState;
473
+ }
474
+ /** Properties for generating an upload URL */
475
+ export interface GenerateUploadUrlRequest {
476
+ /** A unique ID for the firmware to be uploaded. */
477
+ firmwareId?: string;
478
+ }
479
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
480
+ export interface OperationListResult {
481
+ /**
482
+ * List of operations supported by the resource provider
483
+ * NOTE: This property will not be serialized. It can only be populated by the server.
484
+ */
485
+ readonly value?: Operation[];
486
+ /**
487
+ * URL to get the next set of operation list results (if there are any).
488
+ * NOTE: This property will not be serialized. It can only be populated by the server.
489
+ */
490
+ readonly nextLink?: string;
491
+ }
492
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
493
+ export interface Operation {
494
+ /**
495
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
496
+ * NOTE: This property will not be serialized. It can only be populated by the server.
497
+ */
498
+ readonly name?: string;
499
+ /**
500
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
501
+ * NOTE: This property will not be serialized. It can only be populated by the server.
502
+ */
503
+ readonly isDataAction?: boolean;
504
+ /** Localized display information for this particular operation. */
505
+ display?: OperationDisplay;
506
+ /**
507
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly origin?: Origin;
511
+ /**
512
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
514
+ */
515
+ readonly actionType?: ActionType;
516
+ }
517
+ /** Localized display information for this particular operation. */
518
+ export interface OperationDisplay {
519
+ /**
520
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
521
+ * NOTE: This property will not be serialized. It can only be populated by the server.
522
+ */
523
+ readonly provider?: string;
524
+ /**
525
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
526
+ * NOTE: This property will not be serialized. It can only be populated by the server.
527
+ */
528
+ readonly resource?: string;
529
+ /**
530
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
531
+ * NOTE: This property will not be serialized. It can only be populated by the server.
532
+ */
533
+ readonly operation?: string;
534
+ /**
535
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
+ */
538
+ readonly description?: string;
539
+ }
540
+ /** Component for CVE */
541
+ export interface CveComponent {
542
+ /** ID of CVE component */
543
+ componentId?: string;
544
+ /** Name of CVE component */
545
+ name?: string;
546
+ /** Version of CVE component */
547
+ version?: string;
548
+ }
549
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
550
+ export interface ProxyResource extends Resource {
551
+ }
552
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
553
+ export interface TrackedResource extends Resource {
554
+ /** Resource tags. */
555
+ tags?: {
556
+ [propertyName: string]: string;
557
+ };
558
+ /** The geo-location where the resource lives */
559
+ location: string;
560
+ }
561
+ /** Firmware definition */
562
+ export interface Firmware extends ProxyResource {
563
+ /** File name for a firmware that user uploaded. */
564
+ fileName?: string;
565
+ /** Firmware vendor. */
566
+ vendor?: string;
567
+ /** Firmware model. */
568
+ model?: string;
569
+ /** Firmware version. */
570
+ version?: string;
571
+ /** User-specified description of the firmware. */
572
+ description?: string;
573
+ /** File size of the uploaded firmware image. */
574
+ fileSize?: number;
575
+ /** The status of firmware scan. */
576
+ status?: Status;
577
+ /** A list of errors or other messages generated during firmware analysis */
578
+ statusMessages?: Record<string, unknown>[];
579
+ /**
580
+ * Provisioning state of the resource.
581
+ * NOTE: This property will not be serialized. It can only be populated by the server.
582
+ */
583
+ readonly provisioningState?: ProvisioningState;
584
+ }
585
+ /** Firmware analysis workspace. */
586
+ export interface Workspace extends TrackedResource {
587
+ /**
588
+ * Provisioning state of the resource.
589
+ * NOTE: This property will not be serialized. It can only be populated by the server.
590
+ */
591
+ readonly provisioningState?: ProvisioningState;
592
+ }
593
+ /** Known values of {@link Status} that the service accepts. */
594
+ export declare enum KnownStatus {
595
+ /** Pending */
596
+ Pending = "Pending",
597
+ /** Extracting */
598
+ Extracting = "Extracting",
599
+ /** Analyzing */
600
+ Analyzing = "Analyzing",
601
+ /** Ready */
602
+ Ready = "Ready",
603
+ /** Error */
604
+ Error = "Error"
605
+ }
606
+ /**
607
+ * Defines values for Status. \
608
+ * {@link KnownStatus} can be used interchangeably with Status,
609
+ * this enum contains the known values that the service supports.
610
+ * ### Known values supported by the service
611
+ * **Pending** \
612
+ * **Extracting** \
613
+ * **Analyzing** \
614
+ * **Ready** \
615
+ * **Error**
616
+ */
617
+ export type Status = string;
618
+ /** Known values of {@link ProvisioningState} that the service accepts. */
619
+ export declare enum KnownProvisioningState {
620
+ /** Accepted */
621
+ Accepted = "Accepted",
622
+ /** Succeeded */
623
+ Succeeded = "Succeeded",
624
+ /** Canceled */
625
+ Canceled = "Canceled",
626
+ /** Failed */
627
+ Failed = "Failed"
628
+ }
629
+ /**
630
+ * Defines values for ProvisioningState. \
631
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
632
+ * this enum contains the known values that the service supports.
633
+ * ### Known values supported by the service
634
+ * **Accepted** \
635
+ * **Succeeded** \
636
+ * **Canceled** \
637
+ * **Failed**
638
+ */
639
+ export type ProvisioningState = string;
640
+ /** Known values of {@link CreatedByType} that the service accepts. */
641
+ export declare enum KnownCreatedByType {
642
+ /** User */
643
+ User = "User",
644
+ /** Application */
645
+ Application = "Application",
646
+ /** ManagedIdentity */
647
+ ManagedIdentity = "ManagedIdentity",
648
+ /** Key */
649
+ Key = "Key"
650
+ }
651
+ /**
652
+ * Defines values for CreatedByType. \
653
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
654
+ * this enum contains the known values that the service supports.
655
+ * ### Known values supported by the service
656
+ * **User** \
657
+ * **Application** \
658
+ * **ManagedIdentity** \
659
+ * **Key**
660
+ */
661
+ export type CreatedByType = string;
662
+ /** Known values of {@link IsUpdateAvailable} that the service accepts. */
663
+ export declare enum KnownIsUpdateAvailable {
664
+ /** True */
665
+ True = "True",
666
+ /** False */
667
+ False = "False"
668
+ }
669
+ /**
670
+ * Defines values for IsUpdateAvailable. \
671
+ * {@link KnownIsUpdateAvailable} can be used interchangeably with IsUpdateAvailable,
672
+ * this enum contains the known values that the service supports.
673
+ * ### Known values supported by the service
674
+ * **True** \
675
+ * **False**
676
+ */
677
+ export type IsUpdateAvailable = string;
678
+ /** Known values of {@link NxFlag} that the service accepts. */
679
+ export declare enum KnownNxFlag {
680
+ /** True */
681
+ True = "True",
682
+ /** False */
683
+ False = "False"
684
+ }
685
+ /**
686
+ * Defines values for NxFlag. \
687
+ * {@link KnownNxFlag} can be used interchangeably with NxFlag,
688
+ * this enum contains the known values that the service supports.
689
+ * ### Known values supported by the service
690
+ * **True** \
691
+ * **False**
692
+ */
693
+ export type NxFlag = string;
694
+ /** Known values of {@link PieFlag} that the service accepts. */
695
+ export declare enum KnownPieFlag {
696
+ /** True */
697
+ True = "True",
698
+ /** False */
699
+ False = "False"
700
+ }
701
+ /**
702
+ * Defines values for PieFlag. \
703
+ * {@link KnownPieFlag} can be used interchangeably with PieFlag,
704
+ * this enum contains the known values that the service supports.
705
+ * ### Known values supported by the service
706
+ * **True** \
707
+ * **False**
708
+ */
709
+ export type PieFlag = string;
710
+ /** Known values of {@link RelroFlag} that the service accepts. */
711
+ export declare enum KnownRelroFlag {
712
+ /** True */
713
+ True = "True",
714
+ /** False */
715
+ False = "False"
716
+ }
717
+ /**
718
+ * Defines values for RelroFlag. \
719
+ * {@link KnownRelroFlag} can be used interchangeably with RelroFlag,
720
+ * this enum contains the known values that the service supports.
721
+ * ### Known values supported by the service
722
+ * **True** \
723
+ * **False**
724
+ */
725
+ export type RelroFlag = string;
726
+ /** Known values of {@link CanaryFlag} that the service accepts. */
727
+ export declare enum KnownCanaryFlag {
728
+ /** True */
729
+ True = "True",
730
+ /** False */
731
+ False = "False"
732
+ }
733
+ /**
734
+ * Defines values for CanaryFlag. \
735
+ * {@link KnownCanaryFlag} can be used interchangeably with CanaryFlag,
736
+ * this enum contains the known values that the service supports.
737
+ * ### Known values supported by the service
738
+ * **True** \
739
+ * **False**
740
+ */
741
+ export type CanaryFlag = string;
742
+ /** Known values of {@link StrippedFlag} that the service accepts. */
743
+ export declare enum KnownStrippedFlag {
744
+ /** True */
745
+ True = "True",
746
+ /** False */
747
+ False = "False"
748
+ }
749
+ /**
750
+ * Defines values for StrippedFlag. \
751
+ * {@link KnownStrippedFlag} can be used interchangeably with StrippedFlag,
752
+ * this enum contains the known values that the service supports.
753
+ * ### Known values supported by the service
754
+ * **True** \
755
+ * **False**
756
+ */
757
+ export type StrippedFlag = string;
758
+ /** Known values of {@link IsExpired} that the service accepts. */
759
+ export declare enum KnownIsExpired {
760
+ /** True */
761
+ True = "True",
762
+ /** False */
763
+ False = "False"
764
+ }
765
+ /**
766
+ * Defines values for IsExpired. \
767
+ * {@link KnownIsExpired} can be used interchangeably with IsExpired,
768
+ * this enum contains the known values that the service supports.
769
+ * ### Known values supported by the service
770
+ * **True** \
771
+ * **False**
772
+ */
773
+ export type IsExpired = string;
774
+ /** Known values of {@link IsSelfSigned} that the service accepts. */
775
+ export declare enum KnownIsSelfSigned {
776
+ /** True */
777
+ True = "True",
778
+ /** False */
779
+ False = "False"
780
+ }
781
+ /**
782
+ * Defines values for IsSelfSigned. \
783
+ * {@link KnownIsSelfSigned} can be used interchangeably with IsSelfSigned,
784
+ * this enum contains the known values that the service supports.
785
+ * ### Known values supported by the service
786
+ * **True** \
787
+ * **False**
788
+ */
789
+ export type IsSelfSigned = string;
790
+ /** Known values of {@link IsWeakSignature} that the service accepts. */
791
+ export declare enum KnownIsWeakSignature {
792
+ /** True */
793
+ True = "True",
794
+ /** False */
795
+ False = "False"
796
+ }
797
+ /**
798
+ * Defines values for IsWeakSignature. \
799
+ * {@link KnownIsWeakSignature} can be used interchangeably with IsWeakSignature,
800
+ * this enum contains the known values that the service supports.
801
+ * ### Known values supported by the service
802
+ * **True** \
803
+ * **False**
804
+ */
805
+ export type IsWeakSignature = string;
806
+ /** Known values of {@link IsShortKeySize} that the service accepts. */
807
+ export declare enum KnownIsShortKeySize {
808
+ /** True */
809
+ True = "True",
810
+ /** False */
811
+ False = "False"
812
+ }
813
+ /**
814
+ * Defines values for IsShortKeySize. \
815
+ * {@link KnownIsShortKeySize} can be used interchangeably with IsShortKeySize,
816
+ * this enum contains the known values that the service supports.
817
+ * ### Known values supported by the service
818
+ * **True** \
819
+ * **False**
820
+ */
821
+ export type IsShortKeySize = string;
822
+ /** Known values of {@link Origin} that the service accepts. */
823
+ export declare enum KnownOrigin {
824
+ /** User */
825
+ User = "user",
826
+ /** System */
827
+ System = "system",
828
+ /** UserSystem */
829
+ UserSystem = "user,system"
830
+ }
831
+ /**
832
+ * Defines values for Origin. \
833
+ * {@link KnownOrigin} can be used interchangeably with Origin,
834
+ * this enum contains the known values that the service supports.
835
+ * ### Known values supported by the service
836
+ * **user** \
837
+ * **system** \
838
+ * **user,system**
839
+ */
840
+ export type Origin = string;
841
+ /** Known values of {@link ActionType} that the service accepts. */
842
+ export declare enum KnownActionType {
843
+ /** Internal */
844
+ Internal = "Internal"
845
+ }
846
+ /**
847
+ * Defines values for ActionType. \
848
+ * {@link KnownActionType} can be used interchangeably with ActionType,
849
+ * this enum contains the known values that the service supports.
850
+ * ### Known values supported by the service
851
+ * **Internal**
852
+ */
853
+ export type ActionType = string;
854
+ /** Optional parameters. */
855
+ export interface FirmwareListByWorkspaceOptionalParams extends coreClient.OperationOptions {
856
+ }
857
+ /** Contains response data for the listByWorkspace operation. */
858
+ export type FirmwareListByWorkspaceResponse = FirmwareList;
859
+ /** Optional parameters. */
860
+ export interface FirmwareCreateOptionalParams extends coreClient.OperationOptions {
861
+ }
862
+ /** Contains response data for the create operation. */
863
+ export type FirmwareCreateResponse = Firmware;
864
+ /** Optional parameters. */
865
+ export interface FirmwareUpdateOptionalParams extends coreClient.OperationOptions {
866
+ }
867
+ /** Contains response data for the update operation. */
868
+ export type FirmwareUpdateResponse = Firmware;
869
+ /** Optional parameters. */
870
+ export interface FirmwareDeleteOptionalParams extends coreClient.OperationOptions {
871
+ }
872
+ /** Optional parameters. */
873
+ export interface FirmwareGetOptionalParams extends coreClient.OperationOptions {
874
+ }
875
+ /** Contains response data for the get operation. */
876
+ export type FirmwareGetResponse = Firmware;
877
+ /** Optional parameters. */
878
+ export interface FirmwareGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
879
+ }
880
+ /** Contains response data for the generateDownloadUrl operation. */
881
+ export type FirmwareGenerateDownloadUrlResponse = UrlToken;
882
+ /** Optional parameters. */
883
+ export interface FirmwareGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
884
+ }
885
+ /** Contains response data for the generateFilesystemDownloadUrl operation. */
886
+ export type FirmwareGenerateFilesystemDownloadUrlResponse = UrlToken;
887
+ /** Optional parameters. */
888
+ export interface FirmwareGenerateSummaryOptionalParams extends coreClient.OperationOptions {
889
+ }
890
+ /** Contains response data for the generateSummary operation. */
891
+ export type FirmwareGenerateSummaryResponse = FirmwareSummary;
892
+ /** Optional parameters. */
893
+ export interface FirmwareListGenerateComponentListOptionalParams extends coreClient.OperationOptions {
894
+ }
895
+ /** Contains response data for the listGenerateComponentList operation. */
896
+ export type FirmwareListGenerateComponentListResponse = ComponentList;
897
+ /** Optional parameters. */
898
+ export interface FirmwareGenerateComponentDetailsOptionalParams extends coreClient.OperationOptions {
899
+ }
900
+ /** Contains response data for the generateComponentDetails operation. */
901
+ export type FirmwareGenerateComponentDetailsResponse = Component;
902
+ /** Optional parameters. */
903
+ export interface FirmwareListGenerateBinaryHardeningListOptionalParams extends coreClient.OperationOptions {
904
+ }
905
+ /** Contains response data for the listGenerateBinaryHardeningList operation. */
906
+ export type FirmwareListGenerateBinaryHardeningListResponse = BinaryHardeningList;
907
+ /** Optional parameters. */
908
+ export interface FirmwareGenerateBinaryHardeningSummaryOptionalParams extends coreClient.OperationOptions {
909
+ }
910
+ /** Contains response data for the generateBinaryHardeningSummary operation. */
911
+ export type FirmwareGenerateBinaryHardeningSummaryResponse = BinaryHardeningSummary;
912
+ /** Optional parameters. */
913
+ export interface FirmwareGenerateBinaryHardeningDetailsOptionalParams extends coreClient.OperationOptions {
914
+ }
915
+ /** Contains response data for the generateBinaryHardeningDetails operation. */
916
+ export type FirmwareGenerateBinaryHardeningDetailsResponse = BinaryHardening;
917
+ /** Optional parameters. */
918
+ export interface FirmwareListGeneratePasswordHashListOptionalParams extends coreClient.OperationOptions {
919
+ }
920
+ /** Contains response data for the listGeneratePasswordHashList operation. */
921
+ export type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
922
+ /** Optional parameters. */
923
+ export interface FirmwareListGenerateCveListOptionalParams extends coreClient.OperationOptions {
924
+ }
925
+ /** Contains response data for the listGenerateCveList operation. */
926
+ export type FirmwareListGenerateCveListResponse = CveList;
927
+ /** Optional parameters. */
928
+ export interface FirmwareGenerateCveSummaryOptionalParams extends coreClient.OperationOptions {
929
+ }
930
+ /** Contains response data for the generateCveSummary operation. */
931
+ export type FirmwareGenerateCveSummaryResponse = CveSummary;
932
+ /** Optional parameters. */
933
+ export interface FirmwareGenerateCryptoCertificateSummaryOptionalParams extends coreClient.OperationOptions {
934
+ }
935
+ /** Contains response data for the generateCryptoCertificateSummary operation. */
936
+ export type FirmwareGenerateCryptoCertificateSummaryResponse = CryptoCertificateSummary;
937
+ /** Optional parameters. */
938
+ export interface FirmwareGenerateCryptoKeySummaryOptionalParams extends coreClient.OperationOptions {
939
+ }
940
+ /** Contains response data for the generateCryptoKeySummary operation. */
941
+ export type FirmwareGenerateCryptoKeySummaryResponse = CryptoKeySummary;
942
+ /** Optional parameters. */
943
+ export interface FirmwareListGenerateCryptoCertificateListOptionalParams extends coreClient.OperationOptions {
944
+ }
945
+ /** Contains response data for the listGenerateCryptoCertificateList operation. */
946
+ export type FirmwareListGenerateCryptoCertificateListResponse = CryptoCertificateList;
947
+ /** Optional parameters. */
948
+ export interface FirmwareListGenerateCryptoKeyListOptionalParams extends coreClient.OperationOptions {
949
+ }
950
+ /** Contains response data for the listGenerateCryptoKeyList operation. */
951
+ export type FirmwareListGenerateCryptoKeyListResponse = CryptoKeyList;
952
+ /** Optional parameters. */
953
+ export interface FirmwareListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
954
+ }
955
+ /** Contains response data for the listByWorkspaceNext operation. */
956
+ export type FirmwareListByWorkspaceNextResponse = FirmwareList;
957
+ /** Optional parameters. */
958
+ export interface FirmwareListGenerateComponentListNextOptionalParams extends coreClient.OperationOptions {
959
+ }
960
+ /** Contains response data for the listGenerateComponentListNext operation. */
961
+ export type FirmwareListGenerateComponentListNextResponse = ComponentList;
962
+ /** Optional parameters. */
963
+ export interface FirmwareListGenerateBinaryHardeningListNextOptionalParams extends coreClient.OperationOptions {
964
+ }
965
+ /** Contains response data for the listGenerateBinaryHardeningListNext operation. */
966
+ export type FirmwareListGenerateBinaryHardeningListNextResponse = BinaryHardeningList;
967
+ /** Optional parameters. */
968
+ export interface FirmwareListGeneratePasswordHashListNextOptionalParams extends coreClient.OperationOptions {
969
+ }
970
+ /** Contains response data for the listGeneratePasswordHashListNext operation. */
971
+ export type FirmwareListGeneratePasswordHashListNextResponse = PasswordHashList;
972
+ /** Optional parameters. */
973
+ export interface FirmwareListGenerateCveListNextOptionalParams extends coreClient.OperationOptions {
974
+ }
975
+ /** Contains response data for the listGenerateCveListNext operation. */
976
+ export type FirmwareListGenerateCveListNextResponse = CveList;
977
+ /** Optional parameters. */
978
+ export interface FirmwareListGenerateCryptoCertificateListNextOptionalParams extends coreClient.OperationOptions {
979
+ }
980
+ /** Contains response data for the listGenerateCryptoCertificateListNext operation. */
981
+ export type FirmwareListGenerateCryptoCertificateListNextResponse = CryptoCertificateList;
982
+ /** Optional parameters. */
983
+ export interface FirmwareListGenerateCryptoKeyListNextOptionalParams extends coreClient.OperationOptions {
984
+ }
985
+ /** Contains response data for the listGenerateCryptoKeyListNext operation. */
986
+ export type FirmwareListGenerateCryptoKeyListNextResponse = CryptoKeyList;
987
+ /** Optional parameters. */
988
+ export interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
989
+ }
990
+ /** Contains response data for the listBySubscription operation. */
991
+ export type WorkspacesListBySubscriptionResponse = WorkspaceList;
992
+ /** Optional parameters. */
993
+ export interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
994
+ }
995
+ /** Contains response data for the listByResourceGroup operation. */
996
+ export type WorkspacesListByResourceGroupResponse = WorkspaceList;
997
+ /** Optional parameters. */
998
+ export interface WorkspacesCreateOptionalParams extends coreClient.OperationOptions {
999
+ }
1000
+ /** Contains response data for the create operation. */
1001
+ export type WorkspacesCreateResponse = Workspace;
1002
+ /** Optional parameters. */
1003
+ export interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
1004
+ }
1005
+ /** Contains response data for the update operation. */
1006
+ export type WorkspacesUpdateResponse = Workspace;
1007
+ /** Optional parameters. */
1008
+ export interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
1009
+ }
1010
+ /** Optional parameters. */
1011
+ export interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
1012
+ }
1013
+ /** Contains response data for the get operation. */
1014
+ export type WorkspacesGetResponse = Workspace;
1015
+ /** Optional parameters. */
1016
+ export interface WorkspacesGenerateUploadUrlOptionalParams extends coreClient.OperationOptions {
1017
+ }
1018
+ /** Contains response data for the generateUploadUrl operation. */
1019
+ export type WorkspacesGenerateUploadUrlResponse = UrlToken;
1020
+ /** Optional parameters. */
1021
+ export interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1022
+ }
1023
+ /** Contains response data for the listBySubscriptionNext operation. */
1024
+ export type WorkspacesListBySubscriptionNextResponse = WorkspaceList;
1025
+ /** Optional parameters. */
1026
+ export interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1027
+ }
1028
+ /** Contains response data for the listByResourceGroupNext operation. */
1029
+ export type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
1030
+ /** Optional parameters. */
1031
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1032
+ }
1033
+ /** Contains response data for the list operation. */
1034
+ export type OperationsListResponse = OperationListResult;
1035
+ /** Optional parameters. */
1036
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1037
+ }
1038
+ /** Contains response data for the listNext operation. */
1039
+ export type OperationsListNextResponse = OperationListResult;
1040
+ /** Optional parameters. */
1041
+ export interface IoTFirmwareDefenseClientOptionalParams extends coreClient.ServiceClientOptions {
1042
+ /** server parameter */
1043
+ $host?: string;
1044
+ /** Api Version */
1045
+ apiVersion?: string;
1046
+ /** Overrides client endpoint. */
1047
+ endpoint?: string;
1048
+ }
1049
+ //# sourceMappingURL=index.d.ts.map