@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.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +4045 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/firmwareCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareCreateSample.js +73 -0
- package/dist-esm/samples-dev/firmwareCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareDeleteSample.js +62 -0
- package/dist-esm/samples-dev/firmwareDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateBinaryHardeningSummarySample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateComponentDetailsSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js +61 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoCertificateSummarySample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js +61 -0
- package/dist-esm/samples-dev/firmwareGenerateCryptoKeySummarySample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateCveSummarySample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateFilesystemDownloadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.js +62 -0
- package/dist-esm/samples-dev/firmwareGenerateSummarySample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareGetSample.js +62 -0
- package/dist-esm/samples-dev/firmwareGetSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js +102 -0
- package/dist-esm/samples-dev/firmwareListByWorkspaceSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js +104 -0
- package/dist-esm/samples-dev/firmwareListGenerateBinaryHardeningListSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js +104 -0
- package/dist-esm/samples-dev/firmwareListGenerateComponentListSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js +103 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoCertificateListSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js +103 -0
- package/dist-esm/samples-dev/firmwareListGenerateCryptoKeyListSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js +104 -0
- package/dist-esm/samples-dev/firmwareListGenerateCveListSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js +104 -0
- package/dist-esm/samples-dev/firmwareListGeneratePasswordHashListSample.js.map +1 -0
- package/dist-esm/samples-dev/firmwareUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/firmwareUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/firmwareUpdateSample.js +73 -0
- package/dist-esm/samples-dev/firmwareUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +96 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesCreateSample.js +63 -0
- package/dist-esm/samples-dev/workspacesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.js +58 -0
- package/dist-esm/samples-dev/workspacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js +62 -0
- package/dist-esm/samples-dev/workspacesGenerateUploadUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesGetSample.js +58 -0
- package/dist-esm/samples-dev/workspacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +98 -0
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +96 -0
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.js +60 -0
- package/dist-esm/samples-dev/workspacesUpdateSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/ioTFirmwareDefenseClient.d.ts +22 -0
- package/dist-esm/src/ioTFirmwareDefenseClient.d.ts.map +1 -0
- package/dist-esm/src/ioTFirmwareDefenseClient.js +102 -0
- package/dist-esm/src/ioTFirmwareDefenseClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1049 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +142 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +41 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1618 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +134 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/firmwareOperations.d.ts +313 -0
- package/dist-esm/src/operations/firmwareOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/firmwareOperations.js +1393 -0
- package/dist-esm/src/operations/firmwareOperations.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +138 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/workspaces.d.ts +91 -0
- package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operations/workspaces.js +431 -0
- package/dist-esm/src/operations/workspaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts +169 -0
- package/dist-esm/src/operationsInterfaces/firmwareOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/firmwareOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/firmwareOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js +120 -0
- package/dist-esm/test/iotfirmwaredefense_operations_test.spec.js.map +1 -0
- package/package.json +121 -0
- package/review/arm-iotfirmwaredefense.api.md +820 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +13 -0
- package/src/ioTFirmwareDefenseClient.ts +152 -0
- package/src/models/index.ts +1198 -0
- package/src/models/mappers.ts +1678 -0
- package/src/models/parameters.ts +159 -0
- package/src/operations/firmwareOperations.ts +1892 -0
- package/src/operations/index.ts +11 -0
- package/src/operations/operations.ts +149 -0
- package/src/operations/workspaces.ts +527 -0
- package/src/operationsInterfaces/firmwareOperations.ts +320 -0
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/workspaces.ts +107 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-iotfirmwaredefense.d.ts +1453 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,1453 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Defines values for ActionType. \
|
|
7
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
8
|
+
* this enum contains the known values that the service supports.
|
|
9
|
+
* ### Known values supported by the service
|
|
10
|
+
* **Internal**
|
|
11
|
+
*/
|
|
12
|
+
export declare type ActionType = string;
|
|
13
|
+
|
|
14
|
+
/** Binary hardening of a firmware. */
|
|
15
|
+
export declare interface BinaryHardening {
|
|
16
|
+
/** ID for the binary hardening result. */
|
|
17
|
+
binaryHardeningId?: string;
|
|
18
|
+
/** The architecture of the uploaded firmware. */
|
|
19
|
+
architecture?: string;
|
|
20
|
+
/** path for binary hardening. */
|
|
21
|
+
path?: string;
|
|
22
|
+
/** class for binary hardening. */
|
|
23
|
+
class?: string;
|
|
24
|
+
/** The runpath of the uploaded firmware. */
|
|
25
|
+
runpath?: string;
|
|
26
|
+
/** The rpath of the uploaded firmware. */
|
|
27
|
+
rpath?: string;
|
|
28
|
+
/** NX flag. */
|
|
29
|
+
nx?: NxFlag;
|
|
30
|
+
/** PIE flag. */
|
|
31
|
+
pie?: PieFlag;
|
|
32
|
+
/** RELRO flag. */
|
|
33
|
+
relro?: RelroFlag;
|
|
34
|
+
/** Canary flag. */
|
|
35
|
+
canary?: CanaryFlag;
|
|
36
|
+
/** Stripped flag. */
|
|
37
|
+
stripped?: StrippedFlag;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** List result for binary hardening */
|
|
41
|
+
export declare interface BinaryHardeningList {
|
|
42
|
+
/**
|
|
43
|
+
* The list of binary hardening results.
|
|
44
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
45
|
+
*/
|
|
46
|
+
readonly value?: BinaryHardening[];
|
|
47
|
+
/** The uri to fetch the next page of asset. */
|
|
48
|
+
nextLink?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** Binary hardening summary percentages. */
|
|
52
|
+
export declare interface BinaryHardeningSummary {
|
|
53
|
+
/** Total number of binaries that were analyzed */
|
|
54
|
+
totalFiles?: number;
|
|
55
|
+
/** NX summary percentage */
|
|
56
|
+
nx?: number;
|
|
57
|
+
/** PIE summary percentage */
|
|
58
|
+
pie?: number;
|
|
59
|
+
/** RELRO summary percentage */
|
|
60
|
+
relro?: number;
|
|
61
|
+
/** Canary summary percentage */
|
|
62
|
+
canary?: number;
|
|
63
|
+
/** Stripped summary percentage */
|
|
64
|
+
stripped?: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Defines values for CanaryFlag. \
|
|
69
|
+
* {@link KnownCanaryFlag} can be used interchangeably with CanaryFlag,
|
|
70
|
+
* this enum contains the known values that the service supports.
|
|
71
|
+
* ### Known values supported by the service
|
|
72
|
+
* **True** \
|
|
73
|
+
* **False**
|
|
74
|
+
*/
|
|
75
|
+
export declare type CanaryFlag = string;
|
|
76
|
+
|
|
77
|
+
/** Component of a firmware. */
|
|
78
|
+
export declare interface Component {
|
|
79
|
+
/** ID for the component. */
|
|
80
|
+
componentId?: string;
|
|
81
|
+
/** Name for the component. */
|
|
82
|
+
componentName?: string;
|
|
83
|
+
/** Version for the component. */
|
|
84
|
+
version?: string;
|
|
85
|
+
/** License for the component. */
|
|
86
|
+
license?: string;
|
|
87
|
+
/** Release date for the component. */
|
|
88
|
+
releaseDate?: Date;
|
|
89
|
+
/** Paths of the component. */
|
|
90
|
+
paths?: string[];
|
|
91
|
+
/** Flag if new update is available for the component. */
|
|
92
|
+
isUpdateAvailable?: IsUpdateAvailable;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** List result for components */
|
|
96
|
+
export declare interface ComponentList {
|
|
97
|
+
/**
|
|
98
|
+
* The list of components.
|
|
99
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
100
|
+
*/
|
|
101
|
+
readonly value?: Component[];
|
|
102
|
+
/** The uri to fetch the next page of asset. */
|
|
103
|
+
nextLink?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Defines values for CreatedByType. \
|
|
108
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
109
|
+
* this enum contains the known values that the service supports.
|
|
110
|
+
* ### Known values supported by the service
|
|
111
|
+
* **User** \
|
|
112
|
+
* **Application** \
|
|
113
|
+
* **ManagedIdentity** \
|
|
114
|
+
* **Key**
|
|
115
|
+
*/
|
|
116
|
+
export declare type CreatedByType = string;
|
|
117
|
+
|
|
118
|
+
/** Crypto certificate properties */
|
|
119
|
+
export declare interface CryptoCertificate {
|
|
120
|
+
/** ID for the certificate. */
|
|
121
|
+
cryptoCertId?: string;
|
|
122
|
+
/** Name of the certificate. */
|
|
123
|
+
name?: string;
|
|
124
|
+
/** Subject information of the certificate. */
|
|
125
|
+
subject?: CryptoCertificateEntity;
|
|
126
|
+
/** Issuer information of the certificate. */
|
|
127
|
+
issuer?: CryptoCertificateEntity;
|
|
128
|
+
/** Issue date for the certificate. */
|
|
129
|
+
issuedDate?: Date;
|
|
130
|
+
/** Expiration date for the certificate. */
|
|
131
|
+
expirationDate?: Date;
|
|
132
|
+
/** Role of the certificate (Root CA, etc) */
|
|
133
|
+
role?: string;
|
|
134
|
+
/** The signature algorithm used in the certificate. */
|
|
135
|
+
signatureAlgorithm?: string;
|
|
136
|
+
/** Size of the certificate's key in bits */
|
|
137
|
+
keySize?: number;
|
|
138
|
+
/** Key algorithm used in the certificate. */
|
|
139
|
+
keyAlgorithm?: string;
|
|
140
|
+
/** Encoding used for the certificate. */
|
|
141
|
+
encoding?: string;
|
|
142
|
+
/** Serial number of the certificate. */
|
|
143
|
+
serialNumber?: string;
|
|
144
|
+
/** Fingerprint of the certificate. */
|
|
145
|
+
fingerprint?: string;
|
|
146
|
+
/** List of functions the certificate can fulfill. */
|
|
147
|
+
usage?: string[];
|
|
148
|
+
/**
|
|
149
|
+
* List of files paths for this certificate
|
|
150
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
151
|
+
*/
|
|
152
|
+
readonly filePaths?: string[];
|
|
153
|
+
/** A matching paired private key. */
|
|
154
|
+
pairedKey?: PairedKey;
|
|
155
|
+
/** Indicates if the certificate is expired. */
|
|
156
|
+
isExpired?: IsExpired;
|
|
157
|
+
/** Indicates if the certificate was self-signed. */
|
|
158
|
+
isSelfSigned?: IsSelfSigned;
|
|
159
|
+
/** Indicates the signature algorithm used is insecure. */
|
|
160
|
+
isWeakSignature?: IsWeakSignature;
|
|
161
|
+
/** Indicates the certificate's key size is considered too small to be secure for the key algorithm. */
|
|
162
|
+
isShortKeySize?: IsShortKeySize;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/** Information on an entity (distinguished name) in a cryptographic certificate. */
|
|
166
|
+
export declare interface CryptoCertificateEntity {
|
|
167
|
+
/** Common name of the certificate entity. */
|
|
168
|
+
commonName?: string;
|
|
169
|
+
/** Organization of the certificate entity. */
|
|
170
|
+
organization?: string;
|
|
171
|
+
/** The organizational unit of the certificate entity. */
|
|
172
|
+
organizationalUnit?: string;
|
|
173
|
+
/** Geographical state or province of the certificate entity. */
|
|
174
|
+
state?: string;
|
|
175
|
+
/** Country code of the certificate entity. */
|
|
176
|
+
country?: string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Crypto certificates list */
|
|
180
|
+
export declare interface CryptoCertificateList {
|
|
181
|
+
/**
|
|
182
|
+
* Crypto certificates list
|
|
183
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
184
|
+
*/
|
|
185
|
+
readonly value?: CryptoCertificate[];
|
|
186
|
+
/** The uri to fetch the next page of asset. */
|
|
187
|
+
nextLink?: string;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/** Cryptographic certificate summary values. */
|
|
191
|
+
export declare interface CryptoCertificateSummary {
|
|
192
|
+
/** Total number of certificates found. */
|
|
193
|
+
totalCertificates?: number;
|
|
194
|
+
/** Total number of paired private keys found for the certificates. */
|
|
195
|
+
pairedKeys?: number;
|
|
196
|
+
/** Total number of expired certificates found. */
|
|
197
|
+
expired?: number;
|
|
198
|
+
/** Total number of nearly expired certificates found. */
|
|
199
|
+
expiringSoon?: number;
|
|
200
|
+
/** Total number of certificates found using a weak signature algorithm. */
|
|
201
|
+
weakSignature?: number;
|
|
202
|
+
/** Total number of certificates found that are self-signed. */
|
|
203
|
+
selfSigned?: number;
|
|
204
|
+
/** Total number of certificates found that have an insecure key size for the key algorithm. */
|
|
205
|
+
shortKeySize?: number;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/** Crypto key properties */
|
|
209
|
+
declare interface CryptoKey_2 {
|
|
210
|
+
/** ID for the key. */
|
|
211
|
+
cryptoKeyId?: string;
|
|
212
|
+
/** Type of the key (public or private). */
|
|
213
|
+
keyType?: string;
|
|
214
|
+
/** Size of the key in bits. */
|
|
215
|
+
keySize?: number;
|
|
216
|
+
/** Key algorithm name. */
|
|
217
|
+
keyAlgorithm?: string;
|
|
218
|
+
/** Functions the key can fulfill. */
|
|
219
|
+
usage?: string[];
|
|
220
|
+
/**
|
|
221
|
+
* List of files paths for this key.
|
|
222
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
223
|
+
*/
|
|
224
|
+
readonly filePaths?: string[];
|
|
225
|
+
/** A matching paired key or certificate. */
|
|
226
|
+
pairedKey?: PairedKey;
|
|
227
|
+
/** Indicates the key size is considered too small to be secure for the algorithm. */
|
|
228
|
+
isShortKeySize?: IsShortKeySize;
|
|
229
|
+
}
|
|
230
|
+
export { CryptoKey_2 as CryptoKey }
|
|
231
|
+
|
|
232
|
+
/** Crypto keys list */
|
|
233
|
+
export declare interface CryptoKeyList {
|
|
234
|
+
/**
|
|
235
|
+
* Crypto keys list
|
|
236
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
237
|
+
*/
|
|
238
|
+
readonly value?: CryptoKey_2[];
|
|
239
|
+
/** The uri to fetch the next page of asset. */
|
|
240
|
+
nextLink?: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** Cryptographic key summary values. */
|
|
244
|
+
export declare interface CryptoKeySummary {
|
|
245
|
+
/** Total number of cryptographic keys found. */
|
|
246
|
+
totalKeys?: number;
|
|
247
|
+
/** Total number of (non-certificate) public keys found. */
|
|
248
|
+
publicKeys?: number;
|
|
249
|
+
/** Total number of private keys found. */
|
|
250
|
+
privateKeys?: number;
|
|
251
|
+
/** Total number of keys found that have a matching paired key or certificate. */
|
|
252
|
+
pairedKeys?: number;
|
|
253
|
+
/** Total number of keys found that have an insecure key size for the algorithm. */
|
|
254
|
+
shortKeySize?: number;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** Known CVEs of a firmware. */
|
|
258
|
+
export declare interface Cve {
|
|
259
|
+
/** ID of CVE */
|
|
260
|
+
cveId?: string;
|
|
261
|
+
/** Component of CVE */
|
|
262
|
+
component?: Record<string, unknown>;
|
|
263
|
+
/** Severity of CVE */
|
|
264
|
+
severity?: string;
|
|
265
|
+
/** Name of CVE */
|
|
266
|
+
name?: string;
|
|
267
|
+
/** 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 */
|
|
268
|
+
cvssScore?: string;
|
|
269
|
+
/** Cvss version of CVE */
|
|
270
|
+
cvssVersion?: string;
|
|
271
|
+
/** Cvss V2 score of CVE */
|
|
272
|
+
cvssV2Score?: string;
|
|
273
|
+
/** Cvss V3 score of CVE */
|
|
274
|
+
cvssV3Score?: string;
|
|
275
|
+
/** Publish date of CVE */
|
|
276
|
+
publishDate?: Date;
|
|
277
|
+
/** Updated date of CVE */
|
|
278
|
+
updatedDate?: Date;
|
|
279
|
+
/**
|
|
280
|
+
* The list of CVE links.
|
|
281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
282
|
+
*/
|
|
283
|
+
readonly links?: CveLink[];
|
|
284
|
+
/** Description of CVE */
|
|
285
|
+
description?: string;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
/** Component for CVE */
|
|
289
|
+
export declare interface CveComponent {
|
|
290
|
+
/** ID of CVE component */
|
|
291
|
+
componentId?: string;
|
|
292
|
+
/** Name of CVE component */
|
|
293
|
+
name?: string;
|
|
294
|
+
/** Version of CVE component */
|
|
295
|
+
version?: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** Link for CVE */
|
|
299
|
+
export declare interface CveLink {
|
|
300
|
+
/** Href of CVE link */
|
|
301
|
+
href?: string;
|
|
302
|
+
/** Label of CVE link */
|
|
303
|
+
label?: string;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/** List result for CVE */
|
|
307
|
+
export declare interface CveList {
|
|
308
|
+
/**
|
|
309
|
+
* The list of CVE results.
|
|
310
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
311
|
+
*/
|
|
312
|
+
readonly value?: Cve[];
|
|
313
|
+
/** The uri to fetch the next page of asset. */
|
|
314
|
+
nextLink?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/** CVE summary values. */
|
|
318
|
+
export declare interface CveSummary {
|
|
319
|
+
/** The total number of critical severity CVEs detected */
|
|
320
|
+
critical?: number;
|
|
321
|
+
/** The total number of high severity CVEs detected */
|
|
322
|
+
high?: number;
|
|
323
|
+
/** The total number of medium severity CVEs detected */
|
|
324
|
+
medium?: number;
|
|
325
|
+
/** The total number of low severity CVEs detected */
|
|
326
|
+
low?: number;
|
|
327
|
+
/** The total number of unknown severity CVEs detected */
|
|
328
|
+
unknown?: number;
|
|
329
|
+
/** The total number of undefined severity CVEs detected */
|
|
330
|
+
undefined?: number;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/** The resource management error additional info. */
|
|
334
|
+
export declare interface ErrorAdditionalInfo {
|
|
335
|
+
/**
|
|
336
|
+
* The additional info type.
|
|
337
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
338
|
+
*/
|
|
339
|
+
readonly type?: string;
|
|
340
|
+
/**
|
|
341
|
+
* The additional info.
|
|
342
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
343
|
+
*/
|
|
344
|
+
readonly info?: Record<string, unknown>;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/** The error detail. */
|
|
348
|
+
export declare interface ErrorDetail {
|
|
349
|
+
/**
|
|
350
|
+
* The error code.
|
|
351
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
352
|
+
*/
|
|
353
|
+
readonly code?: string;
|
|
354
|
+
/**
|
|
355
|
+
* The error message.
|
|
356
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
357
|
+
*/
|
|
358
|
+
readonly message?: string;
|
|
359
|
+
/**
|
|
360
|
+
* The error target.
|
|
361
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
|
+
*/
|
|
363
|
+
readonly target?: string;
|
|
364
|
+
/**
|
|
365
|
+
* The error details.
|
|
366
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
367
|
+
*/
|
|
368
|
+
readonly details?: ErrorDetail[];
|
|
369
|
+
/**
|
|
370
|
+
* The error additional info.
|
|
371
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
372
|
+
*/
|
|
373
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
377
|
+
export declare interface ErrorResponse {
|
|
378
|
+
/** The error object. */
|
|
379
|
+
error?: ErrorDetail;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/** Firmware definition */
|
|
383
|
+
export declare interface Firmware extends ProxyResource {
|
|
384
|
+
/** File name for a firmware that user uploaded. */
|
|
385
|
+
fileName?: string;
|
|
386
|
+
/** Firmware vendor. */
|
|
387
|
+
vendor?: string;
|
|
388
|
+
/** Firmware model. */
|
|
389
|
+
model?: string;
|
|
390
|
+
/** Firmware version. */
|
|
391
|
+
version?: string;
|
|
392
|
+
/** User-specified description of the firmware. */
|
|
393
|
+
description?: string;
|
|
394
|
+
/** File size of the uploaded firmware image. */
|
|
395
|
+
fileSize?: number;
|
|
396
|
+
/** The status of firmware scan. */
|
|
397
|
+
status?: Status;
|
|
398
|
+
/** A list of errors or other messages generated during firmware analysis */
|
|
399
|
+
statusMessages?: Record<string, unknown>[];
|
|
400
|
+
/**
|
|
401
|
+
* Provisioning state of the resource.
|
|
402
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
403
|
+
*/
|
|
404
|
+
readonly provisioningState?: ProvisioningState;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/** Optional parameters. */
|
|
408
|
+
export declare interface FirmwareCreateOptionalParams extends coreClient.OperationOptions {
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/** Contains response data for the create operation. */
|
|
412
|
+
export declare type FirmwareCreateResponse = Firmware;
|
|
413
|
+
|
|
414
|
+
/** Optional parameters. */
|
|
415
|
+
export declare interface FirmwareDeleteOptionalParams extends coreClient.OperationOptions {
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/** Optional parameters. */
|
|
419
|
+
export declare interface FirmwareGenerateBinaryHardeningDetailsOptionalParams extends coreClient.OperationOptions {
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/** Contains response data for the generateBinaryHardeningDetails operation. */
|
|
423
|
+
export declare type FirmwareGenerateBinaryHardeningDetailsResponse = BinaryHardening;
|
|
424
|
+
|
|
425
|
+
/** Optional parameters. */
|
|
426
|
+
export declare interface FirmwareGenerateBinaryHardeningSummaryOptionalParams extends coreClient.OperationOptions {
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/** Contains response data for the generateBinaryHardeningSummary operation. */
|
|
430
|
+
export declare type FirmwareGenerateBinaryHardeningSummaryResponse = BinaryHardeningSummary;
|
|
431
|
+
|
|
432
|
+
/** Optional parameters. */
|
|
433
|
+
export declare interface FirmwareGenerateComponentDetailsOptionalParams extends coreClient.OperationOptions {
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/** Contains response data for the generateComponentDetails operation. */
|
|
437
|
+
export declare type FirmwareGenerateComponentDetailsResponse = Component;
|
|
438
|
+
|
|
439
|
+
/** Optional parameters. */
|
|
440
|
+
export declare interface FirmwareGenerateCryptoCertificateSummaryOptionalParams extends coreClient.OperationOptions {
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/** Contains response data for the generateCryptoCertificateSummary operation. */
|
|
444
|
+
export declare type FirmwareGenerateCryptoCertificateSummaryResponse = CryptoCertificateSummary;
|
|
445
|
+
|
|
446
|
+
/** Optional parameters. */
|
|
447
|
+
export declare interface FirmwareGenerateCryptoKeySummaryOptionalParams extends coreClient.OperationOptions {
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/** Contains response data for the generateCryptoKeySummary operation. */
|
|
451
|
+
export declare type FirmwareGenerateCryptoKeySummaryResponse = CryptoKeySummary;
|
|
452
|
+
|
|
453
|
+
/** Optional parameters. */
|
|
454
|
+
export declare interface FirmwareGenerateCveSummaryOptionalParams extends coreClient.OperationOptions {
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/** Contains response data for the generateCveSummary operation. */
|
|
458
|
+
export declare type FirmwareGenerateCveSummaryResponse = CveSummary;
|
|
459
|
+
|
|
460
|
+
/** Optional parameters. */
|
|
461
|
+
export declare interface FirmwareGenerateDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/** Contains response data for the generateDownloadUrl operation. */
|
|
465
|
+
export declare type FirmwareGenerateDownloadUrlResponse = UrlToken;
|
|
466
|
+
|
|
467
|
+
/** Optional parameters. */
|
|
468
|
+
export declare interface FirmwareGenerateFilesystemDownloadUrlOptionalParams extends coreClient.OperationOptions {
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/** Contains response data for the generateFilesystemDownloadUrl operation. */
|
|
472
|
+
export declare type FirmwareGenerateFilesystemDownloadUrlResponse = UrlToken;
|
|
473
|
+
|
|
474
|
+
/** Optional parameters. */
|
|
475
|
+
export declare interface FirmwareGenerateSummaryOptionalParams extends coreClient.OperationOptions {
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/** Contains response data for the generateSummary operation. */
|
|
479
|
+
export declare type FirmwareGenerateSummaryResponse = FirmwareSummary;
|
|
480
|
+
|
|
481
|
+
/** Optional parameters. */
|
|
482
|
+
export declare interface FirmwareGetOptionalParams extends coreClient.OperationOptions {
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/** Contains response data for the get operation. */
|
|
486
|
+
export declare type FirmwareGetResponse = Firmware;
|
|
487
|
+
|
|
488
|
+
/** List of firmwares */
|
|
489
|
+
export declare interface FirmwareList {
|
|
490
|
+
/**
|
|
491
|
+
* The list of firmwares.
|
|
492
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
493
|
+
*/
|
|
494
|
+
readonly value?: Firmware[];
|
|
495
|
+
/** The uri to fetch the next page of asset. */
|
|
496
|
+
nextLink?: string;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/** Optional parameters. */
|
|
500
|
+
export declare interface FirmwareListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/** Contains response data for the listByWorkspaceNext operation. */
|
|
504
|
+
export declare type FirmwareListByWorkspaceNextResponse = FirmwareList;
|
|
505
|
+
|
|
506
|
+
/** Optional parameters. */
|
|
507
|
+
export declare interface FirmwareListByWorkspaceOptionalParams extends coreClient.OperationOptions {
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/** Contains response data for the listByWorkspace operation. */
|
|
511
|
+
export declare type FirmwareListByWorkspaceResponse = FirmwareList;
|
|
512
|
+
|
|
513
|
+
/** Optional parameters. */
|
|
514
|
+
export declare interface FirmwareListGenerateBinaryHardeningListNextOptionalParams extends coreClient.OperationOptions {
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/** Contains response data for the listGenerateBinaryHardeningListNext operation. */
|
|
518
|
+
export declare type FirmwareListGenerateBinaryHardeningListNextResponse = BinaryHardeningList;
|
|
519
|
+
|
|
520
|
+
/** Optional parameters. */
|
|
521
|
+
export declare interface FirmwareListGenerateBinaryHardeningListOptionalParams extends coreClient.OperationOptions {
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/** Contains response data for the listGenerateBinaryHardeningList operation. */
|
|
525
|
+
export declare type FirmwareListGenerateBinaryHardeningListResponse = BinaryHardeningList;
|
|
526
|
+
|
|
527
|
+
/** Optional parameters. */
|
|
528
|
+
export declare interface FirmwareListGenerateComponentListNextOptionalParams extends coreClient.OperationOptions {
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/** Contains response data for the listGenerateComponentListNext operation. */
|
|
532
|
+
export declare type FirmwareListGenerateComponentListNextResponse = ComponentList;
|
|
533
|
+
|
|
534
|
+
/** Optional parameters. */
|
|
535
|
+
export declare interface FirmwareListGenerateComponentListOptionalParams extends coreClient.OperationOptions {
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/** Contains response data for the listGenerateComponentList operation. */
|
|
539
|
+
export declare type FirmwareListGenerateComponentListResponse = ComponentList;
|
|
540
|
+
|
|
541
|
+
/** Optional parameters. */
|
|
542
|
+
export declare interface FirmwareListGenerateCryptoCertificateListNextOptionalParams extends coreClient.OperationOptions {
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/** Contains response data for the listGenerateCryptoCertificateListNext operation. */
|
|
546
|
+
export declare type FirmwareListGenerateCryptoCertificateListNextResponse = CryptoCertificateList;
|
|
547
|
+
|
|
548
|
+
/** Optional parameters. */
|
|
549
|
+
export declare interface FirmwareListGenerateCryptoCertificateListOptionalParams extends coreClient.OperationOptions {
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/** Contains response data for the listGenerateCryptoCertificateList operation. */
|
|
553
|
+
export declare type FirmwareListGenerateCryptoCertificateListResponse = CryptoCertificateList;
|
|
554
|
+
|
|
555
|
+
/** Optional parameters. */
|
|
556
|
+
export declare interface FirmwareListGenerateCryptoKeyListNextOptionalParams extends coreClient.OperationOptions {
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/** Contains response data for the listGenerateCryptoKeyListNext operation. */
|
|
560
|
+
export declare type FirmwareListGenerateCryptoKeyListNextResponse = CryptoKeyList;
|
|
561
|
+
|
|
562
|
+
/** Optional parameters. */
|
|
563
|
+
export declare interface FirmwareListGenerateCryptoKeyListOptionalParams extends coreClient.OperationOptions {
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/** Contains response data for the listGenerateCryptoKeyList operation. */
|
|
567
|
+
export declare type FirmwareListGenerateCryptoKeyListResponse = CryptoKeyList;
|
|
568
|
+
|
|
569
|
+
/** Optional parameters. */
|
|
570
|
+
export declare interface FirmwareListGenerateCveListNextOptionalParams extends coreClient.OperationOptions {
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** Contains response data for the listGenerateCveListNext operation. */
|
|
574
|
+
export declare type FirmwareListGenerateCveListNextResponse = CveList;
|
|
575
|
+
|
|
576
|
+
/** Optional parameters. */
|
|
577
|
+
export declare interface FirmwareListGenerateCveListOptionalParams extends coreClient.OperationOptions {
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/** Contains response data for the listGenerateCveList operation. */
|
|
581
|
+
export declare type FirmwareListGenerateCveListResponse = CveList;
|
|
582
|
+
|
|
583
|
+
/** Optional parameters. */
|
|
584
|
+
export declare interface FirmwareListGeneratePasswordHashListNextOptionalParams extends coreClient.OperationOptions {
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/** Contains response data for the listGeneratePasswordHashListNext operation. */
|
|
588
|
+
export declare type FirmwareListGeneratePasswordHashListNextResponse = PasswordHashList;
|
|
589
|
+
|
|
590
|
+
/** Optional parameters. */
|
|
591
|
+
export declare interface FirmwareListGeneratePasswordHashListOptionalParams extends coreClient.OperationOptions {
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/** Contains response data for the listGeneratePasswordHashList operation. */
|
|
595
|
+
export declare type FirmwareListGeneratePasswordHashListResponse = PasswordHashList;
|
|
596
|
+
|
|
597
|
+
/** Interface representing a FirmwareOperations. */
|
|
598
|
+
export declare interface FirmwareOperations {
|
|
599
|
+
/**
|
|
600
|
+
* Lists all of firmwares inside a workspace.
|
|
601
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
602
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
603
|
+
* @param options The options parameters.
|
|
604
|
+
*/
|
|
605
|
+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: FirmwareListByWorkspaceOptionalParams): PagedAsyncIterableIterator<Firmware>;
|
|
606
|
+
/**
|
|
607
|
+
* The operation to list all components result for a firmware.
|
|
608
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
609
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
610
|
+
* @param firmwareId The id of the firmware.
|
|
611
|
+
* @param options The options parameters.
|
|
612
|
+
*/
|
|
613
|
+
listGenerateComponentList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateComponentListOptionalParams): PagedAsyncIterableIterator<Component>;
|
|
614
|
+
/**
|
|
615
|
+
* The operation to list all binary hardening result for a firmware.
|
|
616
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
617
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
618
|
+
* @param firmwareId The id of the firmware.
|
|
619
|
+
* @param options The options parameters.
|
|
620
|
+
*/
|
|
621
|
+
listGenerateBinaryHardeningList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateBinaryHardeningListOptionalParams): PagedAsyncIterableIterator<BinaryHardening>;
|
|
622
|
+
/**
|
|
623
|
+
* The operation to list all password hashes for a firmware.
|
|
624
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
625
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
626
|
+
* @param firmwareId The id of the firmware.
|
|
627
|
+
* @param options The options parameters.
|
|
628
|
+
*/
|
|
629
|
+
listGeneratePasswordHashList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGeneratePasswordHashListOptionalParams): PagedAsyncIterableIterator<PasswordHash>;
|
|
630
|
+
/**
|
|
631
|
+
* The operation to list all cve results for a firmware.
|
|
632
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
633
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
634
|
+
* @param firmwareId The id of the firmware.
|
|
635
|
+
* @param options The options parameters.
|
|
636
|
+
*/
|
|
637
|
+
listGenerateCveList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCveListOptionalParams): PagedAsyncIterableIterator<Cve>;
|
|
638
|
+
/**
|
|
639
|
+
* The operation to list all crypto certificates for a firmware.
|
|
640
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
641
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
642
|
+
* @param firmwareId The id of the firmware.
|
|
643
|
+
* @param options The options parameters.
|
|
644
|
+
*/
|
|
645
|
+
listGenerateCryptoCertificateList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCryptoCertificateListOptionalParams): PagedAsyncIterableIterator<CryptoCertificate>;
|
|
646
|
+
/**
|
|
647
|
+
* The operation to list all crypto keys for a firmware.
|
|
648
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
649
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
650
|
+
* @param firmwareId The id of the firmware.
|
|
651
|
+
* @param options The options parameters.
|
|
652
|
+
*/
|
|
653
|
+
listGenerateCryptoKeyList(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareListGenerateCryptoKeyListOptionalParams): PagedAsyncIterableIterator<CryptoKey_2>;
|
|
654
|
+
/**
|
|
655
|
+
* The operation to create a firmware.
|
|
656
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
657
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
658
|
+
* @param firmwareId The id of the firmware.
|
|
659
|
+
* @param firmware Details of the firmware being created or updated.
|
|
660
|
+
* @param options The options parameters.
|
|
661
|
+
*/
|
|
662
|
+
create(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: Firmware, options?: FirmwareCreateOptionalParams): Promise<FirmwareCreateResponse>;
|
|
663
|
+
/**
|
|
664
|
+
* The operation to update firmware.
|
|
665
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
666
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
667
|
+
* @param firmwareId The id of the firmware.
|
|
668
|
+
* @param firmware Details of the firmware being created or updated.
|
|
669
|
+
* @param options The options parameters.
|
|
670
|
+
*/
|
|
671
|
+
update(resourceGroupName: string, workspaceName: string, firmwareId: string, firmware: FirmwareUpdateDefinition, options?: FirmwareUpdateOptionalParams): Promise<FirmwareUpdateResponse>;
|
|
672
|
+
/**
|
|
673
|
+
* The operation to delete a firmware.
|
|
674
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
675
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
676
|
+
* @param firmwareId The id of the firmware.
|
|
677
|
+
* @param options The options parameters.
|
|
678
|
+
*/
|
|
679
|
+
delete(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareDeleteOptionalParams): Promise<void>;
|
|
680
|
+
/**
|
|
681
|
+
* Get firmware.
|
|
682
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
683
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
684
|
+
* @param firmwareId The id of the firmware.
|
|
685
|
+
* @param options The options parameters.
|
|
686
|
+
*/
|
|
687
|
+
get(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGetOptionalParams): Promise<FirmwareGetResponse>;
|
|
688
|
+
/**
|
|
689
|
+
* The operation to a url for file download.
|
|
690
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
691
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
692
|
+
* @param firmwareId The id of the firmware.
|
|
693
|
+
* @param options The options parameters.
|
|
694
|
+
*/
|
|
695
|
+
generateDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateDownloadUrlOptionalParams): Promise<FirmwareGenerateDownloadUrlResponse>;
|
|
696
|
+
/**
|
|
697
|
+
* The operation to a url for tar file download.
|
|
698
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
699
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
700
|
+
* @param firmwareId The id of the firmware.
|
|
701
|
+
* @param options The options parameters.
|
|
702
|
+
*/
|
|
703
|
+
generateFilesystemDownloadUrl(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateFilesystemDownloadUrlOptionalParams): Promise<FirmwareGenerateFilesystemDownloadUrlResponse>;
|
|
704
|
+
/**
|
|
705
|
+
* The operation to get a scan summary.
|
|
706
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
707
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
708
|
+
* @param firmwareId The id of the firmware.
|
|
709
|
+
* @param options The options parameters.
|
|
710
|
+
*/
|
|
711
|
+
generateSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateSummaryOptionalParams): Promise<FirmwareGenerateSummaryResponse>;
|
|
712
|
+
/**
|
|
713
|
+
* The operation to get component details for a firmware.
|
|
714
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
715
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
716
|
+
* @param firmwareId The id of the firmware.
|
|
717
|
+
* @param options The options parameters.
|
|
718
|
+
*/
|
|
719
|
+
generateComponentDetails(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateComponentDetailsOptionalParams): Promise<FirmwareGenerateComponentDetailsResponse>;
|
|
720
|
+
/**
|
|
721
|
+
* The operation to list the binary hardening summary percentages for a firmware.
|
|
722
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
723
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
724
|
+
* @param firmwareId The id of the firmware.
|
|
725
|
+
* @param options The options parameters.
|
|
726
|
+
*/
|
|
727
|
+
generateBinaryHardeningSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateBinaryHardeningSummaryOptionalParams): Promise<FirmwareGenerateBinaryHardeningSummaryResponse>;
|
|
728
|
+
/**
|
|
729
|
+
* The operation to get binary hardening details for a firmware.
|
|
730
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
731
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
732
|
+
* @param firmwareId The id of the firmware.
|
|
733
|
+
* @param options The options parameters.
|
|
734
|
+
*/
|
|
735
|
+
generateBinaryHardeningDetails(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateBinaryHardeningDetailsOptionalParams): Promise<FirmwareGenerateBinaryHardeningDetailsResponse>;
|
|
736
|
+
/**
|
|
737
|
+
* The operation to provide a high level summary of the CVEs reported for the firmware image.
|
|
738
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
739
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
740
|
+
* @param firmwareId The id of the firmware.
|
|
741
|
+
* @param options The options parameters.
|
|
742
|
+
*/
|
|
743
|
+
generateCveSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateCveSummaryOptionalParams): Promise<FirmwareGenerateCveSummaryResponse>;
|
|
744
|
+
/**
|
|
745
|
+
* The operation to provide a high level summary of the discovered cryptographic certificates reported
|
|
746
|
+
* for the firmware image.
|
|
747
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
748
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
749
|
+
* @param firmwareId The id of the firmware.
|
|
750
|
+
* @param options The options parameters.
|
|
751
|
+
*/
|
|
752
|
+
generateCryptoCertificateSummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateCryptoCertificateSummaryOptionalParams): Promise<FirmwareGenerateCryptoCertificateSummaryResponse>;
|
|
753
|
+
/**
|
|
754
|
+
* The operation to provide a high level summary of the discovered cryptographic keys reported for the
|
|
755
|
+
* firmware image.
|
|
756
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
757
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
758
|
+
* @param firmwareId The id of the firmware.
|
|
759
|
+
* @param options The options parameters.
|
|
760
|
+
*/
|
|
761
|
+
generateCryptoKeySummary(resourceGroupName: string, workspaceName: string, firmwareId: string, options?: FirmwareGenerateCryptoKeySummaryOptionalParams): Promise<FirmwareGenerateCryptoKeySummaryResponse>;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/** Summary result after scanning the firmware. */
|
|
765
|
+
export declare interface FirmwareSummary {
|
|
766
|
+
/** Total extracted size of the firmware in bytes. */
|
|
767
|
+
extractedSize?: number;
|
|
768
|
+
/** Firmware file size in bytes. */
|
|
769
|
+
fileSize?: number;
|
|
770
|
+
/** Extracted file count. */
|
|
771
|
+
extractedFileCount?: number;
|
|
772
|
+
/** Components count. */
|
|
773
|
+
componentCount?: number;
|
|
774
|
+
/** Binary count */
|
|
775
|
+
binaryCount?: number;
|
|
776
|
+
/** Time used for analysis */
|
|
777
|
+
analysisTimeSeconds?: number;
|
|
778
|
+
/** The number of root file systems found. */
|
|
779
|
+
rootFileSystems?: number;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/** Firmware definition */
|
|
783
|
+
export declare interface FirmwareUpdateDefinition {
|
|
784
|
+
/** File name for a firmware that user uploaded. */
|
|
785
|
+
fileName?: string;
|
|
786
|
+
/** Firmware vendor. */
|
|
787
|
+
vendor?: string;
|
|
788
|
+
/** Firmware model. */
|
|
789
|
+
model?: string;
|
|
790
|
+
/** Firmware version. */
|
|
791
|
+
version?: string;
|
|
792
|
+
/** User-specified description of the firmware. */
|
|
793
|
+
description?: string;
|
|
794
|
+
/** File size of the uploaded firmware image. */
|
|
795
|
+
fileSize?: number;
|
|
796
|
+
/** The status of firmware scan. */
|
|
797
|
+
status?: Status;
|
|
798
|
+
/** A list of errors or other messages generated during firmware analysis */
|
|
799
|
+
statusMessages?: Record<string, unknown>[];
|
|
800
|
+
/**
|
|
801
|
+
* Provisioning state of the resource.
|
|
802
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
803
|
+
*/
|
|
804
|
+
readonly provisioningState?: ProvisioningState;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/** Optional parameters. */
|
|
808
|
+
export declare interface FirmwareUpdateOptionalParams extends coreClient.OperationOptions {
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/** Contains response data for the update operation. */
|
|
812
|
+
export declare type FirmwareUpdateResponse = Firmware;
|
|
813
|
+
|
|
814
|
+
/** Properties for generating an upload URL */
|
|
815
|
+
export declare interface GenerateUploadUrlRequest {
|
|
816
|
+
/** A unique ID for the firmware to be uploaded. */
|
|
817
|
+
firmwareId?: string;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
822
|
+
* returns a continuation token that can be used to begin paging from
|
|
823
|
+
* that point later.
|
|
824
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
825
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
826
|
+
*/
|
|
827
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
828
|
+
|
|
829
|
+
export declare class IoTFirmwareDefenseClient extends coreClient.ServiceClient {
|
|
830
|
+
$host: string;
|
|
831
|
+
subscriptionId: string;
|
|
832
|
+
apiVersion: string;
|
|
833
|
+
/**
|
|
834
|
+
* Initializes a new instance of the IoTFirmwareDefenseClient class.
|
|
835
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
836
|
+
* @param subscriptionId The ID of the target subscription.
|
|
837
|
+
* @param options The parameter options
|
|
838
|
+
*/
|
|
839
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: IoTFirmwareDefenseClientOptionalParams);
|
|
840
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
841
|
+
private addCustomApiVersionPolicy;
|
|
842
|
+
firmwareOperations: FirmwareOperations;
|
|
843
|
+
workspaces: Workspaces;
|
|
844
|
+
operations: Operations;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/** Optional parameters. */
|
|
848
|
+
export declare interface IoTFirmwareDefenseClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
849
|
+
/** server parameter */
|
|
850
|
+
$host?: string;
|
|
851
|
+
/** Api Version */
|
|
852
|
+
apiVersion?: string;
|
|
853
|
+
/** Overrides client endpoint. */
|
|
854
|
+
endpoint?: string;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Defines values for IsExpired. \
|
|
859
|
+
* {@link KnownIsExpired} can be used interchangeably with IsExpired,
|
|
860
|
+
* this enum contains the known values that the service supports.
|
|
861
|
+
* ### Known values supported by the service
|
|
862
|
+
* **True** \
|
|
863
|
+
* **False**
|
|
864
|
+
*/
|
|
865
|
+
export declare type IsExpired = string;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Defines values for IsSelfSigned. \
|
|
869
|
+
* {@link KnownIsSelfSigned} can be used interchangeably with IsSelfSigned,
|
|
870
|
+
* this enum contains the known values that the service supports.
|
|
871
|
+
* ### Known values supported by the service
|
|
872
|
+
* **True** \
|
|
873
|
+
* **False**
|
|
874
|
+
*/
|
|
875
|
+
export declare type IsSelfSigned = string;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Defines values for IsShortKeySize. \
|
|
879
|
+
* {@link KnownIsShortKeySize} can be used interchangeably with IsShortKeySize,
|
|
880
|
+
* this enum contains the known values that the service supports.
|
|
881
|
+
* ### Known values supported by the service
|
|
882
|
+
* **True** \
|
|
883
|
+
* **False**
|
|
884
|
+
*/
|
|
885
|
+
export declare type IsShortKeySize = string;
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Defines values for IsUpdateAvailable. \
|
|
889
|
+
* {@link KnownIsUpdateAvailable} can be used interchangeably with IsUpdateAvailable,
|
|
890
|
+
* this enum contains the known values that the service supports.
|
|
891
|
+
* ### Known values supported by the service
|
|
892
|
+
* **True** \
|
|
893
|
+
* **False**
|
|
894
|
+
*/
|
|
895
|
+
export declare type IsUpdateAvailable = string;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Defines values for IsWeakSignature. \
|
|
899
|
+
* {@link KnownIsWeakSignature} can be used interchangeably with IsWeakSignature,
|
|
900
|
+
* this enum contains the known values that the service supports.
|
|
901
|
+
* ### Known values supported by the service
|
|
902
|
+
* **True** \
|
|
903
|
+
* **False**
|
|
904
|
+
*/
|
|
905
|
+
export declare type IsWeakSignature = string;
|
|
906
|
+
|
|
907
|
+
/** Known values of {@link ActionType} that the service accepts. */
|
|
908
|
+
export declare enum KnownActionType {
|
|
909
|
+
/** Internal */
|
|
910
|
+
Internal = "Internal"
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/** Known values of {@link CanaryFlag} that the service accepts. */
|
|
914
|
+
export declare enum KnownCanaryFlag {
|
|
915
|
+
/** True */
|
|
916
|
+
True = "True",
|
|
917
|
+
/** False */
|
|
918
|
+
False = "False"
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
922
|
+
export declare enum KnownCreatedByType {
|
|
923
|
+
/** User */
|
|
924
|
+
User = "User",
|
|
925
|
+
/** Application */
|
|
926
|
+
Application = "Application",
|
|
927
|
+
/** ManagedIdentity */
|
|
928
|
+
ManagedIdentity = "ManagedIdentity",
|
|
929
|
+
/** Key */
|
|
930
|
+
Key = "Key"
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/** Known values of {@link IsExpired} that the service accepts. */
|
|
934
|
+
export declare enum KnownIsExpired {
|
|
935
|
+
/** True */
|
|
936
|
+
True = "True",
|
|
937
|
+
/** False */
|
|
938
|
+
False = "False"
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/** Known values of {@link IsSelfSigned} that the service accepts. */
|
|
942
|
+
export declare enum KnownIsSelfSigned {
|
|
943
|
+
/** True */
|
|
944
|
+
True = "True",
|
|
945
|
+
/** False */
|
|
946
|
+
False = "False"
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** Known values of {@link IsShortKeySize} that the service accepts. */
|
|
950
|
+
export declare enum KnownIsShortKeySize {
|
|
951
|
+
/** True */
|
|
952
|
+
True = "True",
|
|
953
|
+
/** False */
|
|
954
|
+
False = "False"
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/** Known values of {@link IsUpdateAvailable} that the service accepts. */
|
|
958
|
+
export declare enum KnownIsUpdateAvailable {
|
|
959
|
+
/** True */
|
|
960
|
+
True = "True",
|
|
961
|
+
/** False */
|
|
962
|
+
False = "False"
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/** Known values of {@link IsWeakSignature} that the service accepts. */
|
|
966
|
+
export declare enum KnownIsWeakSignature {
|
|
967
|
+
/** True */
|
|
968
|
+
True = "True",
|
|
969
|
+
/** False */
|
|
970
|
+
False = "False"
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
/** Known values of {@link NxFlag} that the service accepts. */
|
|
974
|
+
export declare enum KnownNxFlag {
|
|
975
|
+
/** True */
|
|
976
|
+
True = "True",
|
|
977
|
+
/** False */
|
|
978
|
+
False = "False"
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/** Known values of {@link Origin} that the service accepts. */
|
|
982
|
+
export declare enum KnownOrigin {
|
|
983
|
+
/** User */
|
|
984
|
+
User = "user",
|
|
985
|
+
/** System */
|
|
986
|
+
System = "system",
|
|
987
|
+
/** UserSystem */
|
|
988
|
+
UserSystem = "user,system"
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
/** Known values of {@link PieFlag} that the service accepts. */
|
|
992
|
+
export declare enum KnownPieFlag {
|
|
993
|
+
/** True */
|
|
994
|
+
True = "True",
|
|
995
|
+
/** False */
|
|
996
|
+
False = "False"
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
1000
|
+
export declare enum KnownProvisioningState {
|
|
1001
|
+
/** Accepted */
|
|
1002
|
+
Accepted = "Accepted",
|
|
1003
|
+
/** Succeeded */
|
|
1004
|
+
Succeeded = "Succeeded",
|
|
1005
|
+
/** Canceled */
|
|
1006
|
+
Canceled = "Canceled",
|
|
1007
|
+
/** Failed */
|
|
1008
|
+
Failed = "Failed"
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/** Known values of {@link RelroFlag} that the service accepts. */
|
|
1012
|
+
export declare enum KnownRelroFlag {
|
|
1013
|
+
/** True */
|
|
1014
|
+
True = "True",
|
|
1015
|
+
/** False */
|
|
1016
|
+
False = "False"
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
1020
|
+
export declare enum KnownStatus {
|
|
1021
|
+
/** Pending */
|
|
1022
|
+
Pending = "Pending",
|
|
1023
|
+
/** Extracting */
|
|
1024
|
+
Extracting = "Extracting",
|
|
1025
|
+
/** Analyzing */
|
|
1026
|
+
Analyzing = "Analyzing",
|
|
1027
|
+
/** Ready */
|
|
1028
|
+
Ready = "Ready",
|
|
1029
|
+
/** Error */
|
|
1030
|
+
Error = "Error"
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/** Known values of {@link StrippedFlag} that the service accepts. */
|
|
1034
|
+
export declare enum KnownStrippedFlag {
|
|
1035
|
+
/** True */
|
|
1036
|
+
True = "True",
|
|
1037
|
+
/** False */
|
|
1038
|
+
False = "False"
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* Defines values for NxFlag. \
|
|
1043
|
+
* {@link KnownNxFlag} can be used interchangeably with NxFlag,
|
|
1044
|
+
* this enum contains the known values that the service supports.
|
|
1045
|
+
* ### Known values supported by the service
|
|
1046
|
+
* **True** \
|
|
1047
|
+
* **False**
|
|
1048
|
+
*/
|
|
1049
|
+
export declare type NxFlag = string;
|
|
1050
|
+
|
|
1051
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
1052
|
+
export declare interface Operation {
|
|
1053
|
+
/**
|
|
1054
|
+
* The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
|
|
1055
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1056
|
+
*/
|
|
1057
|
+
readonly name?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
|
|
1060
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1061
|
+
*/
|
|
1062
|
+
readonly isDataAction?: boolean;
|
|
1063
|
+
/** Localized display information for this particular operation. */
|
|
1064
|
+
display?: OperationDisplay;
|
|
1065
|
+
/**
|
|
1066
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
1067
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1068
|
+
*/
|
|
1069
|
+
readonly origin?: Origin;
|
|
1070
|
+
/**
|
|
1071
|
+
* Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
1072
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1073
|
+
*/
|
|
1074
|
+
readonly actionType?: ActionType;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/** Localized display information for this particular operation. */
|
|
1078
|
+
export declare interface OperationDisplay {
|
|
1079
|
+
/**
|
|
1080
|
+
* The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
|
|
1081
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1082
|
+
*/
|
|
1083
|
+
readonly provider?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
|
|
1086
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1087
|
+
*/
|
|
1088
|
+
readonly resource?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
|
|
1091
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1092
|
+
*/
|
|
1093
|
+
readonly operation?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* The short, localized friendly description of the operation; suitable for tool tips and detailed views.
|
|
1096
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1097
|
+
*/
|
|
1098
|
+
readonly description?: string;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
1102
|
+
export declare interface OperationListResult {
|
|
1103
|
+
/**
|
|
1104
|
+
* List of operations supported by the resource provider
|
|
1105
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1106
|
+
*/
|
|
1107
|
+
readonly value?: Operation[];
|
|
1108
|
+
/**
|
|
1109
|
+
* URL to get the next set of operation list results (if there are any).
|
|
1110
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1111
|
+
*/
|
|
1112
|
+
readonly nextLink?: string;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/** Interface representing a Operations. */
|
|
1116
|
+
export declare interface Operations {
|
|
1117
|
+
/**
|
|
1118
|
+
* Lists the operations for this resource provider
|
|
1119
|
+
* @param options The options parameters.
|
|
1120
|
+
*/
|
|
1121
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
/** Optional parameters. */
|
|
1125
|
+
export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
/** Contains response data for the listNext operation. */
|
|
1129
|
+
export declare type OperationsListNextResponse = OperationListResult;
|
|
1130
|
+
|
|
1131
|
+
/** Optional parameters. */
|
|
1132
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
/** Contains response data for the list operation. */
|
|
1136
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Defines values for Origin. \
|
|
1140
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
1141
|
+
* this enum contains the known values that the service supports.
|
|
1142
|
+
* ### Known values supported by the service
|
|
1143
|
+
* **user** \
|
|
1144
|
+
* **system** \
|
|
1145
|
+
* **user,system**
|
|
1146
|
+
*/
|
|
1147
|
+
export declare type Origin = string;
|
|
1148
|
+
|
|
1149
|
+
/** Details of a matching paired key or certificate. */
|
|
1150
|
+
export declare interface PairedKey {
|
|
1151
|
+
/** ID of the paired key or certificate. */
|
|
1152
|
+
id?: string;
|
|
1153
|
+
/** The type indicating whether the paired object is a key or certificate. */
|
|
1154
|
+
type?: string;
|
|
1155
|
+
/** Additional paired key properties */
|
|
1156
|
+
additionalProperties?: Record<string, unknown>;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
/** Password hash properties */
|
|
1160
|
+
export declare interface PasswordHash {
|
|
1161
|
+
/** ID for password hash */
|
|
1162
|
+
passwordHashId?: string;
|
|
1163
|
+
/** File path of the password hash */
|
|
1164
|
+
filePath?: string;
|
|
1165
|
+
/** Salt of the password hash */
|
|
1166
|
+
salt?: string;
|
|
1167
|
+
/** Hash of the password */
|
|
1168
|
+
hash?: string;
|
|
1169
|
+
/** Context of password hash */
|
|
1170
|
+
context?: string;
|
|
1171
|
+
/** User name of password hash */
|
|
1172
|
+
username?: string;
|
|
1173
|
+
/** Algorithm of the password hash */
|
|
1174
|
+
algorithm?: string;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/** Password hashes list */
|
|
1178
|
+
export declare interface PasswordHashList {
|
|
1179
|
+
/**
|
|
1180
|
+
* Password hashes list
|
|
1181
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1182
|
+
*/
|
|
1183
|
+
readonly value?: PasswordHash[];
|
|
1184
|
+
/** The uri to fetch the next page of asset. */
|
|
1185
|
+
nextLink?: string;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Defines values for PieFlag. \
|
|
1190
|
+
* {@link KnownPieFlag} can be used interchangeably with PieFlag,
|
|
1191
|
+
* this enum contains the known values that the service supports.
|
|
1192
|
+
* ### Known values supported by the service
|
|
1193
|
+
* **True** \
|
|
1194
|
+
* **False**
|
|
1195
|
+
*/
|
|
1196
|
+
export declare type PieFlag = string;
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* Defines values for ProvisioningState. \
|
|
1200
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
1201
|
+
* this enum contains the known values that the service supports.
|
|
1202
|
+
* ### Known values supported by the service
|
|
1203
|
+
* **Accepted** \
|
|
1204
|
+
* **Succeeded** \
|
|
1205
|
+
* **Canceled** \
|
|
1206
|
+
* **Failed**
|
|
1207
|
+
*/
|
|
1208
|
+
export declare type ProvisioningState = string;
|
|
1209
|
+
|
|
1210
|
+
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
1211
|
+
export declare interface ProxyResource extends Resource {
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Defines values for RelroFlag. \
|
|
1216
|
+
* {@link KnownRelroFlag} can be used interchangeably with RelroFlag,
|
|
1217
|
+
* this enum contains the known values that the service supports.
|
|
1218
|
+
* ### Known values supported by the service
|
|
1219
|
+
* **True** \
|
|
1220
|
+
* **False**
|
|
1221
|
+
*/
|
|
1222
|
+
export declare type RelroFlag = string;
|
|
1223
|
+
|
|
1224
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1225
|
+
export declare interface Resource {
|
|
1226
|
+
/**
|
|
1227
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1228
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1229
|
+
*/
|
|
1230
|
+
readonly id?: string;
|
|
1231
|
+
/**
|
|
1232
|
+
* The name of the resource
|
|
1233
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1234
|
+
*/
|
|
1235
|
+
readonly name?: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1239
|
+
*/
|
|
1240
|
+
readonly type?: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
1243
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1244
|
+
*/
|
|
1245
|
+
readonly systemData?: SystemData;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* Defines values for Status. \
|
|
1250
|
+
* {@link KnownStatus} can be used interchangeably with Status,
|
|
1251
|
+
* this enum contains the known values that the service supports.
|
|
1252
|
+
* ### Known values supported by the service
|
|
1253
|
+
* **Pending** \
|
|
1254
|
+
* **Extracting** \
|
|
1255
|
+
* **Analyzing** \
|
|
1256
|
+
* **Ready** \
|
|
1257
|
+
* **Error**
|
|
1258
|
+
*/
|
|
1259
|
+
export declare type Status = string;
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Defines values for StrippedFlag. \
|
|
1263
|
+
* {@link KnownStrippedFlag} can be used interchangeably with StrippedFlag,
|
|
1264
|
+
* this enum contains the known values that the service supports.
|
|
1265
|
+
* ### Known values supported by the service
|
|
1266
|
+
* **True** \
|
|
1267
|
+
* **False**
|
|
1268
|
+
*/
|
|
1269
|
+
export declare type StrippedFlag = string;
|
|
1270
|
+
|
|
1271
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
1272
|
+
export declare interface SystemData {
|
|
1273
|
+
/** The identity that created the resource. */
|
|
1274
|
+
createdBy?: string;
|
|
1275
|
+
/** The type of identity that created the resource. */
|
|
1276
|
+
createdByType?: CreatedByType;
|
|
1277
|
+
/** The timestamp of resource creation (UTC). */
|
|
1278
|
+
createdAt?: Date;
|
|
1279
|
+
/** The identity that last modified the resource. */
|
|
1280
|
+
lastModifiedBy?: string;
|
|
1281
|
+
/** The type of identity that last modified the resource. */
|
|
1282
|
+
lastModifiedByType?: CreatedByType;
|
|
1283
|
+
/** The timestamp of resource last modification (UTC) */
|
|
1284
|
+
lastModifiedAt?: Date;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
1288
|
+
export declare interface TrackedResource extends Resource {
|
|
1289
|
+
/** Resource tags. */
|
|
1290
|
+
tags?: {
|
|
1291
|
+
[propertyName: string]: string;
|
|
1292
|
+
};
|
|
1293
|
+
/** The geo-location where the resource lives */
|
|
1294
|
+
location: string;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/** Url data for creating or accessing a blob file. */
|
|
1298
|
+
export declare interface UrlToken {
|
|
1299
|
+
/**
|
|
1300
|
+
* SAS URL for creating or accessing a blob file.
|
|
1301
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1302
|
+
*/
|
|
1303
|
+
readonly url?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* SAS URL for file uploading. Kept for backwards compatibility
|
|
1306
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1307
|
+
*/
|
|
1308
|
+
readonly uploadUrl?: string;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/** Firmware analysis workspace. */
|
|
1312
|
+
export declare interface Workspace extends TrackedResource {
|
|
1313
|
+
/**
|
|
1314
|
+
* Provisioning state of the resource.
|
|
1315
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1316
|
+
*/
|
|
1317
|
+
readonly provisioningState?: ProvisioningState;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/** Return a list of firmware analysis workspaces. */
|
|
1321
|
+
export declare interface WorkspaceList {
|
|
1322
|
+
/**
|
|
1323
|
+
* The list of firmware analysis workspaces.
|
|
1324
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1325
|
+
*/
|
|
1326
|
+
readonly value?: Workspace[];
|
|
1327
|
+
/** The uri to fetch the next page of asset. */
|
|
1328
|
+
nextLink?: string;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/** Interface representing a Workspaces. */
|
|
1332
|
+
export declare interface Workspaces {
|
|
1333
|
+
/**
|
|
1334
|
+
* Lists all of the firmware analysis workspaces in the specified subscription.
|
|
1335
|
+
* @param options The options parameters.
|
|
1336
|
+
*/
|
|
1337
|
+
listBySubscription(options?: WorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
1338
|
+
/**
|
|
1339
|
+
* Lists all of the firmware analysis workspaces in the specified resource group.
|
|
1340
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1341
|
+
* @param options The options parameters.
|
|
1342
|
+
*/
|
|
1343
|
+
listByResourceGroup(resourceGroupName: string, options?: WorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Workspace>;
|
|
1344
|
+
/**
|
|
1345
|
+
* The operation to create or update a firmware analysis workspace.
|
|
1346
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1347
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1348
|
+
* @param workspace Parameters when creating a firmware analysis workspace.
|
|
1349
|
+
* @param options The options parameters.
|
|
1350
|
+
*/
|
|
1351
|
+
create(resourceGroupName: string, workspaceName: string, workspace: Workspace, options?: WorkspacesCreateOptionalParams): Promise<WorkspacesCreateResponse>;
|
|
1352
|
+
/**
|
|
1353
|
+
* The operation to update a firmware analysis workspaces.
|
|
1354
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1355
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1356
|
+
* @param workspace Parameters when updating a firmware analysis workspace.
|
|
1357
|
+
* @param options The options parameters.
|
|
1358
|
+
*/
|
|
1359
|
+
update(resourceGroupName: string, workspaceName: string, workspace: WorkspaceUpdateDefinition, options?: WorkspacesUpdateOptionalParams): Promise<WorkspacesUpdateResponse>;
|
|
1360
|
+
/**
|
|
1361
|
+
* The operation to delete a firmware analysis workspace.
|
|
1362
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1363
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1364
|
+
* @param options The options parameters.
|
|
1365
|
+
*/
|
|
1366
|
+
delete(resourceGroupName: string, workspaceName: string, options?: WorkspacesDeleteOptionalParams): Promise<void>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Get firmware analysis workspace.
|
|
1369
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1370
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1371
|
+
* @param options The options parameters.
|
|
1372
|
+
*/
|
|
1373
|
+
get(resourceGroupName: string, workspaceName: string, options?: WorkspacesGetOptionalParams): Promise<WorkspacesGetResponse>;
|
|
1374
|
+
/**
|
|
1375
|
+
* The operation to get a url for file upload.
|
|
1376
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1377
|
+
* @param workspaceName The name of the firmware analysis workspace.
|
|
1378
|
+
* @param generateUploadUrl Parameters when requesting a URL to upload firmware.
|
|
1379
|
+
* @param options The options parameters.
|
|
1380
|
+
*/
|
|
1381
|
+
generateUploadUrl(resourceGroupName: string, workspaceName: string, generateUploadUrl: GenerateUploadUrlRequest, options?: WorkspacesGenerateUploadUrlOptionalParams): Promise<WorkspacesGenerateUploadUrlResponse>;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
/** Optional parameters. */
|
|
1385
|
+
export declare interface WorkspacesCreateOptionalParams extends coreClient.OperationOptions {
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/** Contains response data for the create operation. */
|
|
1389
|
+
export declare type WorkspacesCreateResponse = Workspace;
|
|
1390
|
+
|
|
1391
|
+
/** Optional parameters. */
|
|
1392
|
+
export declare interface WorkspacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
/** Optional parameters. */
|
|
1396
|
+
export declare interface WorkspacesGenerateUploadUrlOptionalParams extends coreClient.OperationOptions {
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/** Contains response data for the generateUploadUrl operation. */
|
|
1400
|
+
export declare type WorkspacesGenerateUploadUrlResponse = UrlToken;
|
|
1401
|
+
|
|
1402
|
+
/** Optional parameters. */
|
|
1403
|
+
export declare interface WorkspacesGetOptionalParams extends coreClient.OperationOptions {
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/** Contains response data for the get operation. */
|
|
1407
|
+
export declare type WorkspacesGetResponse = Workspace;
|
|
1408
|
+
|
|
1409
|
+
/** Optional parameters. */
|
|
1410
|
+
export declare interface WorkspacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1414
|
+
export declare type WorkspacesListByResourceGroupNextResponse = WorkspaceList;
|
|
1415
|
+
|
|
1416
|
+
/** Optional parameters. */
|
|
1417
|
+
export declare interface WorkspacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
1421
|
+
export declare type WorkspacesListByResourceGroupResponse = WorkspaceList;
|
|
1422
|
+
|
|
1423
|
+
/** Optional parameters. */
|
|
1424
|
+
export declare interface WorkspacesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
1428
|
+
export declare type WorkspacesListBySubscriptionNextResponse = WorkspaceList;
|
|
1429
|
+
|
|
1430
|
+
/** Optional parameters. */
|
|
1431
|
+
export declare interface WorkspacesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/** Contains response data for the listBySubscription operation. */
|
|
1435
|
+
export declare type WorkspacesListBySubscriptionResponse = WorkspaceList;
|
|
1436
|
+
|
|
1437
|
+
/** Optional parameters. */
|
|
1438
|
+
export declare interface WorkspacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
/** Contains response data for the update operation. */
|
|
1442
|
+
export declare type WorkspacesUpdateResponse = Workspace;
|
|
1443
|
+
|
|
1444
|
+
/** Firmware analysis workspace. */
|
|
1445
|
+
export declare interface WorkspaceUpdateDefinition {
|
|
1446
|
+
/**
|
|
1447
|
+
* Provisioning state of the resource.
|
|
1448
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1449
|
+
*/
|
|
1450
|
+
readonly provisioningState?: ProvisioningState;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
export { }
|