@azure/arm-artifactsigning 1.0.0-alpha.20260217.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/LICENSE +21 -0
- package/README.md +115 -0
- package/dist/browser/api/certificateProfiles/index.d.ts +3 -0
- package/dist/browser/api/certificateProfiles/index.js +4 -0
- package/dist/browser/api/certificateProfiles/index.js.map +1 -0
- package/dist/browser/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/browser/api/certificateProfiles/operations.js +166 -0
- package/dist/browser/api/certificateProfiles/operations.js.map +1 -0
- package/dist/browser/api/certificateProfiles/options.d.ts +21 -0
- package/dist/browser/api/certificateProfiles/options.js +4 -0
- package/dist/browser/api/certificateProfiles/options.js.map +1 -0
- package/dist/browser/api/codeSigningAccounts/index.d.ts +3 -0
- package/dist/browser/api/codeSigningAccounts/index.js +4 -0
- package/dist/browser/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/browser/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/browser/api/codeSigningAccounts/operations.js +220 -0
- package/dist/browser/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/browser/api/codeSigningAccounts/options.d.ts +29 -0
- package/dist/browser/api/codeSigningAccounts/options.js +4 -0
- package/dist/browser/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/browser/api/codeSigningContext.d.ts +22 -0
- package/dist/browser/api/codeSigningContext.js +24 -0
- package/dist/browser/api/codeSigningContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +31 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/classic/certificateProfiles/index.d.ts +25 -0
- package/dist/browser/classic/certificateProfiles/index.js +18 -0
- package/dist/browser/classic/certificateProfiles/index.js.map +1 -0
- package/dist/browser/classic/codeSigningAccounts/index.d.ts +29 -0
- package/dist/browser/classic/codeSigningAccounts/index.js +20 -0
- package/dist/browser/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +4 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/codeSigningClient.d.ts +21 -0
- package/dist/browser/codeSigningClient.js +33 -0
- package/dist/browser/codeSigningClient.js.map +1 -0
- package/dist/browser/index.d.ts +13 -0
- package/dist/browser/index.js +8 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +480 -0
- package/dist/browser/models/models.js +413 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +105 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/certificateProfiles/index.d.ts +3 -0
- package/dist/commonjs/api/certificateProfiles/index.js +12 -0
- package/dist/commonjs/api/certificateProfiles/index.js.map +1 -0
- package/dist/commonjs/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/commonjs/api/certificateProfiles/operations.js +183 -0
- package/dist/commonjs/api/certificateProfiles/operations.js.map +1 -0
- package/dist/commonjs/api/certificateProfiles/options.d.ts +21 -0
- package/dist/commonjs/api/certificateProfiles/options.js +5 -0
- package/dist/commonjs/api/certificateProfiles/options.js.map +1 -0
- package/dist/commonjs/api/codeSigningAccounts/index.d.ts +3 -0
- package/dist/commonjs/api/codeSigningAccounts/index.js +14 -0
- package/dist/commonjs/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/commonjs/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/commonjs/api/codeSigningAccounts/operations.js +243 -0
- package/dist/commonjs/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/commonjs/api/codeSigningAccounts/options.d.ts +29 -0
- package/dist/commonjs/api/codeSigningAccounts/options.js +5 -0
- package/dist/commonjs/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/commonjs/api/codeSigningContext.d.ts +22 -0
- package/dist/commonjs/api/codeSigningContext.js +27 -0
- package/dist/commonjs/api/codeSigningContext.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.js +8 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +8 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +36 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +5 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/classic/certificateProfiles/index.d.ts +25 -0
- package/dist/commonjs/classic/certificateProfiles/index.js +21 -0
- package/dist/commonjs/classic/certificateProfiles/index.js.map +1 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.d.ts +29 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.js +23 -0
- package/dist/commonjs/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +4 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +17 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/codeSigningClient.d.ts +21 -0
- package/dist/commonjs/codeSigningClient.js +37 -0
- package/dist/commonjs/codeSigningClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +13 -0
- package/dist/commonjs/index.js +24 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.js +18 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +480 -0
- package/dist/commonjs/models/models.js +457 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +108 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +146 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +98 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +203 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/certificateProfiles/index.d.ts +3 -0
- package/dist/esm/api/certificateProfiles/index.js +4 -0
- package/dist/esm/api/certificateProfiles/index.js.map +1 -0
- package/dist/esm/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/esm/api/certificateProfiles/operations.js +166 -0
- package/dist/esm/api/certificateProfiles/operations.js.map +1 -0
- package/dist/esm/api/certificateProfiles/options.d.ts +21 -0
- package/dist/esm/api/certificateProfiles/options.js +4 -0
- package/dist/esm/api/certificateProfiles/options.js.map +1 -0
- package/dist/esm/api/codeSigningAccounts/index.d.ts +3 -0
- package/dist/esm/api/codeSigningAccounts/index.js +4 -0
- package/dist/esm/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/esm/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/esm/api/codeSigningAccounts/operations.js +220 -0
- package/dist/esm/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/esm/api/codeSigningAccounts/options.d.ts +29 -0
- package/dist/esm/api/codeSigningAccounts/options.js +4 -0
- package/dist/esm/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/esm/api/codeSigningContext.d.ts +22 -0
- package/dist/esm/api/codeSigningContext.js +24 -0
- package/dist/esm/api/codeSigningContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +31 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/classic/certificateProfiles/index.d.ts +25 -0
- package/dist/esm/classic/certificateProfiles/index.js +18 -0
- package/dist/esm/classic/certificateProfiles/index.js.map +1 -0
- package/dist/esm/classic/codeSigningAccounts/index.d.ts +29 -0
- package/dist/esm/classic/codeSigningAccounts/index.js +20 -0
- package/dist/esm/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +4 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/codeSigningClient.d.ts +21 -0
- package/dist/esm/codeSigningClient.js +33 -0
- package/dist/esm/codeSigningClient.js.map +1 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +480 -0
- package/dist/esm/models/models.js +413 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +105 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/certificateProfiles/index.d.ts +3 -0
- package/dist/react-native/api/certificateProfiles/index.js +4 -0
- package/dist/react-native/api/certificateProfiles/index.js.map +1 -0
- package/dist/react-native/api/certificateProfiles/operations.d.ts +32 -0
- package/dist/react-native/api/certificateProfiles/operations.js +166 -0
- package/dist/react-native/api/certificateProfiles/operations.js.map +1 -0
- package/dist/react-native/api/certificateProfiles/options.d.ts +21 -0
- package/dist/react-native/api/certificateProfiles/options.js +4 -0
- package/dist/react-native/api/certificateProfiles/options.js.map +1 -0
- package/dist/react-native/api/codeSigningAccounts/index.d.ts +3 -0
- package/dist/react-native/api/codeSigningAccounts/index.js +4 -0
- package/dist/react-native/api/codeSigningAccounts/index.js.map +1 -0
- package/dist/react-native/api/codeSigningAccounts/operations.d.ts +40 -0
- package/dist/react-native/api/codeSigningAccounts/operations.js +220 -0
- package/dist/react-native/api/codeSigningAccounts/operations.js.map +1 -0
- package/dist/react-native/api/codeSigningAccounts/options.d.ts +29 -0
- package/dist/react-native/api/codeSigningAccounts/options.js +4 -0
- package/dist/react-native/api/codeSigningAccounts/options.js.map +1 -0
- package/dist/react-native/api/codeSigningContext.d.ts +22 -0
- package/dist/react-native/api/codeSigningContext.js +24 -0
- package/dist/react-native/api/codeSigningContext.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.js +4 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +3 -0
- package/dist/react-native/api/operations/index.js +4 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.js +31 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/classic/certificateProfiles/index.d.ts +25 -0
- package/dist/react-native/classic/certificateProfiles/index.js +18 -0
- package/dist/react-native/classic/certificateProfiles/index.js.map +1 -0
- package/dist/react-native/classic/codeSigningAccounts/index.d.ts +29 -0
- package/dist/react-native/classic/codeSigningAccounts/index.js +20 -0
- package/dist/react-native/classic/codeSigningAccounts/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +4 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +11 -0
- package/dist/react-native/classic/operations/index.js +14 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/codeSigningClient.d.ts +21 -0
- package/dist/react-native/codeSigningClient.js +33 -0
- package/dist/react-native/codeSigningClient.js.map +1 -0
- package/dist/react-native/index.d.ts +13 -0
- package/dist/react-native/index.js +8 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +2 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +480 -0
- package/dist/react-native/models/models.js +413 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.js +105 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +143 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +95 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +200 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +235 -0
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
export function _operationListResultDeserializer(item) {
|
|
4
|
+
return {
|
|
5
|
+
value: operationArrayDeserializer(item["value"]),
|
|
6
|
+
nextLink: item["nextLink"],
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export function operationArrayDeserializer(result) {
|
|
10
|
+
return result.map((item) => {
|
|
11
|
+
return operationDeserializer(item);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export function operationDeserializer(item) {
|
|
15
|
+
return {
|
|
16
|
+
name: item["name"],
|
|
17
|
+
isDataAction: item["isDataAction"],
|
|
18
|
+
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
19
|
+
origin: item["origin"],
|
|
20
|
+
actionType: item["actionType"],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function operationDisplayDeserializer(item) {
|
|
24
|
+
return {
|
|
25
|
+
provider: item["provider"],
|
|
26
|
+
resource: item["resource"],
|
|
27
|
+
operation: item["operation"],
|
|
28
|
+
description: item["description"],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
32
|
+
export var KnownOrigin;
|
|
33
|
+
(function (KnownOrigin) {
|
|
34
|
+
/** Indicates the operation is initiated by a user. */
|
|
35
|
+
KnownOrigin["User"] = "user";
|
|
36
|
+
/** Indicates the operation is initiated by a system. */
|
|
37
|
+
KnownOrigin["System"] = "system";
|
|
38
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
39
|
+
KnownOrigin["UserSystem"] = "user,system";
|
|
40
|
+
})(KnownOrigin || (KnownOrigin = {}));
|
|
41
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
42
|
+
export var KnownActionType;
|
|
43
|
+
(function (KnownActionType) {
|
|
44
|
+
/** Actions are for internal-only APIs. */
|
|
45
|
+
KnownActionType["Internal"] = "Internal";
|
|
46
|
+
})(KnownActionType || (KnownActionType = {}));
|
|
47
|
+
export function errorResponseDeserializer(item) {
|
|
48
|
+
return {
|
|
49
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function errorDetailDeserializer(item) {
|
|
53
|
+
return {
|
|
54
|
+
code: item["code"],
|
|
55
|
+
message: item["message"],
|
|
56
|
+
target: item["target"],
|
|
57
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
58
|
+
additionalInfo: !item["additionalInfo"]
|
|
59
|
+
? item["additionalInfo"]
|
|
60
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function errorDetailArrayDeserializer(result) {
|
|
64
|
+
return result.map((item) => {
|
|
65
|
+
return errorDetailDeserializer(item);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
69
|
+
return result.map((item) => {
|
|
70
|
+
return errorAdditionalInfoDeserializer(item);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
export function errorAdditionalInfoDeserializer(item) {
|
|
74
|
+
return {
|
|
75
|
+
type: item["type"],
|
|
76
|
+
info: item["info"],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
export function codeSigningAccountSerializer(item) {
|
|
80
|
+
return {
|
|
81
|
+
tags: item["tags"],
|
|
82
|
+
location: item["location"],
|
|
83
|
+
properties: !item["properties"]
|
|
84
|
+
? item["properties"]
|
|
85
|
+
: codeSigningAccountPropertiesSerializer(item["properties"]),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export function codeSigningAccountDeserializer(item) {
|
|
89
|
+
return {
|
|
90
|
+
tags: !item["tags"]
|
|
91
|
+
? item["tags"]
|
|
92
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
93
|
+
location: item["location"],
|
|
94
|
+
id: item["id"],
|
|
95
|
+
name: item["name"],
|
|
96
|
+
type: item["type"],
|
|
97
|
+
systemData: !item["systemData"]
|
|
98
|
+
? item["systemData"]
|
|
99
|
+
: systemDataDeserializer(item["systemData"]),
|
|
100
|
+
properties: !item["properties"]
|
|
101
|
+
? item["properties"]
|
|
102
|
+
: codeSigningAccountPropertiesDeserializer(item["properties"]),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export function codeSigningAccountPropertiesSerializer(item) {
|
|
106
|
+
return { sku: !item["sku"] ? item["sku"] : accountSkuSerializer(item["sku"]) };
|
|
107
|
+
}
|
|
108
|
+
export function codeSigningAccountPropertiesDeserializer(item) {
|
|
109
|
+
return {
|
|
110
|
+
accountUri: item["accountUri"],
|
|
111
|
+
sku: !item["sku"] ? item["sku"] : accountSkuDeserializer(item["sku"]),
|
|
112
|
+
provisioningState: item["provisioningState"],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
export function accountSkuSerializer(item) {
|
|
116
|
+
return { name: item["name"] };
|
|
117
|
+
}
|
|
118
|
+
export function accountSkuDeserializer(item) {
|
|
119
|
+
return {
|
|
120
|
+
name: item["name"],
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/** Name of the sku. */
|
|
124
|
+
export var KnownSkuName;
|
|
125
|
+
(function (KnownSkuName) {
|
|
126
|
+
/** Basic sku. */
|
|
127
|
+
KnownSkuName["Basic"] = "Basic";
|
|
128
|
+
/** Premium sku. */
|
|
129
|
+
KnownSkuName["Premium"] = "Premium";
|
|
130
|
+
})(KnownSkuName || (KnownSkuName = {}));
|
|
131
|
+
/** The status of the current operation. */
|
|
132
|
+
export var KnownProvisioningState;
|
|
133
|
+
(function (KnownProvisioningState) {
|
|
134
|
+
/** Resource has been created. */
|
|
135
|
+
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
136
|
+
/** Resource creation failed. */
|
|
137
|
+
KnownProvisioningState["Failed"] = "Failed";
|
|
138
|
+
/** Resource creation was canceled. */
|
|
139
|
+
KnownProvisioningState["Canceled"] = "Canceled";
|
|
140
|
+
/** Updating in progress. */
|
|
141
|
+
KnownProvisioningState["Updating"] = "Updating";
|
|
142
|
+
/** Deletion in progress. */
|
|
143
|
+
KnownProvisioningState["Deleting"] = "Deleting";
|
|
144
|
+
/** Resource creation started. */
|
|
145
|
+
KnownProvisioningState["Accepted"] = "Accepted";
|
|
146
|
+
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
147
|
+
export function trackedResourceSerializer(item) {
|
|
148
|
+
return { tags: item["tags"], location: item["location"] };
|
|
149
|
+
}
|
|
150
|
+
export function trackedResourceDeserializer(item) {
|
|
151
|
+
return {
|
|
152
|
+
id: item["id"],
|
|
153
|
+
name: item["name"],
|
|
154
|
+
type: item["type"],
|
|
155
|
+
systemData: !item["systemData"]
|
|
156
|
+
? item["systemData"]
|
|
157
|
+
: systemDataDeserializer(item["systemData"]),
|
|
158
|
+
tags: !item["tags"]
|
|
159
|
+
? item["tags"]
|
|
160
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
161
|
+
location: item["location"],
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
export function resourceSerializer(item) {
|
|
165
|
+
return item;
|
|
166
|
+
}
|
|
167
|
+
export function resourceDeserializer(item) {
|
|
168
|
+
return {
|
|
169
|
+
id: item["id"],
|
|
170
|
+
name: item["name"],
|
|
171
|
+
type: item["type"],
|
|
172
|
+
systemData: !item["systemData"]
|
|
173
|
+
? item["systemData"]
|
|
174
|
+
: systemDataDeserializer(item["systemData"]),
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
export function systemDataDeserializer(item) {
|
|
178
|
+
return {
|
|
179
|
+
createdBy: item["createdBy"],
|
|
180
|
+
createdByType: item["createdByType"],
|
|
181
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
182
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
183
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
184
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
185
|
+
? item["lastModifiedAt"]
|
|
186
|
+
: new Date(item["lastModifiedAt"]),
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
/** The kind of entity that created the resource. */
|
|
190
|
+
export var KnownCreatedByType;
|
|
191
|
+
(function (KnownCreatedByType) {
|
|
192
|
+
/** The entity was created by a user. */
|
|
193
|
+
KnownCreatedByType["User"] = "User";
|
|
194
|
+
/** The entity was created by an application. */
|
|
195
|
+
KnownCreatedByType["Application"] = "Application";
|
|
196
|
+
/** The entity was created by a managed identity. */
|
|
197
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
198
|
+
/** The entity was created by a key. */
|
|
199
|
+
KnownCreatedByType["Key"] = "Key";
|
|
200
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
201
|
+
export function codeSigningAccountPatchSerializer(item) {
|
|
202
|
+
return {
|
|
203
|
+
tags: item["tags"],
|
|
204
|
+
properties: !item["properties"]
|
|
205
|
+
? item["properties"]
|
|
206
|
+
: codeSigningAccountPatchPropertiesSerializer(item["properties"]),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
export function codeSigningAccountPatchPropertiesSerializer(item) {
|
|
210
|
+
return { sku: !item["sku"] ? item["sku"] : accountSkuPatchSerializer(item["sku"]) };
|
|
211
|
+
}
|
|
212
|
+
export function accountSkuPatchSerializer(item) {
|
|
213
|
+
return { name: item["name"] };
|
|
214
|
+
}
|
|
215
|
+
export function _codeSigningAccountListResultDeserializer(item) {
|
|
216
|
+
return {
|
|
217
|
+
value: codeSigningAccountArrayDeserializer(item["value"]),
|
|
218
|
+
nextLink: item["nextLink"],
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
export function codeSigningAccountArraySerializer(result) {
|
|
222
|
+
return result.map((item) => {
|
|
223
|
+
return codeSigningAccountSerializer(item);
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
export function codeSigningAccountArrayDeserializer(result) {
|
|
227
|
+
return result.map((item) => {
|
|
228
|
+
return codeSigningAccountDeserializer(item);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
export function checkNameAvailabilitySerializer(item) {
|
|
232
|
+
return { type: item["type"], name: item["name"] };
|
|
233
|
+
}
|
|
234
|
+
export function checkNameAvailabilityResultDeserializer(item) {
|
|
235
|
+
return {
|
|
236
|
+
nameAvailable: item["nameAvailable"],
|
|
237
|
+
reason: item["reason"],
|
|
238
|
+
message: item["message"],
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
/** The reason that an artifact signing account name could not be used. The Reason element is only returned if nameAvailable is false. */
|
|
242
|
+
export var KnownNameUnavailabilityReason;
|
|
243
|
+
(function (KnownNameUnavailabilityReason) {
|
|
244
|
+
/** Account name is invalid */
|
|
245
|
+
KnownNameUnavailabilityReason["AccountNameInvalid"] = "AccountNameInvalid";
|
|
246
|
+
/** Account name already exists */
|
|
247
|
+
KnownNameUnavailabilityReason["AlreadyExists"] = "AlreadyExists";
|
|
248
|
+
})(KnownNameUnavailabilityReason || (KnownNameUnavailabilityReason = {}));
|
|
249
|
+
export function certificateProfileSerializer(item) {
|
|
250
|
+
return {
|
|
251
|
+
properties: !item["properties"]
|
|
252
|
+
? item["properties"]
|
|
253
|
+
: certificateProfilePropertiesSerializer(item["properties"]),
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
export function certificateProfileDeserializer(item) {
|
|
257
|
+
return {
|
|
258
|
+
id: item["id"],
|
|
259
|
+
name: item["name"],
|
|
260
|
+
type: item["type"],
|
|
261
|
+
systemData: !item["systemData"]
|
|
262
|
+
? item["systemData"]
|
|
263
|
+
: systemDataDeserializer(item["systemData"]),
|
|
264
|
+
properties: !item["properties"]
|
|
265
|
+
? item["properties"]
|
|
266
|
+
: certificateProfilePropertiesDeserializer(item["properties"]),
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
export function certificateProfilePropertiesSerializer(item) {
|
|
270
|
+
return {
|
|
271
|
+
profileType: item["profileType"],
|
|
272
|
+
includeStreetAddress: item["includeStreetAddress"],
|
|
273
|
+
includeCity: item["includeCity"],
|
|
274
|
+
includeState: item["includeState"],
|
|
275
|
+
includeCountry: item["includeCountry"],
|
|
276
|
+
includePostalCode: item["includePostalCode"],
|
|
277
|
+
identityValidationId: item["identityValidationId"],
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
export function certificateProfilePropertiesDeserializer(item) {
|
|
281
|
+
return {
|
|
282
|
+
profileType: item["profileType"],
|
|
283
|
+
includeStreetAddress: item["includeStreetAddress"],
|
|
284
|
+
includeCity: item["includeCity"],
|
|
285
|
+
includeState: item["includeState"],
|
|
286
|
+
includeCountry: item["includeCountry"],
|
|
287
|
+
includePostalCode: item["includePostalCode"],
|
|
288
|
+
identityValidationId: item["identityValidationId"],
|
|
289
|
+
provisioningState: item["provisioningState"],
|
|
290
|
+
status: item["status"],
|
|
291
|
+
certificates: !item["certificates"]
|
|
292
|
+
? item["certificates"]
|
|
293
|
+
: certificateArrayDeserializer(item["certificates"]),
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
/** Type of the certificate */
|
|
297
|
+
export var KnownProfileType;
|
|
298
|
+
(function (KnownProfileType) {
|
|
299
|
+
/** Used for signing files which are distributed publicly. */
|
|
300
|
+
KnownProfileType["PublicTrust"] = "PublicTrust";
|
|
301
|
+
/** Used for signing files which are distributed internally within organization or group boundary. */
|
|
302
|
+
KnownProfileType["PrivateTrust"] = "PrivateTrust";
|
|
303
|
+
/** Used for signing CI policy files. */
|
|
304
|
+
KnownProfileType["PrivateTrustCIPolicy"] = "PrivateTrustCIPolicy";
|
|
305
|
+
/** Used for signing files which are run in secure vbs enclave. */
|
|
306
|
+
KnownProfileType["VBSEnclave"] = "VBSEnclave";
|
|
307
|
+
/** Used for signing files for testing purpose. */
|
|
308
|
+
KnownProfileType["PublicTrustTest"] = "PublicTrustTest";
|
|
309
|
+
})(KnownProfileType || (KnownProfileType = {}));
|
|
310
|
+
/** Status of the certificate profiles. */
|
|
311
|
+
export var KnownCertificateProfileStatus;
|
|
312
|
+
(function (KnownCertificateProfileStatus) {
|
|
313
|
+
/** The certificate profile is active. */
|
|
314
|
+
KnownCertificateProfileStatus["Active"] = "Active";
|
|
315
|
+
/** The certificate profile is disabled. */
|
|
316
|
+
KnownCertificateProfileStatus["Disabled"] = "Disabled";
|
|
317
|
+
/** The certificate profile is suspended. */
|
|
318
|
+
KnownCertificateProfileStatus["Suspended"] = "Suspended";
|
|
319
|
+
})(KnownCertificateProfileStatus || (KnownCertificateProfileStatus = {}));
|
|
320
|
+
export function certificateArrayDeserializer(result) {
|
|
321
|
+
return result.map((item) => {
|
|
322
|
+
return certificateDeserializer(item);
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
export function certificateDeserializer(item) {
|
|
326
|
+
return {
|
|
327
|
+
serialNumber: item["serialNumber"],
|
|
328
|
+
enhancedKeyUsage: item["enhancedKeyUsage"],
|
|
329
|
+
subjectName: item["subjectName"],
|
|
330
|
+
thumbprint: item["thumbprint"],
|
|
331
|
+
createdDate: item["createdDate"],
|
|
332
|
+
expiryDate: item["expiryDate"],
|
|
333
|
+
status: item["status"],
|
|
334
|
+
revocation: !item["revocation"]
|
|
335
|
+
? item["revocation"]
|
|
336
|
+
: revocationDeserializer(item["revocation"]),
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
/** Status of the certificate */
|
|
340
|
+
export var KnownCertificateStatus;
|
|
341
|
+
(function (KnownCertificateStatus) {
|
|
342
|
+
/** The certificate is active. */
|
|
343
|
+
KnownCertificateStatus["Active"] = "Active";
|
|
344
|
+
/** The certificate is expired. */
|
|
345
|
+
KnownCertificateStatus["Expired"] = "Expired";
|
|
346
|
+
/** The certificate is revoked. */
|
|
347
|
+
KnownCertificateStatus["Revoked"] = "Revoked";
|
|
348
|
+
})(KnownCertificateStatus || (KnownCertificateStatus = {}));
|
|
349
|
+
export function revocationDeserializer(item) {
|
|
350
|
+
return {
|
|
351
|
+
requestedAt: !item["requestedAt"] ? item["requestedAt"] : new Date(item["requestedAt"]),
|
|
352
|
+
effectiveAt: !item["effectiveAt"] ? item["effectiveAt"] : new Date(item["effectiveAt"]),
|
|
353
|
+
reason: item["reason"],
|
|
354
|
+
remarks: item["remarks"],
|
|
355
|
+
status: item["status"],
|
|
356
|
+
failureReason: item["failureReason"],
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
/** Revocation status of the certificate. */
|
|
360
|
+
export var KnownRevocationStatus;
|
|
361
|
+
(function (KnownRevocationStatus) {
|
|
362
|
+
/** Certificate revocation succeeded. */
|
|
363
|
+
KnownRevocationStatus["Succeeded"] = "Succeeded";
|
|
364
|
+
/** Certificate revocation is in progress. */
|
|
365
|
+
KnownRevocationStatus["InProgress"] = "InProgress";
|
|
366
|
+
/** Certificate revocation failed. */
|
|
367
|
+
KnownRevocationStatus["Failed"] = "Failed";
|
|
368
|
+
})(KnownRevocationStatus || (KnownRevocationStatus = {}));
|
|
369
|
+
export function proxyResourceSerializer(item) {
|
|
370
|
+
return item;
|
|
371
|
+
}
|
|
372
|
+
export function proxyResourceDeserializer(item) {
|
|
373
|
+
return {
|
|
374
|
+
id: item["id"],
|
|
375
|
+
name: item["name"],
|
|
376
|
+
type: item["type"],
|
|
377
|
+
systemData: !item["systemData"]
|
|
378
|
+
? item["systemData"]
|
|
379
|
+
: systemDataDeserializer(item["systemData"]),
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
export function _certificateProfileListResultDeserializer(item) {
|
|
383
|
+
return {
|
|
384
|
+
value: certificateProfileArrayDeserializer(item["value"]),
|
|
385
|
+
nextLink: item["nextLink"],
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
export function certificateProfileArraySerializer(result) {
|
|
389
|
+
return result.map((item) => {
|
|
390
|
+
return certificateProfileSerializer(item);
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
export function certificateProfileArrayDeserializer(result) {
|
|
394
|
+
return result.map((item) => {
|
|
395
|
+
return certificateProfileDeserializer(item);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
export function revokeCertificateSerializer(item) {
|
|
399
|
+
return {
|
|
400
|
+
serialNumber: item["serialNumber"],
|
|
401
|
+
thumbprint: item["thumbprint"],
|
|
402
|
+
effectiveAt: item["effectiveAt"].toISOString(),
|
|
403
|
+
reason: item["reason"],
|
|
404
|
+
remarks: item["remarks"],
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
/** The available API versions. */
|
|
408
|
+
export var KnownVersions;
|
|
409
|
+
(function (KnownVersions) {
|
|
410
|
+
/** 2025-10-13 */
|
|
411
|
+
KnownVersions["V20251013"] = "2025-10-13";
|
|
412
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
413
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAwB;IACjE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC7C,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,OAAO,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,4BAA4B,CAAC,IAAS;IACpD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;KACjC,CAAC;AACJ,CAAC;AAED,2IAA2I;AAC3I,MAAM,CAAN,IAAY,WAOX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CAAmC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,MAAiC;IACjF,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,MAAiC;IACnF,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC;AAgBD,MAAM,UAAU,2BAA2B,CAAC,IAAuB;IACjE,OAAO;QACL,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;QAC9B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC,WAAW,EAAE;QAC9C,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;KACzB,CAAC;AACJ,CAAC;AAED,kCAAkC;AAClC,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iBAAiB;IACjB,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Artifact signing account resource. */\nexport interface CodeSigningAccount extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: CodeSigningAccountProperties;\n}\n\nexport function codeSigningAccountSerializer(item: CodeSigningAccount): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : codeSigningAccountPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function codeSigningAccountDeserializer(item: any): CodeSigningAccount {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : codeSigningAccountPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the artifact signing account. */\nexport interface CodeSigningAccountProperties {\n /** The URI of the artifact signing account which is used during signing files. */\n readonly accountUri?: string;\n /** SKU of the artifact signing account. */\n sku?: AccountSku;\n /** Status of the current operation on artifact signing account. */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function codeSigningAccountPropertiesSerializer(item: CodeSigningAccountProperties): any {\n return { sku: !item[\"sku\"] ? item[\"sku\"] : accountSkuSerializer(item[\"sku\"]) };\n}\n\nexport function codeSigningAccountPropertiesDeserializer(item: any): CodeSigningAccountProperties {\n return {\n accountUri: item[\"accountUri\"],\n sku: !item[\"sku\"] ? item[\"sku\"] : accountSkuDeserializer(item[\"sku\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** SKU of the artifact signing account. */\nexport interface AccountSku {\n /** Name of the SKU. */\n name: SkuName;\n}\n\nexport function accountSkuSerializer(item: AccountSku): any {\n return { name: item[\"name\"] };\n}\n\nexport function accountSkuDeserializer(item: any): AccountSku {\n return {\n name: item[\"name\"],\n };\n}\n\n/** Name of the sku. */\nexport enum KnownSkuName {\n /** Basic sku. */\n Basic = \"Basic\",\n /** Premium sku. */\n Premium = \"Premium\",\n}\n\n/**\n * Name of the sku. \\\n * {@link KnownSkuName} can be used interchangeably with SkuName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Basic**: Basic sku. \\\n * **Premium**: Premium sku.\n */\nexport type SkuName = string;\n\n/** The status of the current operation. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Updating in progress. */\n Updating = \"Updating\",\n /** Deletion in progress. */\n Deleting = \"Deleting\",\n /** Resource creation started. */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Updating**: Updating in progress. \\\n * **Deleting**: Deletion in progress. \\\n * **Accepted**: Resource creation started.\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Parameters for creating or updating an artifact signing account. */\nexport interface CodeSigningAccountPatch {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** Properties of the artifact signing account. */\n properties?: CodeSigningAccountPatchProperties;\n}\n\nexport function codeSigningAccountPatchSerializer(item: CodeSigningAccountPatch): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : codeSigningAccountPatchPropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the artifact signing account. */\nexport interface CodeSigningAccountPatchProperties {\n /** SKU of the artifact signing account. */\n sku?: AccountSkuPatch;\n}\n\nexport function codeSigningAccountPatchPropertiesSerializer(\n item: CodeSigningAccountPatchProperties,\n): any {\n return { sku: !item[\"sku\"] ? item[\"sku\"] : accountSkuPatchSerializer(item[\"sku\"]) };\n}\n\n/** SKU of the artifact signing account. */\nexport interface AccountSkuPatch {\n /** Name of the SKU. */\n name?: SkuName;\n}\n\nexport function accountSkuPatchSerializer(item: AccountSkuPatch): any {\n return { name: item[\"name\"] };\n}\n\n/** The response of a CodeSigningAccount list operation. */\nexport interface _CodeSigningAccountListResult {\n /** The CodeSigningAccount items on this page */\n value: CodeSigningAccount[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _codeSigningAccountListResultDeserializer(\n item: any,\n): _CodeSigningAccountListResult {\n return {\n value: codeSigningAccountArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function codeSigningAccountArraySerializer(result: Array<CodeSigningAccount>): any[] {\n return result.map((item) => {\n return codeSigningAccountSerializer(item);\n });\n}\n\nexport function codeSigningAccountArrayDeserializer(result: Array<CodeSigningAccount>): any[] {\n return result.map((item) => {\n return codeSigningAccountDeserializer(item);\n });\n}\n\n/** The parameters used to check the availability of the artifact signing account name. */\nexport interface CheckNameAvailability {\n /** The type of the resource, \"Microsoft.CodeSigning/codeSigningAccounts\". */\n type: string;\n /** Artifact signing account name. */\n name: string;\n}\n\nexport function checkNameAvailabilitySerializer(item: CheckNameAvailability): any {\n return { type: item[\"type\"], name: item[\"name\"] };\n}\n\n/** The CheckNameAvailability operation response. */\nexport interface CheckNameAvailabilityResult {\n /** A boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. */\n readonly nameAvailable?: boolean;\n /** The reason that an artifact signing account name could not be used. The Reason element is only returned if nameAvailable is false. */\n readonly reason?: NameUnavailabilityReason;\n /** An error message explaining the Reason value in more detail. */\n readonly message?: string;\n}\n\nexport function checkNameAvailabilityResultDeserializer(item: any): CheckNameAvailabilityResult {\n return {\n nameAvailable: item[\"nameAvailable\"],\n reason: item[\"reason\"],\n message: item[\"message\"],\n };\n}\n\n/** The reason that an artifact signing account name could not be used. The Reason element is only returned if nameAvailable is false. */\nexport enum KnownNameUnavailabilityReason {\n /** Account name is invalid */\n AccountNameInvalid = \"AccountNameInvalid\",\n /** Account name already exists */\n AlreadyExists = \"AlreadyExists\",\n}\n\n/**\n * The reason that an artifact signing account name could not be used. The Reason element is only returned if nameAvailable is false. \\\n * {@link KnownNameUnavailabilityReason} can be used interchangeably with NameUnavailabilityReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AccountNameInvalid**: Account name is invalid \\\n * **AlreadyExists**: Account name already exists\n */\nexport type NameUnavailabilityReason = string;\n\n/** Certificate profile resource. */\nexport interface CertificateProfile extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: CertificateProfileProperties;\n}\n\nexport function certificateProfileSerializer(item: CertificateProfile): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : certificateProfilePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function certificateProfileDeserializer(item: any): CertificateProfile {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : certificateProfilePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of the certificate profile. */\nexport interface CertificateProfileProperties {\n /** Profile type of the certificate. */\n profileType: ProfileType;\n /** Whether to include STREET in the certificate subject name. */\n includeStreetAddress?: boolean;\n /** Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types */\n includeCity?: boolean;\n /** Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types */\n includeState?: boolean;\n /** Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types */\n includeCountry?: boolean;\n /** Whether to include PC in the certificate subject name. */\n includePostalCode?: boolean;\n /** Identity validation id used for the certificate subject name. */\n identityValidationId: string;\n /** Status of the current operation on certificate profile. */\n readonly provisioningState?: ProvisioningState;\n /** Status of the certificate profile. */\n readonly status?: CertificateProfileStatus;\n /** List of renewed certificates. */\n readonly certificates?: Certificate[];\n}\n\nexport function certificateProfilePropertiesSerializer(item: CertificateProfileProperties): any {\n return {\n profileType: item[\"profileType\"],\n includeStreetAddress: item[\"includeStreetAddress\"],\n includeCity: item[\"includeCity\"],\n includeState: item[\"includeState\"],\n includeCountry: item[\"includeCountry\"],\n includePostalCode: item[\"includePostalCode\"],\n identityValidationId: item[\"identityValidationId\"],\n };\n}\n\nexport function certificateProfilePropertiesDeserializer(item: any): CertificateProfileProperties {\n return {\n profileType: item[\"profileType\"],\n includeStreetAddress: item[\"includeStreetAddress\"],\n includeCity: item[\"includeCity\"],\n includeState: item[\"includeState\"],\n includeCountry: item[\"includeCountry\"],\n includePostalCode: item[\"includePostalCode\"],\n identityValidationId: item[\"identityValidationId\"],\n provisioningState: item[\"provisioningState\"],\n status: item[\"status\"],\n certificates: !item[\"certificates\"]\n ? item[\"certificates\"]\n : certificateArrayDeserializer(item[\"certificates\"]),\n };\n}\n\n/** Type of the certificate */\nexport enum KnownProfileType {\n /** Used for signing files which are distributed publicly. */\n PublicTrust = \"PublicTrust\",\n /** Used for signing files which are distributed internally within organization or group boundary. */\n PrivateTrust = \"PrivateTrust\",\n /** Used for signing CI policy files. */\n PrivateTrustCIPolicy = \"PrivateTrustCIPolicy\",\n /** Used for signing files which are run in secure vbs enclave. */\n VBSEnclave = \"VBSEnclave\",\n /** Used for signing files for testing purpose. */\n PublicTrustTest = \"PublicTrustTest\",\n}\n\n/**\n * Type of the certificate \\\n * {@link KnownProfileType} can be used interchangeably with ProfileType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **PublicTrust**: Used for signing files which are distributed publicly. \\\n * **PrivateTrust**: Used for signing files which are distributed internally within organization or group boundary. \\\n * **PrivateTrustCIPolicy**: Used for signing CI policy files. \\\n * **VBSEnclave**: Used for signing files which are run in secure vbs enclave. \\\n * **PublicTrustTest**: Used for signing files for testing purpose.\n */\nexport type ProfileType = string;\n\n/** Status of the certificate profiles. */\nexport enum KnownCertificateProfileStatus {\n /** The certificate profile is active. */\n Active = \"Active\",\n /** The certificate profile is disabled. */\n Disabled = \"Disabled\",\n /** The certificate profile is suspended. */\n Suspended = \"Suspended\",\n}\n\n/**\n * Status of the certificate profiles. \\\n * {@link KnownCertificateProfileStatus} can be used interchangeably with CertificateProfileStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active**: The certificate profile is active. \\\n * **Disabled**: The certificate profile is disabled. \\\n * **Suspended**: The certificate profile is suspended.\n */\nexport type CertificateProfileStatus = string;\n\nexport function certificateArrayDeserializer(result: Array<Certificate>): any[] {\n return result.map((item) => {\n return certificateDeserializer(item);\n });\n}\n\n/** Properties of the certificate. */\nexport interface Certificate {\n /** Serial number of the certificate. */\n serialNumber?: string;\n /** Enhanced key usage of the certificate. */\n enhancedKeyUsage?: string;\n /** Subject name of the certificate. */\n subjectName?: string;\n /** Thumbprint of the certificate. */\n thumbprint?: string;\n /** Certificate created date. */\n createdDate?: string;\n /** Certificate expiry date. */\n expiryDate?: string;\n /** Status of the certificate. */\n status?: CertificateStatus;\n /** Revocations history of a certificate. */\n revocation?: Revocation;\n}\n\nexport function certificateDeserializer(item: any): Certificate {\n return {\n serialNumber: item[\"serialNumber\"],\n enhancedKeyUsage: item[\"enhancedKeyUsage\"],\n subjectName: item[\"subjectName\"],\n thumbprint: item[\"thumbprint\"],\n createdDate: item[\"createdDate\"],\n expiryDate: item[\"expiryDate\"],\n status: item[\"status\"],\n revocation: !item[\"revocation\"]\n ? item[\"revocation\"]\n : revocationDeserializer(item[\"revocation\"]),\n };\n}\n\n/** Status of the certificate */\nexport enum KnownCertificateStatus {\n /** The certificate is active. */\n Active = \"Active\",\n /** The certificate is expired. */\n Expired = \"Expired\",\n /** The certificate is revoked. */\n Revoked = \"Revoked\",\n}\n\n/**\n * Status of the certificate \\\n * {@link KnownCertificateStatus} can be used interchangeably with CertificateStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Active**: The certificate is active. \\\n * **Expired**: The certificate is expired. \\\n * **Revoked**: The certificate is revoked.\n */\nexport type CertificateStatus = string;\n\n/** Revocation details of the certificate. */\nexport interface Revocation {\n /** The timestamp when the revocation is requested. */\n requestedAt?: Date;\n /** The timestamp when the revocation is effective. */\n effectiveAt?: Date;\n /** Reason for revocation. */\n reason?: string;\n /** Remarks for the revocation. */\n remarks?: string;\n /** Status of the revocation. */\n status?: RevocationStatus;\n /** Reason for the revocation failure. */\n failureReason?: string;\n}\n\nexport function revocationDeserializer(item: any): Revocation {\n return {\n requestedAt: !item[\"requestedAt\"] ? item[\"requestedAt\"] : new Date(item[\"requestedAt\"]),\n effectiveAt: !item[\"effectiveAt\"] ? item[\"effectiveAt\"] : new Date(item[\"effectiveAt\"]),\n reason: item[\"reason\"],\n remarks: item[\"remarks\"],\n status: item[\"status\"],\n failureReason: item[\"failureReason\"],\n };\n}\n\n/** Revocation status of the certificate. */\nexport enum KnownRevocationStatus {\n /** Certificate revocation succeeded. */\n Succeeded = \"Succeeded\",\n /** Certificate revocation is in progress. */\n InProgress = \"InProgress\",\n /** Certificate revocation failed. */\n Failed = \"Failed\",\n}\n\n/**\n * Revocation status of the certificate. \\\n * {@link KnownRevocationStatus} can be used interchangeably with RevocationStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Certificate revocation succeeded. \\\n * **InProgress**: Certificate revocation is in progress. \\\n * **Failed**: Certificate revocation failed.\n */\nexport type RevocationStatus = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(item: ProxyResource): any {\n return item;\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a CertificateProfile list operation. */\nexport interface _CertificateProfileListResult {\n /** The CertificateProfile items on this page */\n value: CertificateProfile[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _certificateProfileListResultDeserializer(\n item: any,\n): _CertificateProfileListResult {\n return {\n value: certificateProfileArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function certificateProfileArraySerializer(result: Array<CertificateProfile>): any[] {\n return result.map((item) => {\n return certificateProfileSerializer(item);\n });\n}\n\nexport function certificateProfileArrayDeserializer(result: Array<CertificateProfile>): any[] {\n return result.map((item) => {\n return certificateProfileDeserializer(item);\n });\n}\n\n/** Defines the certificate revocation properties. */\nexport interface RevokeCertificate {\n /** Serial number of the certificate. */\n serialNumber: string;\n /** Thumbprint of the certificate. */\n thumbprint: string;\n /** The timestamp when the revocation is effective. */\n effectiveAt: Date;\n /** Reason for the revocation. */\n reason: string;\n /** Remarks for the revocation. */\n remarks?: string;\n}\n\nexport function revokeCertificateSerializer(item: RevokeCertificate): any {\n return {\n serialNumber: item[\"serialNumber\"],\n thumbprint: item[\"thumbprint\"],\n effectiveAt: item[\"effectiveAt\"].toISOString(),\n reason: item[\"reason\"],\n remarks: item[\"remarks\"],\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** 2025-10-13 */\n V20251013 = \"2025-10-13\",\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CodeSigningClient } from "./codeSigningClient.js";
|
|
2
|
+
import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
7
|
+
updateIntervalInMs?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The signal which can be used to abort requests.
|
|
10
|
+
*/
|
|
11
|
+
abortSignal?: AbortSignalLike;
|
|
12
|
+
/** Deserialization function for raw response body */
|
|
13
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
17
|
+
* useful when you want to create pollers on a different host or a poller
|
|
18
|
+
* needs to be constructed after the original one is not in scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: CodeSigningClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
21
|
+
//# sourceMappingURL=restorePollerHelpers.d.ts.map
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { _$deleteDeserialize, _createDeserialize } from "./api/certificateProfiles/operations.js";
|
|
4
|
+
import { _$deleteDeserialize as _$deleteDeserializeCodeSigningAccounts, _updateDeserialize, _createDeserialize as _createDeserializeCodeSigningAccounts, } from "./api/codeSigningAccounts/operations.js";
|
|
5
|
+
import { getLongRunningPoller } from "./static-helpers/pollingHelpers.js";
|
|
6
|
+
import { deserializeState } from "@azure/core-lro";
|
|
7
|
+
/**
|
|
8
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
9
|
+
* useful when you want to create pollers on a different host or a poller
|
|
10
|
+
* needs to be constructed after the original one is not in scope.
|
|
11
|
+
*/
|
|
12
|
+
export function restorePoller(client, serializedState, sourceOperation, options) {
|
|
13
|
+
const pollerConfig = deserializeState(serializedState).config;
|
|
14
|
+
const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
|
|
15
|
+
if (!initialRequestUrl || !requestMethod) {
|
|
16
|
+
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`);
|
|
17
|
+
}
|
|
18
|
+
const resourceLocationConfig = metadata?.["resourceLocationConfig"];
|
|
19
|
+
const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
|
|
20
|
+
const deserializeHelper = options?.processResponseBody ?? deserializer;
|
|
21
|
+
if (!deserializeHelper) {
|
|
22
|
+
throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`);
|
|
23
|
+
}
|
|
24
|
+
const apiVersion = getApiVersionFromUrl(initialRequestUrl);
|
|
25
|
+
return getLongRunningPoller(client["_client"] ?? client, deserializeHelper, expectedStatuses, {
|
|
26
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
27
|
+
abortSignal: options?.abortSignal,
|
|
28
|
+
resourceLocationConfig,
|
|
29
|
+
restoreFrom: serializedState,
|
|
30
|
+
initialRequestUrl,
|
|
31
|
+
apiVersion,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
const deserializeMap = {
|
|
35
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}": { deserializer: _$deleteDeserialize, expectedStatuses: ["202", "204", "200"] },
|
|
36
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}": { deserializer: _createDeserialize, expectedStatuses: ["200", "201", "202"] },
|
|
37
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}": {
|
|
38
|
+
deserializer: _$deleteDeserializeCodeSigningAccounts,
|
|
39
|
+
expectedStatuses: ["202", "204", "200"],
|
|
40
|
+
},
|
|
41
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}": { deserializer: _updateDeserialize, expectedStatuses: ["200", "202", "201"] },
|
|
42
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}": {
|
|
43
|
+
deserializer: _createDeserializeCodeSigningAccounts,
|
|
44
|
+
expectedStatuses: ["200", "201", "202"],
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
function getDeserializationHelper(urlStr, method) {
|
|
48
|
+
const path = new URL(urlStr).pathname;
|
|
49
|
+
const pathParts = path.split("/");
|
|
50
|
+
// Traverse list to match the longest candidate
|
|
51
|
+
// matchedLen: the length of candidate path
|
|
52
|
+
// matchedValue: the matched status code array
|
|
53
|
+
let matchedLen = -1, matchedValue;
|
|
54
|
+
// Iterate the responseMap to find a match
|
|
55
|
+
for (const [key, value] of Object.entries(deserializeMap)) {
|
|
56
|
+
// Extracting the path from the map key which is in format
|
|
57
|
+
// GET /path/foo
|
|
58
|
+
if (!key.startsWith(method)) {
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
const candidatePath = getPathFromMapKey(key);
|
|
62
|
+
// Get each part of the url path
|
|
63
|
+
const candidateParts = candidatePath.split("/");
|
|
64
|
+
// track if we have found a match to return the values found.
|
|
65
|
+
let found = true;
|
|
66
|
+
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
67
|
+
if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
|
|
68
|
+
const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
|
|
69
|
+
// If the current part of the candidate is a "template" part
|
|
70
|
+
// Try to use the suffix of pattern to match the path
|
|
71
|
+
// {guid} ==> $
|
|
72
|
+
// {guid}:export ==> :export$
|
|
73
|
+
const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(pathParts[j] || "");
|
|
74
|
+
if (!isMatched) {
|
|
75
|
+
found = false;
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
// If the candidate part is not a template and
|
|
81
|
+
// the parts don't match mark the candidate as not found
|
|
82
|
+
// to move on with the next candidate path.
|
|
83
|
+
if (candidateParts[i] !== pathParts[j]) {
|
|
84
|
+
found = false;
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
// We finished evaluating the current candidate parts
|
|
89
|
+
// Update the matched value if and only if we found the longer pattern
|
|
90
|
+
if (found && candidatePath.length > matchedLen) {
|
|
91
|
+
matchedLen = candidatePath.length;
|
|
92
|
+
matchedValue = value;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return matchedValue;
|
|
96
|
+
}
|
|
97
|
+
function getPathFromMapKey(mapKey) {
|
|
98
|
+
const pathStart = mapKey.indexOf("/");
|
|
99
|
+
return mapKey.slice(pathStart);
|
|
100
|
+
}
|
|
101
|
+
function getApiVersionFromUrl(urlStr) {
|
|
102
|
+
const url = new URL(urlStr);
|
|
103
|
+
return url.searchParams.get("api-version") ?? undefined;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=restorePollerHelpers.js.map
|