@azure/arm-computefleet 1.0.1 → 2.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/LICENSE +1 -1
- package/README.md +13 -7
- package/dist/browser/api/azureFleetContext.d.ts +10 -1
- package/dist/browser/api/azureFleetContext.js +6 -5
- package/dist/browser/api/azureFleetContext.js.map +1 -1
- package/dist/browser/api/fleets/index.d.ts +2 -33
- package/dist/browser/api/fleets/index.js +1 -142
- package/dist/browser/api/fleets/index.js.map +1 -1
- package/dist/browser/api/fleets/operations.d.ts +48 -0
- package/dist/browser/api/fleets/operations.js +299 -0
- package/dist/browser/api/fleets/operations.js.map +1 -0
- package/dist/browser/api/{options.d.ts → fleets/options.d.ts} +20 -11
- package/dist/browser/api/fleets/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +0 -3
- package/dist/browser/api/index.js +0 -2
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +2 -8
- package/dist/browser/api/operations/index.js +1 -19
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +34 -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.map +1 -0
- package/dist/browser/azureFleetClient.d.ts +6 -6
- package/dist/browser/azureFleetClient.js +9 -9
- package/dist/browser/azureFleetClient.js.map +1 -1
- package/dist/browser/classic/fleets/index.d.ts +24 -24
- package/dist/browser/classic/fleets/index.js +13 -11
- package/dist/browser/classic/fleets/index.js.map +1 -1
- package/dist/browser/classic/operations/index.d.ts +2 -5
- package/dist/browser/classic/operations/index.js +5 -5
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/index.d.ts +6 -2
- package/dist/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +342 -159
- package/dist/browser/models/models.js +392 -243
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +8 -10
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +170 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/azureFleetContext.d.ts +10 -1
- package/dist/commonjs/api/azureFleetContext.js +6 -5
- package/dist/commonjs/api/azureFleetContext.js.map +1 -1
- package/dist/commonjs/api/fleets/index.d.ts +2 -33
- package/dist/commonjs/api/fleets/index.js +11 -163
- package/dist/commonjs/api/fleets/index.js.map +1 -1
- package/dist/commonjs/api/fleets/operations.d.ts +48 -0
- package/dist/commonjs/api/fleets/operations.js +328 -0
- package/dist/commonjs/api/fleets/operations.js.map +1 -0
- package/dist/commonjs/api/{options.d.ts → fleets/options.d.ts} +20 -11
- package/dist/commonjs/api/fleets/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +0 -3
- package/dist/commonjs/api/index.js +1 -11
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +2 -8
- package/dist/commonjs/api/operations/index.js +3 -22
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +39 -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/azureFleetClient.d.ts +6 -6
- package/dist/commonjs/azureFleetClient.js +9 -9
- package/dist/commonjs/azureFleetClient.js.map +1 -1
- package/dist/commonjs/classic/fleets/index.d.ts +24 -24
- package/dist/commonjs/classic/fleets/index.js +14 -13
- package/dist/commonjs/classic/fleets/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.d.ts +2 -5
- package/dist/commonjs/classic/operations/index.js +6 -7
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +6 -2
- package/dist/commonjs/index.js +10 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js +8 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +342 -159
- package/dist/commonjs/models/models.js +453 -292
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +8 -10
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +33 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +173 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/azureFleetContext.d.ts +10 -1
- package/dist/esm/api/azureFleetContext.js +6 -5
- package/dist/esm/api/azureFleetContext.js.map +1 -1
- package/dist/esm/api/fleets/index.d.ts +2 -33
- package/dist/esm/api/fleets/index.js +1 -142
- package/dist/esm/api/fleets/index.js.map +1 -1
- package/dist/esm/api/fleets/operations.d.ts +48 -0
- package/dist/esm/api/fleets/operations.js +299 -0
- package/dist/esm/api/fleets/operations.js.map +1 -0
- package/dist/{react-native/api → esm/api/fleets}/options.d.ts +20 -11
- package/dist/esm/api/fleets/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +0 -3
- package/dist/esm/api/index.js +0 -2
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +2 -8
- package/dist/esm/api/operations/index.js +1 -19
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +34 -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/azureFleetClient.d.ts +6 -6
- package/dist/esm/azureFleetClient.js +9 -9
- package/dist/esm/azureFleetClient.js.map +1 -1
- package/dist/esm/classic/fleets/index.d.ts +24 -24
- package/dist/esm/classic/fleets/index.js +13 -11
- package/dist/esm/classic/fleets/index.js.map +1 -1
- package/dist/esm/classic/operations/index.d.ts +2 -5
- package/dist/esm/classic/operations/index.js +5 -5
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/index.d.ts +6 -2
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +342 -159
- package/dist/esm/models/models.js +392 -243
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +8 -10
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +170 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/azureFleetContext.d.ts +10 -1
- package/dist/react-native/api/azureFleetContext.js +6 -5
- package/dist/react-native/api/azureFleetContext.js.map +1 -1
- package/dist/react-native/api/fleets/index.d.ts +2 -33
- package/dist/react-native/api/fleets/index.js +1 -142
- package/dist/react-native/api/fleets/index.js.map +1 -1
- package/dist/react-native/api/fleets/operations.d.ts +48 -0
- package/dist/react-native/api/fleets/operations.js +299 -0
- package/dist/react-native/api/fleets/operations.js.map +1 -0
- package/dist/{esm/api → react-native/api/fleets}/options.d.ts +20 -11
- package/dist/react-native/api/fleets/options.js +4 -0
- package/dist/react-native/api/fleets/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.js +0 -2
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +2 -8
- package/dist/react-native/api/operations/index.js +1 -19
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.js +34 -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/azureFleetClient.d.ts +6 -6
- package/dist/react-native/azureFleetClient.js +9 -9
- package/dist/react-native/azureFleetClient.js.map +1 -1
- package/dist/react-native/classic/fleets/index.d.ts +24 -24
- package/dist/react-native/classic/fleets/index.js +13 -11
- package/dist/react-native/classic/fleets/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.d.ts +2 -5
- package/dist/react-native/classic/operations/index.js +5 -5
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/index.d.ts +6 -2
- package/dist/react-native/index.js +3 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +342 -159
- package/dist/react-native/models/models.js +392 -243
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +8 -10
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +13 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +29 -0
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.js +170 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +101 -44
- package/CHANGELOG.md +0 -17
- package/dist/browser/api/azureFleetContext.d.ts.map +0 -1
- package/dist/browser/api/fleets/index.d.ts.map +0 -1
- package/dist/browser/api/index.d.ts.map +0 -1
- package/dist/browser/api/operations/index.d.ts.map +0 -1
- package/dist/browser/api/options.d.ts.map +0 -1
- package/dist/browser/api/options.js.map +0 -1
- package/dist/browser/azureFleetClient.d.ts.map +0 -1
- package/dist/browser/classic/fleets/index.d.ts.map +0 -1
- package/dist/browser/classic/index.d.ts.map +0 -1
- package/dist/browser/classic/operations/index.d.ts.map +0 -1
- package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
- package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/browser/helpers/serializerHelpers.js +0 -24
- package/dist/browser/helpers/serializerHelpers.js.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/logger.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/models.d.ts.map +0 -1
- package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/commonjs/api/azureFleetContext.d.ts.map +0 -1
- package/dist/commonjs/api/fleets/index.d.ts.map +0 -1
- package/dist/commonjs/api/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/index.d.ts.map +0 -1
- package/dist/commonjs/api/options.d.ts.map +0 -1
- package/dist/commonjs/api/options.js.map +0 -1
- package/dist/commonjs/azureFleetClient.d.ts.map +0 -1
- package/dist/commonjs/classic/fleets/index.d.ts.map +0 -1
- package/dist/commonjs/classic/index.d.ts.map +0 -1
- package/dist/commonjs/classic/operations/index.d.ts.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.js +0 -27
- package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/logger.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/models.d.ts.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/esm/api/azureFleetContext.d.ts.map +0 -1
- package/dist/esm/api/fleets/index.d.ts.map +0 -1
- package/dist/esm/api/index.d.ts.map +0 -1
- package/dist/esm/api/operations/index.d.ts.map +0 -1
- package/dist/esm/api/options.d.ts.map +0 -1
- package/dist/esm/api/options.js.map +0 -1
- package/dist/esm/azureFleetClient.d.ts.map +0 -1
- package/dist/esm/classic/fleets/index.d.ts.map +0 -1
- package/dist/esm/classic/index.d.ts.map +0 -1
- package/dist/esm/classic/operations/index.d.ts.map +0 -1
- package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
- package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/esm/helpers/serializerHelpers.js +0 -24
- package/dist/esm/helpers/serializerHelpers.js.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/logger.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/models.d.ts.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/react-native/api/azureFleetContext.d.ts.map +0 -1
- package/dist/react-native/api/fleets/index.d.ts.map +0 -1
- package/dist/react-native/api/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/index.d.ts.map +0 -1
- package/dist/react-native/api/options.d.ts.map +0 -1
- package/dist/react-native/api/options.js.map +0 -1
- package/dist/react-native/azureFleetClient.d.ts.map +0 -1
- package/dist/react-native/classic/fleets/index.d.ts.map +0 -1
- package/dist/react-native/classic/index.d.ts.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.js +0 -24
- package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/logger.d.ts.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/models.d.ts.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/review/arm-computefleet-models-node.api.md +0 -1078
- package/review/arm-computefleet-node.api.md +0 -1178
- /package/dist/browser/api/{options.js → fleets/options.js} +0 -0
- /package/dist/{esm/api → browser/api/operations}/options.js +0 -0
- /package/dist/commonjs/api/{options.js → fleets/options.js} +0 -0
- /package/dist/{react-native/api → esm/api/fleets}/options.js +0 -0
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
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
|
+
}
|
|
3
79
|
export function fleetSerializer(item) {
|
|
4
80
|
return {
|
|
5
81
|
tags: item["tags"],
|
|
@@ -53,18 +129,21 @@ export function fleetPropertiesSerializer(item) {
|
|
|
53
129
|
vmSizesProfile: vmSizeProfileArraySerializer(item["vmSizesProfile"]),
|
|
54
130
|
vmAttributes: !item["vmAttributes"]
|
|
55
131
|
? item["vmAttributes"]
|
|
56
|
-
:
|
|
132
|
+
: vmAttributesSerializer(item["vmAttributes"]),
|
|
57
133
|
additionalLocationsProfile: !item["additionalLocationsProfile"]
|
|
58
134
|
? item["additionalLocationsProfile"]
|
|
59
135
|
: additionalLocationsProfileSerializer(item["additionalLocationsProfile"]),
|
|
60
136
|
computeProfile: computeProfileSerializer(item["computeProfile"]),
|
|
137
|
+
mode: item["mode"],
|
|
138
|
+
capacityType: item["capacityType"],
|
|
139
|
+
zoneAllocationPolicy: !item["zoneAllocationPolicy"]
|
|
140
|
+
? item["zoneAllocationPolicy"]
|
|
141
|
+
: zoneAllocationPolicySerializer(item["zoneAllocationPolicy"]),
|
|
61
142
|
};
|
|
62
143
|
}
|
|
63
144
|
export function fleetPropertiesDeserializer(item) {
|
|
64
145
|
return {
|
|
65
|
-
provisioningState:
|
|
66
|
-
? item["provisioningState"]
|
|
67
|
-
: provisioningStateDeserializer(item["provisioningState"]),
|
|
146
|
+
provisioningState: item["provisioningState"],
|
|
68
147
|
spotPriorityProfile: !item["spotPriorityProfile"]
|
|
69
148
|
? item["spotPriorityProfile"]
|
|
70
149
|
: spotPriorityProfileDeserializer(item["spotPriorityProfile"]),
|
|
@@ -74,39 +153,38 @@ export function fleetPropertiesDeserializer(item) {
|
|
|
74
153
|
vmSizesProfile: vmSizeProfileArrayDeserializer(item["vmSizesProfile"]),
|
|
75
154
|
vmAttributes: !item["vmAttributes"]
|
|
76
155
|
? item["vmAttributes"]
|
|
77
|
-
:
|
|
156
|
+
: vmAttributesDeserializer(item["vmAttributes"]),
|
|
78
157
|
additionalLocationsProfile: !item["additionalLocationsProfile"]
|
|
79
158
|
? item["additionalLocationsProfile"]
|
|
80
159
|
: additionalLocationsProfileDeserializer(item["additionalLocationsProfile"]),
|
|
81
160
|
computeProfile: computeProfileDeserializer(item["computeProfile"]),
|
|
82
161
|
timeCreated: !item["timeCreated"] ? item["timeCreated"] : new Date(item["timeCreated"]),
|
|
83
162
|
uniqueId: item["uniqueId"],
|
|
163
|
+
mode: item["mode"],
|
|
164
|
+
capacityType: item["capacityType"],
|
|
165
|
+
zoneAllocationPolicy: !item["zoneAllocationPolicy"]
|
|
166
|
+
? item["zoneAllocationPolicy"]
|
|
167
|
+
: zoneAllocationPolicyDeserializer(item["zoneAllocationPolicy"]),
|
|
84
168
|
};
|
|
85
169
|
}
|
|
86
|
-
/**
|
|
170
|
+
/** The status of the current operation. */
|
|
87
171
|
export var KnownProvisioningState;
|
|
88
172
|
(function (KnownProvisioningState) {
|
|
89
|
-
/**
|
|
173
|
+
/** Resource has been created. */
|
|
90
174
|
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
91
|
-
/**
|
|
175
|
+
/** Resource creation failed. */
|
|
92
176
|
KnownProvisioningState["Failed"] = "Failed";
|
|
93
|
-
/**
|
|
177
|
+
/** Resource creation was canceled. */
|
|
94
178
|
KnownProvisioningState["Canceled"] = "Canceled";
|
|
95
|
-
/**
|
|
179
|
+
/** Initial creation in progress. */
|
|
96
180
|
KnownProvisioningState["Creating"] = "Creating";
|
|
97
|
-
/**
|
|
181
|
+
/** Update in progress. */
|
|
98
182
|
KnownProvisioningState["Updating"] = "Updating";
|
|
99
|
-
/**
|
|
183
|
+
/** Deletion in progress. */
|
|
100
184
|
KnownProvisioningState["Deleting"] = "Deleting";
|
|
101
|
-
/**
|
|
185
|
+
/** Resource is being migrated from one subscription or resource group to another. */
|
|
102
186
|
KnownProvisioningState["Migrating"] = "Migrating";
|
|
103
187
|
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
104
|
-
export function provisioningStateSerializer(item) {
|
|
105
|
-
return item;
|
|
106
|
-
}
|
|
107
|
-
export function provisioningStateDeserializer(item) {
|
|
108
|
-
return item;
|
|
109
|
-
}
|
|
110
188
|
export function spotPriorityProfileSerializer(item) {
|
|
111
189
|
return {
|
|
112
190
|
capacity: item["capacity"],
|
|
@@ -167,15 +245,6 @@ export var KnownRegularPriorityAllocationStrategy;
|
|
|
167
245
|
/** VM sizes distribution will be determined to optimize for the 'priority' as specified for each vm size. */
|
|
168
246
|
KnownRegularPriorityAllocationStrategy["Prioritized"] = "Prioritized";
|
|
169
247
|
})(KnownRegularPriorityAllocationStrategy || (KnownRegularPriorityAllocationStrategy = {}));
|
|
170
|
-
export function vmSizeProfileSerializer(item) {
|
|
171
|
-
return { name: item["name"], rank: item["rank"] };
|
|
172
|
-
}
|
|
173
|
-
export function vmSizeProfileDeserializer(item) {
|
|
174
|
-
return {
|
|
175
|
-
name: item["name"],
|
|
176
|
-
rank: item["rank"],
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
248
|
export function vmSizeProfileArraySerializer(result) {
|
|
180
249
|
return result.map((item) => {
|
|
181
250
|
return vmSizeProfileSerializer(item);
|
|
@@ -186,17 +255,26 @@ export function vmSizeProfileArrayDeserializer(result) {
|
|
|
186
255
|
return vmSizeProfileDeserializer(item);
|
|
187
256
|
});
|
|
188
257
|
}
|
|
189
|
-
export function
|
|
258
|
+
export function vmSizeProfileSerializer(item) {
|
|
259
|
+
return { name: item["name"], rank: item["rank"] };
|
|
260
|
+
}
|
|
261
|
+
export function vmSizeProfileDeserializer(item) {
|
|
190
262
|
return {
|
|
191
|
-
|
|
192
|
-
|
|
263
|
+
name: item["name"],
|
|
264
|
+
rank: item["rank"],
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
export function vmAttributesSerializer(item) {
|
|
268
|
+
return {
|
|
269
|
+
vCpuCount: vmAttributeMinMaxIntegerSerializer(item["vCpuCount"]),
|
|
270
|
+
memoryInGiB: vmAttributeMinMaxDoubleSerializer(item["memoryInGiB"]),
|
|
193
271
|
memoryInGiBPerVCpu: !item["memoryInGiBPerVCpu"]
|
|
194
272
|
? item["memoryInGiBPerVCpu"]
|
|
195
|
-
:
|
|
273
|
+
: vmAttributeMinMaxDoubleSerializer(item["memoryInGiBPerVCpu"]),
|
|
196
274
|
localStorageSupport: item["localStorageSupport"],
|
|
197
275
|
localStorageInGiB: !item["localStorageInGiB"]
|
|
198
276
|
? item["localStorageInGiB"]
|
|
199
|
-
:
|
|
277
|
+
: vmAttributeMinMaxDoubleSerializer(item["localStorageInGiB"]),
|
|
200
278
|
localStorageDiskTypes: !item["localStorageDiskTypes"]
|
|
201
279
|
? item["localStorageDiskTypes"]
|
|
202
280
|
: item["localStorageDiskTypes"].map((p) => {
|
|
@@ -204,17 +282,17 @@ export function vMAttributesSerializer(item) {
|
|
|
204
282
|
}),
|
|
205
283
|
dataDiskCount: !item["dataDiskCount"]
|
|
206
284
|
? item["dataDiskCount"]
|
|
207
|
-
:
|
|
285
|
+
: vmAttributeMinMaxIntegerSerializer(item["dataDiskCount"]),
|
|
208
286
|
networkInterfaceCount: !item["networkInterfaceCount"]
|
|
209
287
|
? item["networkInterfaceCount"]
|
|
210
|
-
:
|
|
288
|
+
: vmAttributeMinMaxIntegerSerializer(item["networkInterfaceCount"]),
|
|
211
289
|
networkBandwidthInMbps: !item["networkBandwidthInMbps"]
|
|
212
290
|
? item["networkBandwidthInMbps"]
|
|
213
|
-
:
|
|
291
|
+
: vmAttributeMinMaxDoubleSerializer(item["networkBandwidthInMbps"]),
|
|
214
292
|
rdmaSupport: item["rdmaSupport"],
|
|
215
293
|
rdmaNetworkInterfaceCount: !item["rdmaNetworkInterfaceCount"]
|
|
216
294
|
? item["rdmaNetworkInterfaceCount"]
|
|
217
|
-
:
|
|
295
|
+
: vmAttributeMinMaxIntegerSerializer(item["rdmaNetworkInterfaceCount"]),
|
|
218
296
|
acceleratorSupport: item["acceleratorSupport"],
|
|
219
297
|
acceleratorManufacturers: !item["acceleratorManufacturers"]
|
|
220
298
|
? item["acceleratorManufacturers"]
|
|
@@ -228,7 +306,7 @@ export function vMAttributesSerializer(item) {
|
|
|
228
306
|
}),
|
|
229
307
|
acceleratorCount: !item["acceleratorCount"]
|
|
230
308
|
? item["acceleratorCount"]
|
|
231
|
-
:
|
|
309
|
+
: vmAttributeMinMaxIntegerSerializer(item["acceleratorCount"]),
|
|
232
310
|
vmCategories: !item["vmCategories"]
|
|
233
311
|
? item["vmCategories"]
|
|
234
312
|
: item["vmCategories"].map((p) => {
|
|
@@ -252,17 +330,17 @@ export function vMAttributesSerializer(item) {
|
|
|
252
330
|
}),
|
|
253
331
|
};
|
|
254
332
|
}
|
|
255
|
-
export function
|
|
333
|
+
export function vmAttributesDeserializer(item) {
|
|
256
334
|
return {
|
|
257
|
-
vCpuCount:
|
|
258
|
-
memoryInGiB:
|
|
335
|
+
vCpuCount: vmAttributeMinMaxIntegerDeserializer(item["vCpuCount"]),
|
|
336
|
+
memoryInGiB: vmAttributeMinMaxDoubleDeserializer(item["memoryInGiB"]),
|
|
259
337
|
memoryInGiBPerVCpu: !item["memoryInGiBPerVCpu"]
|
|
260
338
|
? item["memoryInGiBPerVCpu"]
|
|
261
|
-
:
|
|
339
|
+
: vmAttributeMinMaxDoubleDeserializer(item["memoryInGiBPerVCpu"]),
|
|
262
340
|
localStorageSupport: item["localStorageSupport"],
|
|
263
341
|
localStorageInGiB: !item["localStorageInGiB"]
|
|
264
342
|
? item["localStorageInGiB"]
|
|
265
|
-
:
|
|
343
|
+
: vmAttributeMinMaxDoubleDeserializer(item["localStorageInGiB"]),
|
|
266
344
|
localStorageDiskTypes: !item["localStorageDiskTypes"]
|
|
267
345
|
? item["localStorageDiskTypes"]
|
|
268
346
|
: item["localStorageDiskTypes"].map((p) => {
|
|
@@ -270,17 +348,17 @@ export function vMAttributesDeserializer(item) {
|
|
|
270
348
|
}),
|
|
271
349
|
dataDiskCount: !item["dataDiskCount"]
|
|
272
350
|
? item["dataDiskCount"]
|
|
273
|
-
:
|
|
351
|
+
: vmAttributeMinMaxIntegerDeserializer(item["dataDiskCount"]),
|
|
274
352
|
networkInterfaceCount: !item["networkInterfaceCount"]
|
|
275
353
|
? item["networkInterfaceCount"]
|
|
276
|
-
:
|
|
354
|
+
: vmAttributeMinMaxIntegerDeserializer(item["networkInterfaceCount"]),
|
|
277
355
|
networkBandwidthInMbps: !item["networkBandwidthInMbps"]
|
|
278
356
|
? item["networkBandwidthInMbps"]
|
|
279
|
-
:
|
|
357
|
+
: vmAttributeMinMaxDoubleDeserializer(item["networkBandwidthInMbps"]),
|
|
280
358
|
rdmaSupport: item["rdmaSupport"],
|
|
281
359
|
rdmaNetworkInterfaceCount: !item["rdmaNetworkInterfaceCount"]
|
|
282
360
|
? item["rdmaNetworkInterfaceCount"]
|
|
283
|
-
:
|
|
361
|
+
: vmAttributeMinMaxIntegerDeserializer(item["rdmaNetworkInterfaceCount"]),
|
|
284
362
|
acceleratorSupport: item["acceleratorSupport"],
|
|
285
363
|
acceleratorManufacturers: !item["acceleratorManufacturers"]
|
|
286
364
|
? item["acceleratorManufacturers"]
|
|
@@ -294,7 +372,7 @@ export function vMAttributesDeserializer(item) {
|
|
|
294
372
|
}),
|
|
295
373
|
acceleratorCount: !item["acceleratorCount"]
|
|
296
374
|
? item["acceleratorCount"]
|
|
297
|
-
:
|
|
375
|
+
: vmAttributeMinMaxIntegerDeserializer(item["acceleratorCount"]),
|
|
298
376
|
vmCategories: !item["vmCategories"]
|
|
299
377
|
? item["vmCategories"]
|
|
300
378
|
: item["vmCategories"].map((p) => {
|
|
@@ -318,19 +396,19 @@ export function vMAttributesDeserializer(item) {
|
|
|
318
396
|
}),
|
|
319
397
|
};
|
|
320
398
|
}
|
|
321
|
-
export function
|
|
399
|
+
export function vmAttributeMinMaxIntegerSerializer(item) {
|
|
322
400
|
return { min: item["min"], max: item["max"] };
|
|
323
401
|
}
|
|
324
|
-
export function
|
|
402
|
+
export function vmAttributeMinMaxIntegerDeserializer(item) {
|
|
325
403
|
return {
|
|
326
404
|
min: item["min"],
|
|
327
405
|
max: item["max"],
|
|
328
406
|
};
|
|
329
407
|
}
|
|
330
|
-
export function
|
|
408
|
+
export function vmAttributeMinMaxDoubleSerializer(item) {
|
|
331
409
|
return { min: item["min"], max: item["max"] };
|
|
332
410
|
}
|
|
333
|
-
export function
|
|
411
|
+
export function vmAttributeMinMaxDoubleDeserializer(item) {
|
|
334
412
|
return {
|
|
335
413
|
min: item["min"],
|
|
336
414
|
max: item["max"],
|
|
@@ -370,7 +448,7 @@ export var KnownAcceleratorType;
|
|
|
370
448
|
/** GPU Accelerator */
|
|
371
449
|
KnownAcceleratorType["GPU"] = "GPU";
|
|
372
450
|
/** FPGA Accelerator */
|
|
373
|
-
KnownAcceleratorType["
|
|
451
|
+
KnownAcceleratorType["Fpga"] = "FPGA";
|
|
374
452
|
})(KnownAcceleratorType || (KnownAcceleratorType = {}));
|
|
375
453
|
/**
|
|
376
454
|
* VMCategories defined for Azure VMs.
|
|
@@ -436,6 +514,16 @@ export function additionalLocationsProfileDeserializer(item) {
|
|
|
436
514
|
locationProfiles: locationProfileArrayDeserializer(item["locationProfiles"]),
|
|
437
515
|
};
|
|
438
516
|
}
|
|
517
|
+
export function locationProfileArraySerializer(result) {
|
|
518
|
+
return result.map((item) => {
|
|
519
|
+
return locationProfileSerializer(item);
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
export function locationProfileArrayDeserializer(result) {
|
|
523
|
+
return result.map((item) => {
|
|
524
|
+
return locationProfileDeserializer(item);
|
|
525
|
+
});
|
|
526
|
+
}
|
|
439
527
|
export function locationProfileSerializer(item) {
|
|
440
528
|
return {
|
|
441
529
|
location: item["location"],
|
|
@@ -603,6 +691,16 @@ export function windowsConfigurationDeserializer(item) {
|
|
|
603
691
|
enableVMAgentPlatformUpdates: item["enableVMAgentPlatformUpdates"],
|
|
604
692
|
};
|
|
605
693
|
}
|
|
694
|
+
export function additionalUnattendContentArraySerializer(result) {
|
|
695
|
+
return result.map((item) => {
|
|
696
|
+
return additionalUnattendContentSerializer(item);
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
export function additionalUnattendContentArrayDeserializer(result) {
|
|
700
|
+
return result.map((item) => {
|
|
701
|
+
return additionalUnattendContentDeserializer(item);
|
|
702
|
+
});
|
|
703
|
+
}
|
|
606
704
|
export function additionalUnattendContentSerializer(item) {
|
|
607
705
|
return {
|
|
608
706
|
passName: item["passName"],
|
|
@@ -630,16 +728,6 @@ export var KnownSettingNames;
|
|
|
630
728
|
/** FirstLogonCommands setting */
|
|
631
729
|
KnownSettingNames["FirstLogonCommands"] = "FirstLogonCommands";
|
|
632
730
|
})(KnownSettingNames || (KnownSettingNames = {}));
|
|
633
|
-
export function additionalUnattendContentArraySerializer(result) {
|
|
634
|
-
return result.map((item) => {
|
|
635
|
-
return additionalUnattendContentSerializer(item);
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
export function additionalUnattendContentArrayDeserializer(result) {
|
|
639
|
-
return result.map((item) => {
|
|
640
|
-
return additionalUnattendContentDeserializer(item);
|
|
641
|
-
});
|
|
642
|
-
}
|
|
643
731
|
export function patchSettingsSerializer(item) {
|
|
644
732
|
return {
|
|
645
733
|
patchMode: item["patchMode"],
|
|
@@ -731,6 +819,16 @@ export function winRMConfigurationDeserializer(item) {
|
|
|
731
819
|
: winRMListenerArrayDeserializer(item["listeners"]),
|
|
732
820
|
};
|
|
733
821
|
}
|
|
822
|
+
export function winRMListenerArraySerializer(result) {
|
|
823
|
+
return result.map((item) => {
|
|
824
|
+
return winRMListenerSerializer(item);
|
|
825
|
+
});
|
|
826
|
+
}
|
|
827
|
+
export function winRMListenerArrayDeserializer(result) {
|
|
828
|
+
return result.map((item) => {
|
|
829
|
+
return winRMListenerDeserializer(item);
|
|
830
|
+
});
|
|
831
|
+
}
|
|
734
832
|
export function winRMListenerSerializer(item) {
|
|
735
833
|
return { protocol: item["protocol"], certificateUrl: item["certificateUrl"] };
|
|
736
834
|
}
|
|
@@ -751,16 +849,6 @@ export var KnownProtocolTypes;
|
|
|
751
849
|
/** Https protocol */
|
|
752
850
|
KnownProtocolTypes["Https"] = "Https";
|
|
753
851
|
})(KnownProtocolTypes || (KnownProtocolTypes = {}));
|
|
754
|
-
export function winRMListenerArraySerializer(result) {
|
|
755
|
-
return result.map((item) => {
|
|
756
|
-
return winRMListenerSerializer(item);
|
|
757
|
-
});
|
|
758
|
-
}
|
|
759
|
-
export function winRMListenerArrayDeserializer(result) {
|
|
760
|
-
return result.map((item) => {
|
|
761
|
-
return winRMListenerDeserializer(item);
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
852
|
export function linuxConfigurationSerializer(item) {
|
|
765
853
|
return {
|
|
766
854
|
disablePasswordAuthentication: item["disablePasswordAuthentication"],
|
|
@@ -797,15 +885,6 @@ export function sshConfigurationDeserializer(item) {
|
|
|
797
885
|
: sshPublicKeyArrayDeserializer(item["publicKeys"]),
|
|
798
886
|
};
|
|
799
887
|
}
|
|
800
|
-
export function sshPublicKeySerializer(item) {
|
|
801
|
-
return { path: item["path"], keyData: item["keyData"] };
|
|
802
|
-
}
|
|
803
|
-
export function sshPublicKeyDeserializer(item) {
|
|
804
|
-
return {
|
|
805
|
-
path: item["path"],
|
|
806
|
-
keyData: item["keyData"],
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
888
|
export function sshPublicKeyArraySerializer(result) {
|
|
810
889
|
return result.map((item) => {
|
|
811
890
|
return sshPublicKeySerializer(item);
|
|
@@ -816,6 +895,15 @@ export function sshPublicKeyArrayDeserializer(result) {
|
|
|
816
895
|
return sshPublicKeyDeserializer(item);
|
|
817
896
|
});
|
|
818
897
|
}
|
|
898
|
+
export function sshPublicKeySerializer(item) {
|
|
899
|
+
return { path: item["path"], keyData: item["keyData"] };
|
|
900
|
+
}
|
|
901
|
+
export function sshPublicKeyDeserializer(item) {
|
|
902
|
+
return {
|
|
903
|
+
path: item["path"],
|
|
904
|
+
keyData: item["keyData"],
|
|
905
|
+
};
|
|
906
|
+
}
|
|
819
907
|
export function linuxPatchSettingsSerializer(item) {
|
|
820
908
|
return {
|
|
821
909
|
patchMode: item["patchMode"],
|
|
@@ -887,6 +975,16 @@ export var KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting;
|
|
|
887
975
|
/** Always Reboot setting */
|
|
888
976
|
KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting["Always"] = "Always";
|
|
889
977
|
})(KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting || (KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting = {}));
|
|
978
|
+
export function vaultSecretGroupArraySerializer(result) {
|
|
979
|
+
return result.map((item) => {
|
|
980
|
+
return vaultSecretGroupSerializer(item);
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
export function vaultSecretGroupArrayDeserializer(result) {
|
|
984
|
+
return result.map((item) => {
|
|
985
|
+
return vaultSecretGroupDeserializer(item);
|
|
986
|
+
});
|
|
987
|
+
}
|
|
890
988
|
export function vaultSecretGroupSerializer(item) {
|
|
891
989
|
return {
|
|
892
990
|
sourceVault: !item["sourceVault"]
|
|
@@ -915,18 +1013,6 @@ export function subResourceDeserializer(item) {
|
|
|
915
1013
|
id: item["id"],
|
|
916
1014
|
};
|
|
917
1015
|
}
|
|
918
|
-
export function vaultCertificateSerializer(item) {
|
|
919
|
-
return {
|
|
920
|
-
certificateUrl: item["certificateUrl"],
|
|
921
|
-
certificateStore: item["certificateStore"],
|
|
922
|
-
};
|
|
923
|
-
}
|
|
924
|
-
export function vaultCertificateDeserializer(item) {
|
|
925
|
-
return {
|
|
926
|
-
certificateUrl: item["certificateUrl"],
|
|
927
|
-
certificateStore: item["certificateStore"],
|
|
928
|
-
};
|
|
929
|
-
}
|
|
930
1016
|
export function vaultCertificateArraySerializer(result) {
|
|
931
1017
|
return result.map((item) => {
|
|
932
1018
|
return vaultCertificateSerializer(item);
|
|
@@ -937,15 +1023,17 @@ export function vaultCertificateArrayDeserializer(result) {
|
|
|
937
1023
|
return vaultCertificateDeserializer(item);
|
|
938
1024
|
});
|
|
939
1025
|
}
|
|
940
|
-
export function
|
|
941
|
-
return
|
|
942
|
-
|
|
943
|
-
|
|
1026
|
+
export function vaultCertificateSerializer(item) {
|
|
1027
|
+
return {
|
|
1028
|
+
certificateUrl: item["certificateUrl"],
|
|
1029
|
+
certificateStore: item["certificateStore"],
|
|
1030
|
+
};
|
|
944
1031
|
}
|
|
945
|
-
export function
|
|
946
|
-
return
|
|
947
|
-
|
|
948
|
-
|
|
1032
|
+
export function vaultCertificateDeserializer(item) {
|
|
1033
|
+
return {
|
|
1034
|
+
certificateUrl: item["certificateUrl"],
|
|
1035
|
+
certificateStore: item["certificateStore"],
|
|
1036
|
+
};
|
|
949
1037
|
}
|
|
950
1038
|
export function virtualMachineScaleSetStorageProfileSerializer(item) {
|
|
951
1039
|
return {
|
|
@@ -1094,9 +1182,9 @@ export var KnownDiffDiskOptions;
|
|
|
1094
1182
|
* resource disk space for Ephemeral OS disk provisioning. For more information on
|
|
1095
1183
|
* Ephemeral OS disk size requirements, please refer Ephemeral OS disk size
|
|
1096
1184
|
* requirements for Windows VM at
|
|
1097
|
-
* https://
|
|
1185
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements
|
|
1098
1186
|
* and Linux VM at
|
|
1099
|
-
* https://
|
|
1187
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements
|
|
1100
1188
|
* Minimum api-version for NvmeDisk: 2024-03-01.
|
|
1101
1189
|
*/
|
|
1102
1190
|
export var KnownDiffDiskPlacement;
|
|
@@ -1136,7 +1224,7 @@ export function virtualMachineScaleSetManagedDiskParametersSerializer(item) {
|
|
|
1136
1224
|
: diskEncryptionSetParametersSerializer(item["diskEncryptionSet"]),
|
|
1137
1225
|
securityProfile: !item["securityProfile"]
|
|
1138
1226
|
? item["securityProfile"]
|
|
1139
|
-
:
|
|
1227
|
+
: vmDiskSecurityProfileSerializer(item["securityProfile"]),
|
|
1140
1228
|
};
|
|
1141
1229
|
}
|
|
1142
1230
|
export function virtualMachineScaleSetManagedDiskParametersDeserializer(item) {
|
|
@@ -1147,7 +1235,7 @@ export function virtualMachineScaleSetManagedDiskParametersDeserializer(item) {
|
|
|
1147
1235
|
: diskEncryptionSetParametersDeserializer(item["diskEncryptionSet"]),
|
|
1148
1236
|
securityProfile: !item["securityProfile"]
|
|
1149
1237
|
? item["securityProfile"]
|
|
1150
|
-
:
|
|
1238
|
+
: vmDiskSecurityProfileDeserializer(item["securityProfile"]),
|
|
1151
1239
|
};
|
|
1152
1240
|
}
|
|
1153
1241
|
/**
|
|
@@ -1159,9 +1247,9 @@ export function virtualMachineScaleSetManagedDiskParametersDeserializer(item) {
|
|
|
1159
1247
|
* zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant
|
|
1160
1248
|
* storage. For more information regarding disks supported for Windows Virtual
|
|
1161
1249
|
* Machines, refer to
|
|
1162
|
-
* https://
|
|
1250
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/disks-types and, for
|
|
1163
1251
|
* Linux Virtual Machines, refer to
|
|
1164
|
-
* https://
|
|
1252
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/disks-types
|
|
1165
1253
|
*/
|
|
1166
1254
|
export var KnownStorageAccountTypes;
|
|
1167
1255
|
(function (KnownStorageAccountTypes) {
|
|
@@ -1188,7 +1276,7 @@ export function diskEncryptionSetParametersDeserializer(item) {
|
|
|
1188
1276
|
id: item["id"],
|
|
1189
1277
|
};
|
|
1190
1278
|
}
|
|
1191
|
-
export function
|
|
1279
|
+
export function vmDiskSecurityProfileSerializer(item) {
|
|
1192
1280
|
return {
|
|
1193
1281
|
securityEncryptionType: item["securityEncryptionType"],
|
|
1194
1282
|
diskEncryptionSet: !item["diskEncryptionSet"]
|
|
@@ -1196,7 +1284,7 @@ export function vMDiskSecurityProfileSerializer(item) {
|
|
|
1196
1284
|
: diskEncryptionSetParametersSerializer(item["diskEncryptionSet"]),
|
|
1197
1285
|
};
|
|
1198
1286
|
}
|
|
1199
|
-
export function
|
|
1287
|
+
export function vmDiskSecurityProfileDeserializer(item) {
|
|
1200
1288
|
return {
|
|
1201
1289
|
securityEncryptionType: item["securityEncryptionType"],
|
|
1202
1290
|
diskEncryptionSet: !item["diskEncryptionSet"]
|
|
@@ -1240,6 +1328,16 @@ export var KnownDiskDeleteOptionTypes;
|
|
|
1240
1328
|
/** If this value is used, the managed disk is retained after VM gets deleted. */
|
|
1241
1329
|
KnownDiskDeleteOptionTypes["Detach"] = "Detach";
|
|
1242
1330
|
})(KnownDiskDeleteOptionTypes || (KnownDiskDeleteOptionTypes = {}));
|
|
1331
|
+
export function virtualMachineScaleSetDataDiskArraySerializer(result) {
|
|
1332
|
+
return result.map((item) => {
|
|
1333
|
+
return virtualMachineScaleSetDataDiskSerializer(item);
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
export function virtualMachineScaleSetDataDiskArrayDeserializer(result) {
|
|
1337
|
+
return result.map((item) => {
|
|
1338
|
+
return virtualMachineScaleSetDataDiskDeserializer(item);
|
|
1339
|
+
});
|
|
1340
|
+
}
|
|
1243
1341
|
export function virtualMachineScaleSetDataDiskSerializer(item) {
|
|
1244
1342
|
return {
|
|
1245
1343
|
name: item["name"],
|
|
@@ -1251,7 +1349,7 @@ export function virtualMachineScaleSetDataDiskSerializer(item) {
|
|
|
1251
1349
|
managedDisk: !item["managedDisk"]
|
|
1252
1350
|
? item["managedDisk"]
|
|
1253
1351
|
: virtualMachineScaleSetManagedDiskParametersSerializer(item["managedDisk"]),
|
|
1254
|
-
diskIOPSReadWrite: item["
|
|
1352
|
+
diskIOPSReadWrite: item["diskIopsReadWrite"],
|
|
1255
1353
|
diskMBpsReadWrite: item["diskMBpsReadWrite"],
|
|
1256
1354
|
deleteOption: item["deleteOption"],
|
|
1257
1355
|
};
|
|
@@ -1267,36 +1365,26 @@ export function virtualMachineScaleSetDataDiskDeserializer(item) {
|
|
|
1267
1365
|
managedDisk: !item["managedDisk"]
|
|
1268
1366
|
? item["managedDisk"]
|
|
1269
1367
|
: virtualMachineScaleSetManagedDiskParametersDeserializer(item["managedDisk"]),
|
|
1270
|
-
|
|
1368
|
+
diskIopsReadWrite: item["diskIOPSReadWrite"],
|
|
1271
1369
|
diskMBpsReadWrite: item["diskMBpsReadWrite"],
|
|
1272
1370
|
deleteOption: item["deleteOption"],
|
|
1273
1371
|
};
|
|
1274
1372
|
}
|
|
1275
|
-
export function virtualMachineScaleSetDataDiskArraySerializer(result) {
|
|
1276
|
-
return result.map((item) => {
|
|
1277
|
-
return virtualMachineScaleSetDataDiskSerializer(item);
|
|
1278
|
-
});
|
|
1279
|
-
}
|
|
1280
|
-
export function virtualMachineScaleSetDataDiskArrayDeserializer(result) {
|
|
1281
|
-
return result.map((item) => {
|
|
1282
|
-
return virtualMachineScaleSetDataDiskDeserializer(item);
|
|
1283
|
-
});
|
|
1284
|
-
}
|
|
1285
1373
|
/**
|
|
1286
1374
|
* Specifies the disk controller type configured for the VM and
|
|
1287
1375
|
* VirtualMachineScaleSet. This property is only supported for virtual machines
|
|
1288
1376
|
* whose operating system disk and VM sku supports Generation 2
|
|
1289
|
-
* (https://
|
|
1377
|
+
* (https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2), please
|
|
1290
1378
|
* check the HyperVGenerations capability returned as part of VM sku capabilities
|
|
1291
1379
|
* in the response of Microsoft.Compute SKUs api for the region contains V2
|
|
1292
|
-
* (https://
|
|
1380
|
+
* (https://learn.microsoft.com/rest/api/compute/resourceskus/list). For more
|
|
1293
1381
|
* information about Disk Controller Types supported please refer to
|
|
1294
1382
|
* https://aka.ms/azure-diskcontrollertypes.
|
|
1295
1383
|
*/
|
|
1296
1384
|
export var KnownDiskControllerTypes;
|
|
1297
1385
|
(function (KnownDiskControllerTypes) {
|
|
1298
1386
|
/** SCSI disk type */
|
|
1299
|
-
KnownDiskControllerTypes["
|
|
1387
|
+
KnownDiskControllerTypes["Scsi"] = "SCSI";
|
|
1300
1388
|
/** NVMe disk type */
|
|
1301
1389
|
KnownDiskControllerTypes["NVMe"] = "NVMe";
|
|
1302
1390
|
})(KnownDiskControllerTypes || (KnownDiskControllerTypes = {}));
|
|
@@ -1330,6 +1418,16 @@ export function apiEntityReferenceDeserializer(item) {
|
|
|
1330
1418
|
id: item["id"],
|
|
1331
1419
|
};
|
|
1332
1420
|
}
|
|
1421
|
+
export function virtualMachineScaleSetNetworkConfigurationArraySerializer(result) {
|
|
1422
|
+
return result.map((item) => {
|
|
1423
|
+
return virtualMachineScaleSetNetworkConfigurationSerializer(item);
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
export function virtualMachineScaleSetNetworkConfigurationArrayDeserializer(result) {
|
|
1427
|
+
return result.map((item) => {
|
|
1428
|
+
return virtualMachineScaleSetNetworkConfigurationDeserializer(item);
|
|
1429
|
+
});
|
|
1430
|
+
}
|
|
1333
1431
|
export function virtualMachineScaleSetNetworkConfigurationSerializer(item) {
|
|
1334
1432
|
return {
|
|
1335
1433
|
name: item["name"],
|
|
@@ -1402,6 +1500,16 @@ export function virtualMachineScaleSetNetworkConfigurationDnsSettingsDeserialize
|
|
|
1402
1500
|
}),
|
|
1403
1501
|
};
|
|
1404
1502
|
}
|
|
1503
|
+
export function virtualMachineScaleSetIPConfigurationArraySerializer(result) {
|
|
1504
|
+
return result.map((item) => {
|
|
1505
|
+
return virtualMachineScaleSetIPConfigurationSerializer(item);
|
|
1506
|
+
});
|
|
1507
|
+
}
|
|
1508
|
+
export function virtualMachineScaleSetIPConfigurationArrayDeserializer(result) {
|
|
1509
|
+
return result.map((item) => {
|
|
1510
|
+
return virtualMachineScaleSetIPConfigurationDeserializer(item);
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1405
1513
|
export function virtualMachineScaleSetIPConfigurationSerializer(item) {
|
|
1406
1514
|
return {
|
|
1407
1515
|
name: item["name"],
|
|
@@ -1541,15 +1649,6 @@ export var KnownDomainNameLabelScopeTypes;
|
|
|
1541
1649
|
/** NoReuse type */
|
|
1542
1650
|
KnownDomainNameLabelScopeTypes["NoReuse"] = "NoReuse";
|
|
1543
1651
|
})(KnownDomainNameLabelScopeTypes || (KnownDomainNameLabelScopeTypes = {}));
|
|
1544
|
-
export function virtualMachineScaleSetIpTagSerializer(item) {
|
|
1545
|
-
return { ipTagType: item["ipTagType"], tag: item["tag"] };
|
|
1546
|
-
}
|
|
1547
|
-
export function virtualMachineScaleSetIpTagDeserializer(item) {
|
|
1548
|
-
return {
|
|
1549
|
-
ipTagType: item["ipTagType"],
|
|
1550
|
-
tag: item["tag"],
|
|
1551
|
-
};
|
|
1552
|
-
}
|
|
1553
1652
|
export function virtualMachineScaleSetIpTagArraySerializer(result) {
|
|
1554
1653
|
return result.map((item) => {
|
|
1555
1654
|
return virtualMachineScaleSetIpTagSerializer(item);
|
|
@@ -1560,6 +1659,15 @@ export function virtualMachineScaleSetIpTagArrayDeserializer(result) {
|
|
|
1560
1659
|
return virtualMachineScaleSetIpTagDeserializer(item);
|
|
1561
1660
|
});
|
|
1562
1661
|
}
|
|
1662
|
+
export function virtualMachineScaleSetIpTagSerializer(item) {
|
|
1663
|
+
return { ipTagType: item["ipTagType"], tag: item["tag"] };
|
|
1664
|
+
}
|
|
1665
|
+
export function virtualMachineScaleSetIpTagDeserializer(item) {
|
|
1666
|
+
return {
|
|
1667
|
+
ipTagType: item["ipTagType"],
|
|
1668
|
+
tag: item["tag"],
|
|
1669
|
+
};
|
|
1670
|
+
}
|
|
1563
1671
|
/**
|
|
1564
1672
|
* Available from Api-Version 2017-03-30 onwards, it represents whether the
|
|
1565
1673
|
* specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
|
|
@@ -1615,16 +1723,6 @@ export function subResourceArrayDeserializer(result) {
|
|
|
1615
1723
|
return subResourceDeserializer(item);
|
|
1616
1724
|
});
|
|
1617
1725
|
}
|
|
1618
|
-
export function virtualMachineScaleSetIPConfigurationArraySerializer(result) {
|
|
1619
|
-
return result.map((item) => {
|
|
1620
|
-
return virtualMachineScaleSetIPConfigurationSerializer(item);
|
|
1621
|
-
});
|
|
1622
|
-
}
|
|
1623
|
-
export function virtualMachineScaleSetIPConfigurationArrayDeserializer(result) {
|
|
1624
|
-
return result.map((item) => {
|
|
1625
|
-
return virtualMachineScaleSetIPConfigurationDeserializer(item);
|
|
1626
|
-
});
|
|
1627
|
-
}
|
|
1628
1726
|
/**
|
|
1629
1727
|
* Specifies whether the Auxiliary mode is enabled for the Network Interface
|
|
1630
1728
|
* resource.
|
|
@@ -1655,16 +1753,6 @@ export var KnownNetworkInterfaceAuxiliarySku;
|
|
|
1655
1753
|
/** A8 sku */
|
|
1656
1754
|
KnownNetworkInterfaceAuxiliarySku["A8"] = "A8";
|
|
1657
1755
|
})(KnownNetworkInterfaceAuxiliarySku || (KnownNetworkInterfaceAuxiliarySku = {}));
|
|
1658
|
-
export function virtualMachineScaleSetNetworkConfigurationArraySerializer(result) {
|
|
1659
|
-
return result.map((item) => {
|
|
1660
|
-
return virtualMachineScaleSetNetworkConfigurationSerializer(item);
|
|
1661
|
-
});
|
|
1662
|
-
}
|
|
1663
|
-
export function virtualMachineScaleSetNetworkConfigurationArrayDeserializer(result) {
|
|
1664
|
-
return result.map((item) => {
|
|
1665
|
-
return virtualMachineScaleSetNetworkConfigurationDeserializer(item);
|
|
1666
|
-
});
|
|
1667
|
-
}
|
|
1668
1756
|
/**
|
|
1669
1757
|
* specifies the Microsoft.Network API version used when creating networking
|
|
1670
1758
|
* resources in the Network Interface Configurations for Virtual Machine Scale Set
|
|
@@ -1805,6 +1893,16 @@ export function virtualMachineScaleSetExtensionProfileDeserializer(item) {
|
|
|
1805
1893
|
extensionsTimeBudget: item["extensionsTimeBudget"],
|
|
1806
1894
|
};
|
|
1807
1895
|
}
|
|
1896
|
+
export function virtualMachineScaleSetExtensionArraySerializer(result) {
|
|
1897
|
+
return result.map((item) => {
|
|
1898
|
+
return virtualMachineScaleSetExtensionSerializer(item);
|
|
1899
|
+
});
|
|
1900
|
+
}
|
|
1901
|
+
export function virtualMachineScaleSetExtensionArrayDeserializer(result) {
|
|
1902
|
+
return result.map((item) => {
|
|
1903
|
+
return virtualMachineScaleSetExtensionDeserializer(item);
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1808
1906
|
export function virtualMachineScaleSetExtensionSerializer(item) {
|
|
1809
1907
|
return {
|
|
1810
1908
|
name: item["name"],
|
|
@@ -1878,16 +1976,6 @@ export function keyVaultSecretReferenceDeserializer(item) {
|
|
|
1878
1976
|
sourceVault: subResourceDeserializer(item["sourceVault"]),
|
|
1879
1977
|
};
|
|
1880
1978
|
}
|
|
1881
|
-
export function virtualMachineScaleSetExtensionArraySerializer(result) {
|
|
1882
|
-
return result.map((item) => {
|
|
1883
|
-
return virtualMachineScaleSetExtensionSerializer(item);
|
|
1884
|
-
});
|
|
1885
|
-
}
|
|
1886
|
-
export function virtualMachineScaleSetExtensionArrayDeserializer(result) {
|
|
1887
|
-
return result.map((item) => {
|
|
1888
|
-
return virtualMachineScaleSetExtensionDeserializer(item);
|
|
1889
|
-
});
|
|
1890
|
-
}
|
|
1891
1979
|
export function scheduledEventsProfileSerializer(item) {
|
|
1892
1980
|
return {
|
|
1893
1981
|
terminateNotificationProfile: !item["terminateNotificationProfile"]
|
|
@@ -1895,7 +1983,7 @@ export function scheduledEventsProfileSerializer(item) {
|
|
|
1895
1983
|
: terminateNotificationProfileSerializer(item["terminateNotificationProfile"]),
|
|
1896
1984
|
osImageNotificationProfile: !item["osImageNotificationProfile"]
|
|
1897
1985
|
? item["osImageNotificationProfile"]
|
|
1898
|
-
:
|
|
1986
|
+
: osImageNotificationProfileSerializer(item["osImageNotificationProfile"]),
|
|
1899
1987
|
};
|
|
1900
1988
|
}
|
|
1901
1989
|
export function scheduledEventsProfileDeserializer(item) {
|
|
@@ -1905,7 +1993,7 @@ export function scheduledEventsProfileDeserializer(item) {
|
|
|
1905
1993
|
: terminateNotificationProfileDeserializer(item["terminateNotificationProfile"]),
|
|
1906
1994
|
osImageNotificationProfile: !item["osImageNotificationProfile"]
|
|
1907
1995
|
? item["osImageNotificationProfile"]
|
|
1908
|
-
:
|
|
1996
|
+
: osImageNotificationProfileDeserializer(item["osImageNotificationProfile"]),
|
|
1909
1997
|
};
|
|
1910
1998
|
}
|
|
1911
1999
|
export function terminateNotificationProfileSerializer(item) {
|
|
@@ -1917,10 +2005,10 @@ export function terminateNotificationProfileDeserializer(item) {
|
|
|
1917
2005
|
enable: item["enable"],
|
|
1918
2006
|
};
|
|
1919
2007
|
}
|
|
1920
|
-
export function
|
|
2008
|
+
export function osImageNotificationProfileSerializer(item) {
|
|
1921
2009
|
return { notBeforeTimeout: item["notBeforeTimeout"], enable: item["enable"] };
|
|
1922
2010
|
}
|
|
1923
|
-
export function
|
|
2011
|
+
export function osImageNotificationProfileDeserializer(item) {
|
|
1924
2012
|
return {
|
|
1925
2013
|
notBeforeTimeout: item["notBeforeTimeout"],
|
|
1926
2014
|
enable: item["enable"],
|
|
@@ -1944,17 +2032,27 @@ export function applicationProfileSerializer(item) {
|
|
|
1944
2032
|
return {
|
|
1945
2033
|
galleryApplications: !item["galleryApplications"]
|
|
1946
2034
|
? item["galleryApplications"]
|
|
1947
|
-
:
|
|
2035
|
+
: vmGalleryApplicationArraySerializer(item["galleryApplications"]),
|
|
1948
2036
|
};
|
|
1949
2037
|
}
|
|
1950
2038
|
export function applicationProfileDeserializer(item) {
|
|
1951
2039
|
return {
|
|
1952
2040
|
galleryApplications: !item["galleryApplications"]
|
|
1953
2041
|
? item["galleryApplications"]
|
|
1954
|
-
:
|
|
2042
|
+
: vmGalleryApplicationArrayDeserializer(item["galleryApplications"]),
|
|
1955
2043
|
};
|
|
1956
2044
|
}
|
|
1957
|
-
export function
|
|
2045
|
+
export function vmGalleryApplicationArraySerializer(result) {
|
|
2046
|
+
return result.map((item) => {
|
|
2047
|
+
return vmGalleryApplicationSerializer(item);
|
|
2048
|
+
});
|
|
2049
|
+
}
|
|
2050
|
+
export function vmGalleryApplicationArrayDeserializer(result) {
|
|
2051
|
+
return result.map((item) => {
|
|
2052
|
+
return vmGalleryApplicationDeserializer(item);
|
|
2053
|
+
});
|
|
2054
|
+
}
|
|
2055
|
+
export function vmGalleryApplicationSerializer(item) {
|
|
1958
2056
|
return {
|
|
1959
2057
|
tags: item["tags"],
|
|
1960
2058
|
order: item["order"],
|
|
@@ -1964,7 +2062,7 @@ export function vMGalleryApplicationSerializer(item) {
|
|
|
1964
2062
|
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
1965
2063
|
};
|
|
1966
2064
|
}
|
|
1967
|
-
export function
|
|
2065
|
+
export function vmGalleryApplicationDeserializer(item) {
|
|
1968
2066
|
return {
|
|
1969
2067
|
tags: item["tags"],
|
|
1970
2068
|
order: item["order"],
|
|
@@ -1974,37 +2072,27 @@ export function vMGalleryApplicationDeserializer(item) {
|
|
|
1974
2072
|
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
1975
2073
|
};
|
|
1976
2074
|
}
|
|
1977
|
-
export function vMGalleryApplicationArraySerializer(result) {
|
|
1978
|
-
return result.map((item) => {
|
|
1979
|
-
return vMGalleryApplicationSerializer(item);
|
|
1980
|
-
});
|
|
1981
|
-
}
|
|
1982
|
-
export function vMGalleryApplicationArrayDeserializer(result) {
|
|
1983
|
-
return result.map((item) => {
|
|
1984
|
-
return vMGalleryApplicationDeserializer(item);
|
|
1985
|
-
});
|
|
1986
|
-
}
|
|
1987
2075
|
export function virtualMachineScaleSetHardwareProfileSerializer(item) {
|
|
1988
2076
|
return {
|
|
1989
2077
|
vmSizeProperties: !item["vmSizeProperties"]
|
|
1990
2078
|
? item["vmSizeProperties"]
|
|
1991
|
-
:
|
|
2079
|
+
: vmSizePropertiesSerializer(item["vmSizeProperties"]),
|
|
1992
2080
|
};
|
|
1993
2081
|
}
|
|
1994
2082
|
export function virtualMachineScaleSetHardwareProfileDeserializer(item) {
|
|
1995
2083
|
return {
|
|
1996
2084
|
vmSizeProperties: !item["vmSizeProperties"]
|
|
1997
2085
|
? item["vmSizeProperties"]
|
|
1998
|
-
:
|
|
2086
|
+
: vmSizePropertiesDeserializer(item["vmSizeProperties"]),
|
|
1999
2087
|
};
|
|
2000
2088
|
}
|
|
2001
|
-
export function
|
|
2089
|
+
export function vmSizePropertiesSerializer(item) {
|
|
2002
2090
|
return {
|
|
2003
2091
|
vCPUsAvailable: item["vCPUsAvailable"],
|
|
2004
2092
|
vCPUsPerCore: item["vCPUsPerCore"],
|
|
2005
2093
|
};
|
|
2006
2094
|
}
|
|
2007
|
-
export function
|
|
2095
|
+
export function vmSizePropertiesDeserializer(item) {
|
|
2008
2096
|
return {
|
|
2009
2097
|
vCPUsAvailable: item["vCPUsAvailable"],
|
|
2010
2098
|
vCPUsPerCore: item["vCPUsPerCore"],
|
|
@@ -2040,16 +2128,6 @@ export function securityPostureReferenceDeserializer(item) {
|
|
|
2040
2128
|
isOverridable: item["isOverridable"],
|
|
2041
2129
|
};
|
|
2042
2130
|
}
|
|
2043
|
-
export function locationProfileArraySerializer(result) {
|
|
2044
|
-
return result.map((item) => {
|
|
2045
|
-
return locationProfileSerializer(item);
|
|
2046
|
-
});
|
|
2047
|
-
}
|
|
2048
|
-
export function locationProfileArrayDeserializer(result) {
|
|
2049
|
-
return result.map((item) => {
|
|
2050
|
-
return locationProfileDeserializer(item);
|
|
2051
|
-
});
|
|
2052
|
-
}
|
|
2053
2131
|
export function computeProfileSerializer(item) {
|
|
2054
2132
|
return {
|
|
2055
2133
|
baseVirtualMachineProfile: baseVirtualMachineProfileSerializer(item["baseVirtualMachineProfile"]),
|
|
@@ -2082,6 +2160,74 @@ export function additionalCapabilitiesDeserializer(item) {
|
|
|
2082
2160
|
hibernationEnabled: item["hibernationEnabled"],
|
|
2083
2161
|
};
|
|
2084
2162
|
}
|
|
2163
|
+
/** Modes for Compute Fleet. */
|
|
2164
|
+
export var KnownFleetMode;
|
|
2165
|
+
(function (KnownFleetMode) {
|
|
2166
|
+
/** Default. Managed is the default mode for Compute Fleet where VMs are provisioned via VMSS. */
|
|
2167
|
+
KnownFleetMode["Managed"] = "Managed";
|
|
2168
|
+
/** Instance mode for Compute Fleet will directly provision VM instances. */
|
|
2169
|
+
KnownFleetMode["Instance"] = "Instance";
|
|
2170
|
+
})(KnownFleetMode || (KnownFleetMode = {}));
|
|
2171
|
+
/** Capacity types for Compute Fleet. */
|
|
2172
|
+
export var KnownCapacityType;
|
|
2173
|
+
(function (KnownCapacityType) {
|
|
2174
|
+
/** Default. VM is the default capacity type for Compute Fleet where Fleet capacity is provisioned in terms of VMs. */
|
|
2175
|
+
KnownCapacityType["VM"] = "VM";
|
|
2176
|
+
/**
|
|
2177
|
+
* VCpu is the capacity type for Compute Fleet where Fleet capacity is provisioned in terms of VCpus.
|
|
2178
|
+
* If VCpu capacity is not exactly divisible by VCpu count in VMSizes, Fleet capacity in VCpus will be overprovisioned by default.
|
|
2179
|
+
*/
|
|
2180
|
+
KnownCapacityType["VCpu"] = "VCpu";
|
|
2181
|
+
})(KnownCapacityType || (KnownCapacityType = {}));
|
|
2182
|
+
export function zoneAllocationPolicySerializer(item) {
|
|
2183
|
+
return {
|
|
2184
|
+
distributionStrategy: item["distributionStrategy"],
|
|
2185
|
+
zonePreferences: !item["zonePreferences"]
|
|
2186
|
+
? item["zonePreferences"]
|
|
2187
|
+
: zonePreferenceArraySerializer(item["zonePreferences"]),
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
export function zoneAllocationPolicyDeserializer(item) {
|
|
2191
|
+
return {
|
|
2192
|
+
distributionStrategy: item["distributionStrategy"],
|
|
2193
|
+
zonePreferences: !item["zonePreferences"]
|
|
2194
|
+
? item["zonePreferences"]
|
|
2195
|
+
: zonePreferenceArrayDeserializer(item["zonePreferences"]),
|
|
2196
|
+
};
|
|
2197
|
+
}
|
|
2198
|
+
/** Distribution strategies for Compute Fleet zone allocation policy. */
|
|
2199
|
+
export var KnownZoneDistributionStrategy;
|
|
2200
|
+
(function (KnownZoneDistributionStrategy) {
|
|
2201
|
+
/**
|
|
2202
|
+
* Default. Compute Fleet allocates all Fleet capacity within a single zone based on best effort.
|
|
2203
|
+
* If capacity is not available, Compute Fleet can allocate capacity in different zones.
|
|
2204
|
+
*/
|
|
2205
|
+
KnownZoneDistributionStrategy["BestEffortSingleZone"] = "BestEffortSingleZone";
|
|
2206
|
+
/**
|
|
2207
|
+
* Compute Fleet allocates capacity based on zone preferences.
|
|
2208
|
+
* Higher priority zones are filled first before allocating to lower priority zones.
|
|
2209
|
+
*/
|
|
2210
|
+
KnownZoneDistributionStrategy["Prioritized"] = "Prioritized";
|
|
2211
|
+
})(KnownZoneDistributionStrategy || (KnownZoneDistributionStrategy = {}));
|
|
2212
|
+
export function zonePreferenceArraySerializer(result) {
|
|
2213
|
+
return result.map((item) => {
|
|
2214
|
+
return zonePreferenceSerializer(item);
|
|
2215
|
+
});
|
|
2216
|
+
}
|
|
2217
|
+
export function zonePreferenceArrayDeserializer(result) {
|
|
2218
|
+
return result.map((item) => {
|
|
2219
|
+
return zonePreferenceDeserializer(item);
|
|
2220
|
+
});
|
|
2221
|
+
}
|
|
2222
|
+
export function zonePreferenceSerializer(item) {
|
|
2223
|
+
return { zone: item["zone"], rank: item["rank"] };
|
|
2224
|
+
}
|
|
2225
|
+
export function zonePreferenceDeserializer(item) {
|
|
2226
|
+
return {
|
|
2227
|
+
zone: item["zone"],
|
|
2228
|
+
rank: item["rank"],
|
|
2229
|
+
};
|
|
2230
|
+
}
|
|
2085
2231
|
export function managedServiceIdentitySerializer(item) {
|
|
2086
2232
|
return {
|
|
2087
2233
|
type: item["type"],
|
|
@@ -2236,11 +2382,17 @@ export function _virtualMachineScaleSetListResultDeserializer(item) {
|
|
|
2236
2382
|
nextLink: item["nextLink"],
|
|
2237
2383
|
};
|
|
2238
2384
|
}
|
|
2385
|
+
export function virtualMachineScaleSetArrayDeserializer(result) {
|
|
2386
|
+
return result.map((item) => {
|
|
2387
|
+
return virtualMachineScaleSetDeserializer(item);
|
|
2388
|
+
});
|
|
2389
|
+
}
|
|
2239
2390
|
export function virtualMachineScaleSetDeserializer(item) {
|
|
2240
2391
|
return {
|
|
2392
|
+
name: item["name"],
|
|
2241
2393
|
id: item["id"],
|
|
2242
2394
|
type: item["type"],
|
|
2243
|
-
operationStatus:
|
|
2395
|
+
operationStatus: item["operationStatus"],
|
|
2244
2396
|
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
2245
2397
|
};
|
|
2246
2398
|
}
|
|
@@ -2255,6 +2407,11 @@ export function apiErrorDeserializer(item) {
|
|
|
2255
2407
|
: innerErrorDeserializer(item["innererror"]),
|
|
2256
2408
|
};
|
|
2257
2409
|
}
|
|
2410
|
+
export function apiErrorBaseArrayDeserializer(result) {
|
|
2411
|
+
return result.map((item) => {
|
|
2412
|
+
return apiErrorBaseDeserializer(item);
|
|
2413
|
+
});
|
|
2414
|
+
}
|
|
2258
2415
|
export function apiErrorBaseDeserializer(item) {
|
|
2259
2416
|
return {
|
|
2260
2417
|
code: item["code"],
|
|
@@ -2262,64 +2419,56 @@ export function apiErrorBaseDeserializer(item) {
|
|
|
2262
2419
|
message: item["message"],
|
|
2263
2420
|
};
|
|
2264
2421
|
}
|
|
2265
|
-
export function apiErrorBaseArrayDeserializer(result) {
|
|
2266
|
-
return result.map((item) => {
|
|
2267
|
-
return apiErrorBaseDeserializer(item);
|
|
2268
|
-
});
|
|
2269
|
-
}
|
|
2270
2422
|
export function innerErrorDeserializer(item) {
|
|
2271
2423
|
return {
|
|
2272
2424
|
exceptionType: item["exceptionType"],
|
|
2273
2425
|
errorDetail: item["errorDetail"],
|
|
2274
2426
|
};
|
|
2275
2427
|
}
|
|
2276
|
-
export function
|
|
2277
|
-
return result.map((item) => {
|
|
2278
|
-
return virtualMachineScaleSetDeserializer(item);
|
|
2279
|
-
});
|
|
2280
|
-
}
|
|
2281
|
-
export function _operationListResultDeserializer(item) {
|
|
2428
|
+
export function _virtualMachineListResultDeserializer(item) {
|
|
2282
2429
|
return {
|
|
2283
|
-
value:
|
|
2430
|
+
value: virtualMachineArrayDeserializer(item["value"]),
|
|
2284
2431
|
nextLink: item["nextLink"],
|
|
2285
2432
|
};
|
|
2286
2433
|
}
|
|
2287
|
-
export function
|
|
2288
|
-
return {
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
2292
|
-
origin: item["origin"],
|
|
2293
|
-
actionType: item["actionType"],
|
|
2294
|
-
};
|
|
2434
|
+
export function virtualMachineArrayDeserializer(result) {
|
|
2435
|
+
return result.map((item) => {
|
|
2436
|
+
return virtualMachineDeserializer(item);
|
|
2437
|
+
});
|
|
2295
2438
|
}
|
|
2296
|
-
export function
|
|
2439
|
+
export function virtualMachineDeserializer(item) {
|
|
2297
2440
|
return {
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2441
|
+
name: item["name"],
|
|
2442
|
+
id: item["id"],
|
|
2443
|
+
type: item["type"],
|
|
2444
|
+
operationStatus: item["operationStatus"],
|
|
2445
|
+
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
2302
2446
|
};
|
|
2303
2447
|
}
|
|
2304
|
-
/**
|
|
2305
|
-
export var
|
|
2306
|
-
(function (
|
|
2307
|
-
/** Indicates the
|
|
2308
|
-
|
|
2309
|
-
/** Indicates the
|
|
2310
|
-
|
|
2311
|
-
/** Indicates the
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2448
|
+
/** Virtual Machine operation status values. */
|
|
2449
|
+
export var KnownVMOperationStatus;
|
|
2450
|
+
(function (KnownVMOperationStatus) {
|
|
2451
|
+
/** Indicates that the virtual machine is either in the process of being created or is scheduled to be created. */
|
|
2452
|
+
KnownVMOperationStatus["Creating"] = "Creating";
|
|
2453
|
+
/** Indicates that the cancellation request was successful because the virtual machine had not been created yet. */
|
|
2454
|
+
KnownVMOperationStatus["Canceled"] = "Canceled";
|
|
2455
|
+
/** Indicates that the cancellation request could not be applied because the virtual machine had already been created. */
|
|
2456
|
+
KnownVMOperationStatus["CancelFailedStatusUnknown"] = "CancelFailedStatusUnknown";
|
|
2457
|
+
/** Indicates that the virtual machine operation failed. */
|
|
2458
|
+
KnownVMOperationStatus["Failed"] = "Failed";
|
|
2459
|
+
/** Indicates that the virtual machine operation completed successfully. */
|
|
2460
|
+
KnownVMOperationStatus["Succeeded"] = "Succeeded";
|
|
2461
|
+
})(KnownVMOperationStatus || (KnownVMOperationStatus = {}));
|
|
2462
|
+
/** Api versions */
|
|
2463
|
+
export var KnownVersions;
|
|
2464
|
+
(function (KnownVersions) {
|
|
2465
|
+
/** Private Preview Api version */
|
|
2466
|
+
KnownVersions["V20231101Preview"] = "2023-11-01-preview";
|
|
2467
|
+
/** Public Preview Api version */
|
|
2468
|
+
KnownVersions["V20240501Preview"] = "2024-05-01-preview";
|
|
2469
|
+
/** Public Api version */
|
|
2470
|
+
KnownVersions["V20241101"] = "2024-11-01";
|
|
2471
|
+
/** Private preview Api version. */
|
|
2472
|
+
KnownVersions["V20250701Preview"] = "2025-07-01-preview";
|
|
2473
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
2325
2474
|
//# sourceMappingURL=models.js.map
|