@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,3 +1,100 @@
|
|
|
1
|
+
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
2
|
+
export interface _OperationListResult {
|
|
3
|
+
/** The Operation items on this page */
|
|
4
|
+
value: Operation[];
|
|
5
|
+
/** The link to the next page of items */
|
|
6
|
+
nextLink?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function _operationListResultDeserializer(item: any): _OperationListResult;
|
|
9
|
+
export declare function operationArrayDeserializer(result: Array<Operation>): any[];
|
|
10
|
+
/** Details of a REST API operation, returned from the Resource Provider Operations API */
|
|
11
|
+
export interface Operation {
|
|
12
|
+
/** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */
|
|
13
|
+
readonly name?: string;
|
|
14
|
+
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
15
|
+
readonly isDataAction?: boolean;
|
|
16
|
+
/** Localized display information for this particular operation. */
|
|
17
|
+
display?: OperationDisplay;
|
|
18
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
19
|
+
readonly origin?: Origin;
|
|
20
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
21
|
+
readonly actionType?: ActionType;
|
|
22
|
+
}
|
|
23
|
+
export declare function operationDeserializer(item: any): Operation;
|
|
24
|
+
/** Localized display information for and operation. */
|
|
25
|
+
export interface OperationDisplay {
|
|
26
|
+
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
27
|
+
readonly provider?: string;
|
|
28
|
+
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
29
|
+
readonly resource?: string;
|
|
30
|
+
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
31
|
+
readonly operation?: string;
|
|
32
|
+
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
33
|
+
readonly description?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function operationDisplayDeserializer(item: any): OperationDisplay;
|
|
36
|
+
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
37
|
+
export declare enum KnownOrigin {
|
|
38
|
+
/** Indicates the operation is initiated by a user. */
|
|
39
|
+
User = "user",
|
|
40
|
+
/** Indicates the operation is initiated by a system. */
|
|
41
|
+
System = "system",
|
|
42
|
+
/** Indicates the operation is initiated by a user or system. */
|
|
43
|
+
UserSystem = "user,system"
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \
|
|
47
|
+
* {@link KnownOrigin} can be used interchangeably with Origin,
|
|
48
|
+
* this enum contains the known values that the service supports.
|
|
49
|
+
* ### Known values supported by the service
|
|
50
|
+
* **user**: Indicates the operation is initiated by a user. \
|
|
51
|
+
* **system**: Indicates the operation is initiated by a system. \
|
|
52
|
+
* **user,system**: Indicates the operation is initiated by a user or system.
|
|
53
|
+
*/
|
|
54
|
+
export type Origin = string;
|
|
55
|
+
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
56
|
+
export declare enum KnownActionType {
|
|
57
|
+
/** Actions are for internal-only APIs. */
|
|
58
|
+
Internal = "Internal"
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
|
|
62
|
+
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
63
|
+
* this enum contains the known values that the service supports.
|
|
64
|
+
* ### Known values supported by the service
|
|
65
|
+
* **Internal**: Actions are for internal-only APIs.
|
|
66
|
+
*/
|
|
67
|
+
export type ActionType = string;
|
|
68
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
69
|
+
export interface ErrorResponse {
|
|
70
|
+
/** The error object. */
|
|
71
|
+
error?: ErrorDetail;
|
|
72
|
+
}
|
|
73
|
+
export declare function errorResponseDeserializer(item: any): ErrorResponse;
|
|
74
|
+
/** The error detail. */
|
|
75
|
+
export interface ErrorDetail {
|
|
76
|
+
/** The error code. */
|
|
77
|
+
readonly code?: string;
|
|
78
|
+
/** The error message. */
|
|
79
|
+
readonly message?: string;
|
|
80
|
+
/** The error target. */
|
|
81
|
+
readonly target?: string;
|
|
82
|
+
/** The error details. */
|
|
83
|
+
readonly details?: ErrorDetail[];
|
|
84
|
+
/** The error additional info. */
|
|
85
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
86
|
+
}
|
|
87
|
+
export declare function errorDetailDeserializer(item: any): ErrorDetail;
|
|
88
|
+
export declare function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[];
|
|
89
|
+
export declare function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[];
|
|
90
|
+
/** The resource management error additional info. */
|
|
91
|
+
export interface ErrorAdditionalInfo {
|
|
92
|
+
/** The additional info type. */
|
|
93
|
+
readonly type?: string;
|
|
94
|
+
/** The additional info. */
|
|
95
|
+
readonly info?: any;
|
|
96
|
+
}
|
|
97
|
+
export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo;
|
|
1
98
|
/** An Compute Fleet resource */
|
|
2
99
|
export interface Fleet extends TrackedResource {
|
|
3
100
|
/** The resource-specific properties for this resource. */
|
|
@@ -31,42 +128,50 @@ export interface FleetProperties {
|
|
|
31
128
|
readonly timeCreated?: Date;
|
|
32
129
|
/** Specifies the ID which uniquely identifies a Compute Fleet. */
|
|
33
130
|
readonly uniqueId?: string;
|
|
131
|
+
/** Mode of the Fleet. */
|
|
132
|
+
mode?: FleetMode;
|
|
133
|
+
/**
|
|
134
|
+
* Specifies capacity type for Fleet Regular and Spot priority profiles.
|
|
135
|
+
* capacityType is an immutable property. Once set during Fleet creation, it cannot be updated.
|
|
136
|
+
* Specifying different capacity type for Fleet Regular and Spot priority profiles is not allowed.
|
|
137
|
+
*/
|
|
138
|
+
capacityType?: CapacityType;
|
|
139
|
+
/** Zone Allocation Policy for Fleet. */
|
|
140
|
+
zoneAllocationPolicy?: ZoneAllocationPolicy;
|
|
34
141
|
}
|
|
35
142
|
export declare function fleetPropertiesSerializer(item: FleetProperties): any;
|
|
36
143
|
export declare function fleetPropertiesDeserializer(item: any): FleetProperties;
|
|
37
|
-
/**
|
|
144
|
+
/** The status of the current operation. */
|
|
38
145
|
export declare enum KnownProvisioningState {
|
|
39
|
-
/**
|
|
146
|
+
/** Resource has been created. */
|
|
40
147
|
Succeeded = "Succeeded",
|
|
41
|
-
/**
|
|
148
|
+
/** Resource creation failed. */
|
|
42
149
|
Failed = "Failed",
|
|
43
|
-
/**
|
|
150
|
+
/** Resource creation was canceled. */
|
|
44
151
|
Canceled = "Canceled",
|
|
45
|
-
/**
|
|
152
|
+
/** Initial creation in progress. */
|
|
46
153
|
Creating = "Creating",
|
|
47
|
-
/**
|
|
154
|
+
/** Update in progress. */
|
|
48
155
|
Updating = "Updating",
|
|
49
|
-
/**
|
|
156
|
+
/** Deletion in progress. */
|
|
50
157
|
Deleting = "Deleting",
|
|
51
|
-
/**
|
|
158
|
+
/** Resource is being migrated from one subscription or resource group to another. */
|
|
52
159
|
Migrating = "Migrating"
|
|
53
160
|
}
|
|
54
161
|
/**
|
|
55
|
-
* The
|
|
56
|
-
* {@link KnownProvisioningState} can be used interchangeably with
|
|
162
|
+
* The status of the current operation. \
|
|
163
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
57
164
|
* this enum contains the known values that the service supports.
|
|
58
165
|
* ### Known values supported by the service
|
|
59
|
-
* **Succeeded
|
|
60
|
-
* **Failed
|
|
61
|
-
* **Canceled
|
|
62
|
-
* **Creating
|
|
63
|
-
* **Updating
|
|
64
|
-
* **Deleting
|
|
65
|
-
* **Migrating
|
|
166
|
+
* **Succeeded**: Resource has been created. \
|
|
167
|
+
* **Failed**: Resource creation failed. \
|
|
168
|
+
* **Canceled**: Resource creation was canceled. \
|
|
169
|
+
* **Creating**: Initial creation in progress. \
|
|
170
|
+
* **Updating**: Update in progress. \
|
|
171
|
+
* **Deleting**: Deletion in progress. \
|
|
172
|
+
* **Migrating**: Resource is being migrated from one subscription or resource group to another.
|
|
66
173
|
*/
|
|
67
174
|
export type ProvisioningState = string;
|
|
68
|
-
export declare function provisioningStateSerializer(item: ProvisioningState): any;
|
|
69
|
-
export declare function provisioningStateDeserializer(item: any): ProvisioningState;
|
|
70
175
|
/** Configuration Options for Spot instances in Compute Fleet. */
|
|
71
176
|
export interface SpotPriorityProfile {
|
|
72
177
|
/** Total capacity to achieve. It is currently in terms of number of VMs. */
|
|
@@ -151,6 +256,8 @@ export declare enum KnownRegularPriorityAllocationStrategy {
|
|
|
151
256
|
* **Prioritized**: VM sizes distribution will be determined to optimize for the 'priority' as specified for each vm size.
|
|
152
257
|
*/
|
|
153
258
|
export type RegularPriorityAllocationStrategy = string;
|
|
259
|
+
export declare function vmSizeProfileArraySerializer(result: Array<VmSizeProfile>): any[];
|
|
260
|
+
export declare function vmSizeProfileArrayDeserializer(result: Array<VmSizeProfile>): any[];
|
|
154
261
|
/** Specifications about a VM Size. This will also contain the corresponding rank and weight in future. */
|
|
155
262
|
export interface VmSizeProfile {
|
|
156
263
|
/** The Sku name (e.g. 'Standard_DS1_v2') */
|
|
@@ -163,8 +270,6 @@ export interface VmSizeProfile {
|
|
|
163
270
|
}
|
|
164
271
|
export declare function vmSizeProfileSerializer(item: VmSizeProfile): any;
|
|
165
272
|
export declare function vmSizeProfileDeserializer(item: any): VmSizeProfile;
|
|
166
|
-
export declare function vmSizeProfileArraySerializer(result: Array<VmSizeProfile>): any[];
|
|
167
|
-
export declare function vmSizeProfileArrayDeserializer(result: Array<VmSizeProfile>): any[];
|
|
168
273
|
/** VMAttributes that will be used to filter VMSizes which will be used to build Fleet. */
|
|
169
274
|
export interface VMAttributes {
|
|
170
275
|
/** The range of vCpuCount specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified. */
|
|
@@ -236,8 +341,8 @@ export interface VMAttributes {
|
|
|
236
341
|
/** Specifies which VMSizes should be excluded while building Fleet. Optional parameter. */
|
|
237
342
|
excludedVMSizes?: string[];
|
|
238
343
|
}
|
|
239
|
-
export declare function
|
|
240
|
-
export declare function
|
|
344
|
+
export declare function vmAttributesSerializer(item: VMAttributes): any;
|
|
345
|
+
export declare function vmAttributesDeserializer(item: any): VMAttributes;
|
|
241
346
|
/** While retrieving VMSizes from CRS, Min = 0 (uint.MinValue) if not specified, Max = 4294967295 (uint.MaxValue) if not specified. This allows to filter VMAttributes on all available VMSizes. */
|
|
242
347
|
export interface VMAttributeMinMaxInteger {
|
|
243
348
|
/** Min VMSize from CRS, Min = 0 (uint.MinValue) if not specified. */
|
|
@@ -245,8 +350,8 @@ export interface VMAttributeMinMaxInteger {
|
|
|
245
350
|
/** Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified. */
|
|
246
351
|
max?: number;
|
|
247
352
|
}
|
|
248
|
-
export declare function
|
|
249
|
-
export declare function
|
|
353
|
+
export declare function vmAttributeMinMaxIntegerSerializer(item: VMAttributeMinMaxInteger): any;
|
|
354
|
+
export declare function vmAttributeMinMaxIntegerDeserializer(item: any): VMAttributeMinMaxInteger;
|
|
250
355
|
/** VMAttributes using double values. */
|
|
251
356
|
export interface VMAttributeMinMaxDouble {
|
|
252
357
|
/** Minimum value. default 0. Double.MinValue() */
|
|
@@ -254,8 +359,8 @@ export interface VMAttributeMinMaxDouble {
|
|
|
254
359
|
/** Maximum value. Double.MaxValue(1.7976931348623157E+308) */
|
|
255
360
|
max?: number;
|
|
256
361
|
}
|
|
257
|
-
export declare function
|
|
258
|
-
export declare function
|
|
362
|
+
export declare function vmAttributeMinMaxDoubleSerializer(item: VMAttributeMinMaxDouble): any;
|
|
363
|
+
export declare function vmAttributeMinMaxDoubleDeserializer(item: any): VMAttributeMinMaxDouble;
|
|
259
364
|
/** VMSizes supported by Azure VMs. Included is a union of Excluded and Required. */
|
|
260
365
|
export declare enum KnownVMAttributeSupport {
|
|
261
366
|
/** All VMSizes having the feature support will be excluded. */
|
|
@@ -315,7 +420,7 @@ export declare enum KnownAcceleratorType {
|
|
|
315
420
|
/** GPU Accelerator */
|
|
316
421
|
GPU = "GPU",
|
|
317
422
|
/** FPGA Accelerator */
|
|
318
|
-
|
|
423
|
+
Fpga = "FPGA"
|
|
319
424
|
}
|
|
320
425
|
/**
|
|
321
426
|
* Accelerator types supported by Azure VMs. \
|
|
@@ -424,6 +529,8 @@ export interface AdditionalLocationsProfile {
|
|
|
424
529
|
}
|
|
425
530
|
export declare function additionalLocationsProfileSerializer(item: AdditionalLocationsProfile): any;
|
|
426
531
|
export declare function additionalLocationsProfileDeserializer(item: any): AdditionalLocationsProfile;
|
|
532
|
+
export declare function locationProfileArraySerializer(result: Array<LocationProfile>): any[];
|
|
533
|
+
export declare function locationProfileArrayDeserializer(result: Array<LocationProfile>): any[];
|
|
427
534
|
/** Represents the profile for a single additional location in the Fleet. The location and the virtualMachineProfileOverride (optional). */
|
|
428
535
|
export interface LocationProfile {
|
|
429
536
|
/** The ARM location name of the additional region. If LocationProfile is specified, then location is required. */
|
|
@@ -469,9 +576,9 @@ export interface BaseVirtualMachineProfile {
|
|
|
469
576
|
* Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS
|
|
470
577
|
* (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for
|
|
471
578
|
* Windows
|
|
472
|
-
* Server](https://
|
|
579
|
+
* Server](https://learn.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)
|
|
473
580
|
* <br><br> [Azure Hybrid Use Benefit for Linux
|
|
474
|
-
* Server](https://
|
|
581
|
+
* Server](https://learn.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)
|
|
475
582
|
* <br><br> Minimum api-version: 2015-06-15
|
|
476
583
|
*/
|
|
477
584
|
licenseType?: string;
|
|
@@ -545,10 +652,10 @@ export interface VirtualMachineScaleSetOSProfile {
|
|
|
545
652
|
* "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
|
|
546
653
|
* "Password22", "iloveyou!" <br><br> For resetting the password, see [How to
|
|
547
654
|
* reset the Remote Desktop service or its login password in a Windows
|
|
548
|
-
* VM](https://
|
|
655
|
+
* VM](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
|
|
549
656
|
* <br><br> For resetting root password, see [Manage users, SSH, and check or
|
|
550
657
|
* repair disks on Azure Linux VMs using the VMAccess
|
|
551
|
-
* Extension](https://
|
|
658
|
+
* Extension](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)
|
|
552
659
|
*/
|
|
553
660
|
adminPassword?: string;
|
|
554
661
|
/**
|
|
@@ -556,7 +663,7 @@ export interface VirtualMachineScaleSetOSProfile {
|
|
|
556
663
|
* is decoded to a binary array that is saved as a file on the Virtual Machine.
|
|
557
664
|
* The maximum length of the binary array is 65535 bytes. For using cloud-init for
|
|
558
665
|
* your VM, see [Using cloud-init to customize a Linux VM during
|
|
559
|
-
* creation](https://
|
|
666
|
+
* creation](https://learn.microsoft.com/azure/virtual-machines/linux/using-cloud-init)
|
|
560
667
|
*/
|
|
561
668
|
customData?: string;
|
|
562
669
|
/** Specifies Windows operating system settings on the virtual machine. */
|
|
@@ -564,16 +671,16 @@ export interface VirtualMachineScaleSetOSProfile {
|
|
|
564
671
|
/**
|
|
565
672
|
* Specifies the Linux operating system settings on the virtual machine. For a
|
|
566
673
|
* list of supported Linux distributions, see [Linux on Azure-Endorsed
|
|
567
|
-
* Distributions](https://
|
|
674
|
+
* Distributions](https://learn.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
|
|
568
675
|
*/
|
|
569
676
|
linuxConfiguration?: LinuxConfiguration;
|
|
570
677
|
/**
|
|
571
678
|
* Specifies set of certificates that should be installed onto the virtual
|
|
572
679
|
* machines in the scale set. To install certificates on a virtual machine it is
|
|
573
680
|
* recommended to use the [Azure Key Vault virtual machine extension for
|
|
574
|
-
* Linux](https://
|
|
681
|
+
* Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
|
|
575
682
|
* or the [Azure Key Vault virtual machine extension for
|
|
576
|
-
* Windows](https://
|
|
683
|
+
* Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
|
|
577
684
|
*/
|
|
578
685
|
secrets?: VaultSecretGroup[];
|
|
579
686
|
/**
|
|
@@ -605,9 +712,9 @@ export interface WindowsConfiguration {
|
|
|
605
712
|
/**
|
|
606
713
|
* Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time".
|
|
607
714
|
* Possible values can be
|
|
608
|
-
* [TimeZoneInfo.Id](https://
|
|
715
|
+
* [TimeZoneInfo.Id](https://learn.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id)
|
|
609
716
|
* value from time zones returned by
|
|
610
|
-
* [TimeZoneInfo.GetSystemTimeZones](https://
|
|
717
|
+
* [TimeZoneInfo.GetSystemTimeZones](https://learn.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).
|
|
611
718
|
*/
|
|
612
719
|
timeZone?: string;
|
|
613
720
|
/**
|
|
@@ -630,6 +737,8 @@ export interface WindowsConfiguration {
|
|
|
630
737
|
}
|
|
631
738
|
export declare function windowsConfigurationSerializer(item: WindowsConfiguration): any;
|
|
632
739
|
export declare function windowsConfigurationDeserializer(item: any): WindowsConfiguration;
|
|
740
|
+
export declare function additionalUnattendContentArraySerializer(result: Array<AdditionalUnattendContent>): any[];
|
|
741
|
+
export declare function additionalUnattendContentArrayDeserializer(result: Array<AdditionalUnattendContent>): any[];
|
|
633
742
|
/**
|
|
634
743
|
* Specifies additional XML formatted information that can be included in the
|
|
635
744
|
* Unattend.xml file, which is used by Windows Setup. Contents are defined by
|
|
@@ -677,8 +786,6 @@ export declare enum KnownSettingNames {
|
|
|
677
786
|
* **FirstLogonCommands**: FirstLogonCommands setting
|
|
678
787
|
*/
|
|
679
788
|
export type SettingNames = string;
|
|
680
|
-
export declare function additionalUnattendContentArraySerializer(result: Array<AdditionalUnattendContent>): any[];
|
|
681
|
-
export declare function additionalUnattendContentArrayDeserializer(result: Array<AdditionalUnattendContent>): any[];
|
|
682
789
|
/** Specifies settings related to VM Guest Patching on Windows. */
|
|
683
790
|
export interface PatchSettings {
|
|
684
791
|
/**
|
|
@@ -818,6 +925,8 @@ export interface WinRMConfiguration {
|
|
|
818
925
|
}
|
|
819
926
|
export declare function winRMConfigurationSerializer(item: WinRMConfiguration): any;
|
|
820
927
|
export declare function winRMConfigurationDeserializer(item: any): WinRMConfiguration;
|
|
928
|
+
export declare function winRMListenerArraySerializer(result: Array<WinRMListener>): any[];
|
|
929
|
+
export declare function winRMListenerArrayDeserializer(result: Array<WinRMListener>): any[];
|
|
821
930
|
/** Describes Protocol and thumbprint of Windows Remote Management listener */
|
|
822
931
|
export interface WinRMListener {
|
|
823
932
|
/**
|
|
@@ -829,16 +938,16 @@ export interface WinRMListener {
|
|
|
829
938
|
* This is the URL of a certificate that has been uploaded to Key Vault as a
|
|
830
939
|
* secret. For adding a secret to the Key Vault, see [Add a key or secret to the
|
|
831
940
|
* key
|
|
832
|
-
* vault](https://
|
|
941
|
+
* vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add).
|
|
833
942
|
* In this case, your certificate needs to be the Base64 encoding of the following
|
|
834
943
|
* JSON Object which is encoded in UTF-8: <br><br> {<br>
|
|
835
944
|
* "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br>
|
|
836
945
|
* "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual
|
|
837
946
|
* machine it is recommended to use the [Azure Key Vault virtual machine extension
|
|
838
947
|
* for
|
|
839
|
-
* Linux](https://
|
|
948
|
+
* Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
|
|
840
949
|
* or the [Azure Key Vault virtual machine extension for
|
|
841
|
-
* Windows](https://
|
|
950
|
+
* Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
|
|
842
951
|
*/
|
|
843
952
|
certificateUrl?: string;
|
|
844
953
|
}
|
|
@@ -864,12 +973,10 @@ export declare enum KnownProtocolTypes {
|
|
|
864
973
|
* **Https**: Https protocol
|
|
865
974
|
*/
|
|
866
975
|
export type ProtocolTypes = string;
|
|
867
|
-
export declare function winRMListenerArraySerializer(result: Array<WinRMListener>): any[];
|
|
868
|
-
export declare function winRMListenerArrayDeserializer(result: Array<WinRMListener>): any[];
|
|
869
976
|
/**
|
|
870
977
|
* Specifies the Linux operating system settings on the virtual machine. For a
|
|
871
978
|
* list of supported Linux distributions, see [Linux on Azure-Endorsed
|
|
872
|
-
* Distributions](https://
|
|
979
|
+
* Distributions](https://learn.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
|
|
873
980
|
*/
|
|
874
981
|
export interface LinuxConfiguration {
|
|
875
982
|
/** Specifies whether password authentication should be disabled. */
|
|
@@ -900,6 +1007,8 @@ export interface SshConfiguration {
|
|
|
900
1007
|
}
|
|
901
1008
|
export declare function sshConfigurationSerializer(item: SshConfiguration): any;
|
|
902
1009
|
export declare function sshConfigurationDeserializer(item: any): SshConfiguration;
|
|
1010
|
+
export declare function sshPublicKeyArraySerializer(result: Array<SshPublicKey>): any[];
|
|
1011
|
+
export declare function sshPublicKeyArrayDeserializer(result: Array<SshPublicKey>): any[];
|
|
903
1012
|
/**
|
|
904
1013
|
* Contains information about SSH certificate public key and the path on the Linux
|
|
905
1014
|
* VM where the public key is placed.
|
|
@@ -915,14 +1024,12 @@ export interface SshPublicKey {
|
|
|
915
1024
|
* SSH public key certificate used to authenticate with the VM through ssh. The
|
|
916
1025
|
* key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys,
|
|
917
1026
|
* see [Create SSH keys on Linux and Mac for Linux VMs in
|
|
918
|
-
* Azure]https://
|
|
1027
|
+
* Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
|
|
919
1028
|
*/
|
|
920
1029
|
keyData?: string;
|
|
921
1030
|
}
|
|
922
1031
|
export declare function sshPublicKeySerializer(item: SshPublicKey): any;
|
|
923
1032
|
export declare function sshPublicKeyDeserializer(item: any): SshPublicKey;
|
|
924
|
-
export declare function sshPublicKeyArraySerializer(result: Array<SshPublicKey>): any[];
|
|
925
|
-
export declare function sshPublicKeyArrayDeserializer(result: Array<SshPublicKey>): any[];
|
|
926
1033
|
/** Specifies settings related to VM Guest Patching on Linux. */
|
|
927
1034
|
export interface LinuxPatchSettings {
|
|
928
1035
|
/**
|
|
@@ -1039,6 +1146,8 @@ export declare enum KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting {
|
|
|
1039
1146
|
* **Always**: Always Reboot setting
|
|
1040
1147
|
*/
|
|
1041
1148
|
export type LinuxVMGuestPatchAutomaticByPlatformRebootSetting = string;
|
|
1149
|
+
export declare function vaultSecretGroupArraySerializer(result: Array<VaultSecretGroup>): any[];
|
|
1150
|
+
export declare function vaultSecretGroupArrayDeserializer(result: Array<VaultSecretGroup>): any[];
|
|
1042
1151
|
/** Describes a set of certificates which are all in the same Key Vault. */
|
|
1043
1152
|
export interface VaultSecretGroup {
|
|
1044
1153
|
/**
|
|
@@ -1058,6 +1167,8 @@ export interface SubResource {
|
|
|
1058
1167
|
}
|
|
1059
1168
|
export declare function subResourceSerializer(item: SubResource): any;
|
|
1060
1169
|
export declare function subResourceDeserializer(item: any): SubResource;
|
|
1170
|
+
export declare function vaultCertificateArraySerializer(result: Array<VaultCertificate>): any[];
|
|
1171
|
+
export declare function vaultCertificateArrayDeserializer(result: Array<VaultCertificate>): any[];
|
|
1061
1172
|
/**
|
|
1062
1173
|
* Describes a single certificate reference in a Key Vault, and where the
|
|
1063
1174
|
* certificate should reside on the VM.
|
|
@@ -1067,16 +1178,16 @@ export interface VaultCertificate {
|
|
|
1067
1178
|
* This is the URL of a certificate that has been uploaded to Key Vault as a
|
|
1068
1179
|
* secret. For adding a secret to the Key Vault, see [Add a key or secret to the
|
|
1069
1180
|
* key
|
|
1070
|
-
* vault](https://
|
|
1181
|
+
* vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add).
|
|
1071
1182
|
* In this case, your certificate needs to be It is the Base64 encoding of the
|
|
1072
1183
|
* following JSON Object which is encoded in UTF-8: <br><br> {<br>
|
|
1073
1184
|
* "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br>
|
|
1074
1185
|
* "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual
|
|
1075
1186
|
* machine it is recommended to use the [Azure Key Vault virtual machine extension
|
|
1076
1187
|
* for
|
|
1077
|
-
* Linux](https://
|
|
1188
|
+
* Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)
|
|
1078
1189
|
* or the [Azure Key Vault virtual machine extension for
|
|
1079
|
-
* Windows](https://
|
|
1190
|
+
* Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
|
|
1080
1191
|
*/
|
|
1081
1192
|
certificateUrl?: string;
|
|
1082
1193
|
/**
|
|
@@ -1092,10 +1203,6 @@ export interface VaultCertificate {
|
|
|
1092
1203
|
}
|
|
1093
1204
|
export declare function vaultCertificateSerializer(item: VaultCertificate): any;
|
|
1094
1205
|
export declare function vaultCertificateDeserializer(item: any): VaultCertificate;
|
|
1095
|
-
export declare function vaultCertificateArraySerializer(result: Array<VaultCertificate>): any[];
|
|
1096
|
-
export declare function vaultCertificateArrayDeserializer(result: Array<VaultCertificate>): any[];
|
|
1097
|
-
export declare function vaultSecretGroupArraySerializer(result: Array<VaultSecretGroup>): any[];
|
|
1098
|
-
export declare function vaultSecretGroupArrayDeserializer(result: Array<VaultSecretGroup>): any[];
|
|
1099
1206
|
/** Describes a virtual machine scale set storage profile. */
|
|
1100
1207
|
export interface VirtualMachineScaleSetStorageProfile {
|
|
1101
1208
|
/**
|
|
@@ -1109,14 +1216,14 @@ export interface VirtualMachineScaleSetStorageProfile {
|
|
|
1109
1216
|
* Specifies information about the operating system disk used by the virtual
|
|
1110
1217
|
* machines in the scale set. For more information about disks, see [About disks
|
|
1111
1218
|
* and VHDs for Azure virtual
|
|
1112
|
-
* machines](https://
|
|
1219
|
+
* machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview).
|
|
1113
1220
|
*/
|
|
1114
1221
|
osDisk?: VirtualMachineScaleSetOSDisk;
|
|
1115
1222
|
/**
|
|
1116
1223
|
* Specifies the parameters that are used to add data disks to the virtual
|
|
1117
1224
|
* machines in the scale set. For more information about disks, see [About disks
|
|
1118
1225
|
* and VHDs for Azure virtual
|
|
1119
|
-
* machines](https://
|
|
1226
|
+
* machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview).
|
|
1120
1227
|
*/
|
|
1121
1228
|
dataDisks?: VirtualMachineScaleSetDataDisk[];
|
|
1122
1229
|
/** Specifies the disk controller type configured for the virtual machines in the scale set. Minimum api-version: 2022-08-01 */
|
|
@@ -1301,8 +1408,8 @@ export interface DiffDiskSettings {
|
|
|
1301
1408
|
* values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is:
|
|
1302
1409
|
* **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk**
|
|
1303
1410
|
* is used. Refer to the VM size documentation for Windows VM at
|
|
1304
|
-
* https://
|
|
1305
|
-
* https://
|
|
1411
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at
|
|
1412
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/sizes to check which VM
|
|
1306
1413
|
* sizes exposes a cache disk.
|
|
1307
1414
|
*/
|
|
1308
1415
|
placement?: DiffDiskPlacement;
|
|
@@ -1328,9 +1435,9 @@ export type DiffDiskOptions = string;
|
|
|
1328
1435
|
* resource disk space for Ephemeral OS disk provisioning. For more information on
|
|
1329
1436
|
* Ephemeral OS disk size requirements, please refer Ephemeral OS disk size
|
|
1330
1437
|
* requirements for Windows VM at
|
|
1331
|
-
* https://
|
|
1438
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements
|
|
1332
1439
|
* and Linux VM at
|
|
1333
|
-
* https://
|
|
1440
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements
|
|
1334
1441
|
* Minimum api-version for NvmeDisk: 2024-03-01.
|
|
1335
1442
|
*/
|
|
1336
1443
|
export declare enum KnownDiffDiskPlacement {
|
|
@@ -1347,9 +1454,9 @@ export declare enum KnownDiffDiskPlacement {
|
|
|
1347
1454
|
* resource disk space for Ephemeral OS disk provisioning. For more information on
|
|
1348
1455
|
* Ephemeral OS disk size requirements, please refer Ephemeral OS disk size
|
|
1349
1456
|
* requirements for Windows VM at
|
|
1350
|
-
* https://
|
|
1457
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements
|
|
1351
1458
|
* and Linux VM at
|
|
1352
|
-
* https://
|
|
1459
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements
|
|
1353
1460
|
* Minimum api-version for NvmeDisk: 2024-03-01. \
|
|
1354
1461
|
* {@link KnownDiffDiskPlacement} can be used interchangeably with DiffDiskPlacement,
|
|
1355
1462
|
* this enum contains the known values that the service supports.
|
|
@@ -1414,9 +1521,9 @@ export declare function virtualMachineScaleSetManagedDiskParametersDeserializer(
|
|
|
1414
1521
|
* zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant
|
|
1415
1522
|
* storage. For more information regarding disks supported for Windows Virtual
|
|
1416
1523
|
* Machines, refer to
|
|
1417
|
-
* https://
|
|
1524
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/disks-types and, for
|
|
1418
1525
|
* Linux Virtual Machines, refer to
|
|
1419
|
-
* https://
|
|
1526
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/disks-types
|
|
1420
1527
|
*/
|
|
1421
1528
|
export declare enum KnownStorageAccountTypes {
|
|
1422
1529
|
/** Standard_LRS option. */
|
|
@@ -1443,9 +1550,9 @@ export declare enum KnownStorageAccountTypes {
|
|
|
1443
1550
|
* zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant
|
|
1444
1551
|
* storage. For more information regarding disks supported for Windows Virtual
|
|
1445
1552
|
* Machines, refer to
|
|
1446
|
-
* https://
|
|
1553
|
+
* https://learn.microsoft.com/azure/virtual-machines/windows/disks-types and, for
|
|
1447
1554
|
* Linux Virtual Machines, refer to
|
|
1448
|
-
* https://
|
|
1555
|
+
* https://learn.microsoft.com/azure/virtual-machines/linux/disks-types \
|
|
1449
1556
|
* {@link KnownStorageAccountTypes} can be used interchangeably with StorageAccountTypes,
|
|
1450
1557
|
* this enum contains the known values that the service supports.
|
|
1451
1558
|
* ### Known values supported by the service
|
|
@@ -1490,8 +1597,8 @@ export interface VMDiskSecurityProfile {
|
|
|
1490
1597
|
*/
|
|
1491
1598
|
diskEncryptionSet?: DiskEncryptionSetParameters;
|
|
1492
1599
|
}
|
|
1493
|
-
export declare function
|
|
1494
|
-
export declare function
|
|
1600
|
+
export declare function vmDiskSecurityProfileSerializer(item: VMDiskSecurityProfile): any;
|
|
1601
|
+
export declare function vmDiskSecurityProfileDeserializer(item: any): VMDiskSecurityProfile;
|
|
1495
1602
|
/**
|
|
1496
1603
|
* Specifies the EncryptionType of the managed disk.
|
|
1497
1604
|
* **Note:** It can be set for only Confidential VMs.
|
|
@@ -1553,6 +1660,8 @@ export declare enum KnownDiskDeleteOptionTypes {
|
|
|
1553
1660
|
* **Detach**: If this value is used, the managed disk is retained after VM gets deleted.
|
|
1554
1661
|
*/
|
|
1555
1662
|
export type DiskDeleteOptionTypes = string;
|
|
1663
|
+
export declare function virtualMachineScaleSetDataDiskArraySerializer(result: Array<VirtualMachineScaleSetDataDisk>): any[];
|
|
1664
|
+
export declare function virtualMachineScaleSetDataDiskArrayDeserializer(result: Array<VirtualMachineScaleSetDataDisk>): any[];
|
|
1556
1665
|
/** Describes a virtual machine scale set data disk. */
|
|
1557
1666
|
export interface VirtualMachineScaleSetDataDisk {
|
|
1558
1667
|
/** The disk name. */
|
|
@@ -1587,7 +1696,7 @@ export interface VirtualMachineScaleSetDataDisk {
|
|
|
1587
1696
|
* StorageAccountType is UltraSSD_LRS. If not specified, a default value would be
|
|
1588
1697
|
* assigned based on diskSizeGB.
|
|
1589
1698
|
*/
|
|
1590
|
-
|
|
1699
|
+
diskIopsReadWrite?: number;
|
|
1591
1700
|
/**
|
|
1592
1701
|
* Specifies the bandwidth in MB per second for the managed disk. Should be used
|
|
1593
1702
|
* only when StorageAccountType is UltraSSD_LRS. If not specified, a default value
|
|
@@ -1606,22 +1715,20 @@ export interface VirtualMachineScaleSetDataDisk {
|
|
|
1606
1715
|
}
|
|
1607
1716
|
export declare function virtualMachineScaleSetDataDiskSerializer(item: VirtualMachineScaleSetDataDisk): any;
|
|
1608
1717
|
export declare function virtualMachineScaleSetDataDiskDeserializer(item: any): VirtualMachineScaleSetDataDisk;
|
|
1609
|
-
export declare function virtualMachineScaleSetDataDiskArraySerializer(result: Array<VirtualMachineScaleSetDataDisk>): any[];
|
|
1610
|
-
export declare function virtualMachineScaleSetDataDiskArrayDeserializer(result: Array<VirtualMachineScaleSetDataDisk>): any[];
|
|
1611
1718
|
/**
|
|
1612
1719
|
* Specifies the disk controller type configured for the VM and
|
|
1613
1720
|
* VirtualMachineScaleSet. This property is only supported for virtual machines
|
|
1614
1721
|
* whose operating system disk and VM sku supports Generation 2
|
|
1615
|
-
* (https://
|
|
1722
|
+
* (https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2), please
|
|
1616
1723
|
* check the HyperVGenerations capability returned as part of VM sku capabilities
|
|
1617
1724
|
* in the response of Microsoft.Compute SKUs api for the region contains V2
|
|
1618
|
-
* (https://
|
|
1725
|
+
* (https://learn.microsoft.com/rest/api/compute/resourceskus/list). For more
|
|
1619
1726
|
* information about Disk Controller Types supported please refer to
|
|
1620
1727
|
* https://aka.ms/azure-diskcontrollertypes.
|
|
1621
1728
|
*/
|
|
1622
1729
|
export declare enum KnownDiskControllerTypes {
|
|
1623
1730
|
/** SCSI disk type */
|
|
1624
|
-
|
|
1731
|
+
Scsi = "SCSI",
|
|
1625
1732
|
/** NVMe disk type */
|
|
1626
1733
|
NVMe = "NVMe"
|
|
1627
1734
|
}
|
|
@@ -1629,10 +1736,10 @@ export declare enum KnownDiskControllerTypes {
|
|
|
1629
1736
|
* Specifies the disk controller type configured for the VM and
|
|
1630
1737
|
* VirtualMachineScaleSet. This property is only supported for virtual machines
|
|
1631
1738
|
* whose operating system disk and VM sku supports Generation 2
|
|
1632
|
-
* (https://
|
|
1739
|
+
* (https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2), please
|
|
1633
1740
|
* check the HyperVGenerations capability returned as part of VM sku capabilities
|
|
1634
1741
|
* in the response of Microsoft.Compute SKUs api for the region contains V2
|
|
1635
|
-
* (https://
|
|
1742
|
+
* (https://learn.microsoft.com/rest/api/compute/resourceskus/list). For more
|
|
1636
1743
|
* information about Disk Controller Types supported please refer to
|
|
1637
1744
|
* https://aka.ms/azure-diskcontrollertypes. \
|
|
1638
1745
|
* {@link KnownDiskControllerTypes} can be used interchangeably with DiskControllerTypes,
|
|
@@ -1671,6 +1778,8 @@ export interface ApiEntityReference {
|
|
|
1671
1778
|
}
|
|
1672
1779
|
export declare function apiEntityReferenceSerializer(item: ApiEntityReference): any;
|
|
1673
1780
|
export declare function apiEntityReferenceDeserializer(item: any): ApiEntityReference;
|
|
1781
|
+
export declare function virtualMachineScaleSetNetworkConfigurationArraySerializer(result: Array<VirtualMachineScaleSetNetworkConfiguration>): any[];
|
|
1782
|
+
export declare function virtualMachineScaleSetNetworkConfigurationArrayDeserializer(result: Array<VirtualMachineScaleSetNetworkConfiguration>): any[];
|
|
1674
1783
|
/** Describes a virtual machine scale set network profile's network configurations. */
|
|
1675
1784
|
export interface VirtualMachineScaleSetNetworkConfiguration {
|
|
1676
1785
|
/** The network configuration name. */
|
|
@@ -1723,6 +1832,8 @@ export interface VirtualMachineScaleSetNetworkConfigurationDnsSettings {
|
|
|
1723
1832
|
}
|
|
1724
1833
|
export declare function virtualMachineScaleSetNetworkConfigurationDnsSettingsSerializer(item: VirtualMachineScaleSetNetworkConfigurationDnsSettings): any;
|
|
1725
1834
|
export declare function virtualMachineScaleSetNetworkConfigurationDnsSettingsDeserializer(item: any): VirtualMachineScaleSetNetworkConfigurationDnsSettings;
|
|
1835
|
+
export declare function virtualMachineScaleSetIPConfigurationArraySerializer(result: Array<VirtualMachineScaleSetIPConfiguration>): any[];
|
|
1836
|
+
export declare function virtualMachineScaleSetIPConfigurationArrayDeserializer(result: Array<VirtualMachineScaleSetIPConfiguration>): any[];
|
|
1726
1837
|
/** Describes a virtual machine scale set network profile's IP configuration. */
|
|
1727
1838
|
export interface VirtualMachineScaleSetIPConfiguration {
|
|
1728
1839
|
/** The IP configuration name. */
|
|
@@ -1871,6 +1982,8 @@ export declare enum KnownDomainNameLabelScopeTypes {
|
|
|
1871
1982
|
* **NoReuse**: NoReuse type
|
|
1872
1983
|
*/
|
|
1873
1984
|
export type DomainNameLabelScopeTypes = string;
|
|
1985
|
+
export declare function virtualMachineScaleSetIpTagArraySerializer(result: Array<VirtualMachineScaleSetIpTag>): any[];
|
|
1986
|
+
export declare function virtualMachineScaleSetIpTagArrayDeserializer(result: Array<VirtualMachineScaleSetIpTag>): any[];
|
|
1874
1987
|
/** Contains the IP tag associated with the public IP address. */
|
|
1875
1988
|
export interface VirtualMachineScaleSetIpTag {
|
|
1876
1989
|
/** IP tag type. Example: FirstPartyUsage. */
|
|
@@ -1880,8 +1993,6 @@ export interface VirtualMachineScaleSetIpTag {
|
|
|
1880
1993
|
}
|
|
1881
1994
|
export declare function virtualMachineScaleSetIpTagSerializer(item: VirtualMachineScaleSetIpTag): any;
|
|
1882
1995
|
export declare function virtualMachineScaleSetIpTagDeserializer(item: any): VirtualMachineScaleSetIpTag;
|
|
1883
|
-
export declare function virtualMachineScaleSetIpTagArraySerializer(result: Array<VirtualMachineScaleSetIpTag>): any[];
|
|
1884
|
-
export declare function virtualMachineScaleSetIpTagArrayDeserializer(result: Array<VirtualMachineScaleSetIpTag>): any[];
|
|
1885
1996
|
/**
|
|
1886
1997
|
* Available from Api-Version 2017-03-30 onwards, it represents whether the
|
|
1887
1998
|
* specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
|
|
@@ -1966,8 +2077,6 @@ export declare enum KnownPublicIPAddressSkuTier {
|
|
|
1966
2077
|
export type PublicIPAddressSkuTier = string;
|
|
1967
2078
|
export declare function subResourceArraySerializer(result: Array<SubResource>): any[];
|
|
1968
2079
|
export declare function subResourceArrayDeserializer(result: Array<SubResource>): any[];
|
|
1969
|
-
export declare function virtualMachineScaleSetIPConfigurationArraySerializer(result: Array<VirtualMachineScaleSetIPConfiguration>): any[];
|
|
1970
|
-
export declare function virtualMachineScaleSetIPConfigurationArrayDeserializer(result: Array<VirtualMachineScaleSetIPConfiguration>): any[];
|
|
1971
2080
|
/**
|
|
1972
2081
|
* Specifies whether the Auxiliary mode is enabled for the Network Interface
|
|
1973
2082
|
* resource.
|
|
@@ -2020,8 +2129,6 @@ export declare enum KnownNetworkInterfaceAuxiliarySku {
|
|
|
2020
2129
|
* **A8**: A8 sku
|
|
2021
2130
|
*/
|
|
2022
2131
|
export type NetworkInterfaceAuxiliarySku = string;
|
|
2023
|
-
export declare function virtualMachineScaleSetNetworkConfigurationArraySerializer(result: Array<VirtualMachineScaleSetNetworkConfiguration>): any[];
|
|
2024
|
-
export declare function virtualMachineScaleSetNetworkConfigurationArrayDeserializer(result: Array<VirtualMachineScaleSetNetworkConfiguration>): any[];
|
|
2025
2132
|
/**
|
|
2026
2133
|
* specifies the Microsoft.Network API version used when creating networking
|
|
2027
2134
|
* resources in the Network Interface Configurations for Virtual Machine Scale Set
|
|
@@ -2222,6 +2329,8 @@ export interface VirtualMachineScaleSetExtensionProfile {
|
|
|
2222
2329
|
}
|
|
2223
2330
|
export declare function virtualMachineScaleSetExtensionProfileSerializer(item: VirtualMachineScaleSetExtensionProfile): any;
|
|
2224
2331
|
export declare function virtualMachineScaleSetExtensionProfileDeserializer(item: any): VirtualMachineScaleSetExtensionProfile;
|
|
2332
|
+
export declare function virtualMachineScaleSetExtensionArraySerializer(result: Array<VirtualMachineScaleSetExtension>): any[];
|
|
2333
|
+
export declare function virtualMachineScaleSetExtensionArrayDeserializer(result: Array<VirtualMachineScaleSetExtension>): any[];
|
|
2225
2334
|
/** Describes a Virtual Machine Scale Set Extension. */
|
|
2226
2335
|
export interface VirtualMachineScaleSetExtension {
|
|
2227
2336
|
/** Resource Id */
|
|
@@ -2297,8 +2406,6 @@ export interface KeyVaultSecretReference {
|
|
|
2297
2406
|
}
|
|
2298
2407
|
export declare function keyVaultSecretReferenceSerializer(item: KeyVaultSecretReference): any;
|
|
2299
2408
|
export declare function keyVaultSecretReferenceDeserializer(item: any): KeyVaultSecretReference;
|
|
2300
|
-
export declare function virtualMachineScaleSetExtensionArraySerializer(result: Array<VirtualMachineScaleSetExtension>): any[];
|
|
2301
|
-
export declare function virtualMachineScaleSetExtensionArrayDeserializer(result: Array<VirtualMachineScaleSetExtension>): any[];
|
|
2302
2409
|
/** Specifies Scheduled Event related configurations. */
|
|
2303
2410
|
export interface ScheduledEventsProfile {
|
|
2304
2411
|
/** Specifies Terminate Scheduled Event related configurations. */
|
|
@@ -2334,8 +2441,8 @@ export interface OSImageNotificationProfile {
|
|
|
2334
2441
|
/** Specifies whether the OS Image Scheduled event is enabled or disabled. */
|
|
2335
2442
|
enable?: boolean;
|
|
2336
2443
|
}
|
|
2337
|
-
export declare function
|
|
2338
|
-
export declare function
|
|
2444
|
+
export declare function osImageNotificationProfileSerializer(item: OSImageNotificationProfile): any;
|
|
2445
|
+
export declare function osImageNotificationProfileDeserializer(item: any): OSImageNotificationProfile;
|
|
2339
2446
|
/** The parameters of a capacity reservation Profile. */
|
|
2340
2447
|
export interface CapacityReservationProfile {
|
|
2341
2448
|
/**
|
|
@@ -2358,6 +2465,8 @@ export interface ApplicationProfile {
|
|
|
2358
2465
|
}
|
|
2359
2466
|
export declare function applicationProfileSerializer(item: ApplicationProfile): any;
|
|
2360
2467
|
export declare function applicationProfileDeserializer(item: any): ApplicationProfile;
|
|
2468
|
+
export declare function vmGalleryApplicationArraySerializer(result: Array<VMGalleryApplication>): any[];
|
|
2469
|
+
export declare function vmGalleryApplicationArrayDeserializer(result: Array<VMGalleryApplication>): any[];
|
|
2361
2470
|
/**
|
|
2362
2471
|
* Specifies the required information to reference a compute gallery application
|
|
2363
2472
|
* version
|
|
@@ -2388,10 +2497,8 @@ export interface VMGalleryApplication {
|
|
|
2388
2497
|
*/
|
|
2389
2498
|
enableAutomaticUpgrade?: boolean;
|
|
2390
2499
|
}
|
|
2391
|
-
export declare function
|
|
2392
|
-
export declare function
|
|
2393
|
-
export declare function vMGalleryApplicationArraySerializer(result: Array<VMGalleryApplication>): any[];
|
|
2394
|
-
export declare function vMGalleryApplicationArrayDeserializer(result: Array<VMGalleryApplication>): any[];
|
|
2500
|
+
export declare function vmGalleryApplicationSerializer(item: VMGalleryApplication): any;
|
|
2501
|
+
export declare function vmGalleryApplicationDeserializer(item: any): VMGalleryApplication;
|
|
2395
2502
|
/** Specifies the hardware settings for the virtual machine scale set. */
|
|
2396
2503
|
export interface VirtualMachineScaleSetHardwareProfile {
|
|
2397
2504
|
/**
|
|
@@ -2410,7 +2517,7 @@ export interface VMSizeProperties {
|
|
|
2410
2517
|
* specified in the request body the default behavior is to set it to the value of
|
|
2411
2518
|
* vCPUs available for that VM size exposed in api response of [List all available
|
|
2412
2519
|
* virtual machine sizes in a
|
|
2413
|
-
* region](https://
|
|
2520
|
+
* region](https://learn.microsoft.com/en-us/rest/api/compute/resource-skus/list).
|
|
2414
2521
|
*/
|
|
2415
2522
|
vCPUsAvailable?: number;
|
|
2416
2523
|
/**
|
|
@@ -2418,13 +2525,13 @@ export interface VMSizeProperties {
|
|
|
2418
2525
|
* in the request body the default behavior is set to the value of vCPUsPerCore
|
|
2419
2526
|
* for the VM Size exposed in api response of [List all available virtual machine
|
|
2420
2527
|
* sizes in a
|
|
2421
|
-
* region](https://
|
|
2528
|
+
* region](https://learn.microsoft.com/en-us/rest/api/compute/resource-skus/list).
|
|
2422
2529
|
* **Setting this property to 1 also means that hyper-threading is disabled.**
|
|
2423
2530
|
*/
|
|
2424
2531
|
vCPUsPerCore?: number;
|
|
2425
2532
|
}
|
|
2426
|
-
export declare function
|
|
2427
|
-
export declare function
|
|
2533
|
+
export declare function vmSizePropertiesSerializer(item: VMSizeProperties): any;
|
|
2534
|
+
export declare function vmSizePropertiesDeserializer(item: any): VMSizeProperties;
|
|
2428
2535
|
/**
|
|
2429
2536
|
* Specifies the service artifact reference id used to set same image version for
|
|
2430
2537
|
* all virtual machines in the scale set when using 'latest' image version.
|
|
@@ -2459,8 +2566,6 @@ export interface SecurityPostureReference {
|
|
|
2459
2566
|
}
|
|
2460
2567
|
export declare function securityPostureReferenceSerializer(item: SecurityPostureReference): any;
|
|
2461
2568
|
export declare function securityPostureReferenceDeserializer(item: any): SecurityPostureReference;
|
|
2462
|
-
export declare function locationProfileArraySerializer(result: Array<LocationProfile>): any[];
|
|
2463
|
-
export declare function locationProfileArrayDeserializer(result: Array<LocationProfile>): any[];
|
|
2464
2569
|
/** Compute Profile to use for running user's workloads. */
|
|
2465
2570
|
export interface ComputeProfile {
|
|
2466
2571
|
/** Base Virtual Machine Profile Properties to be specified according to "specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile" */
|
|
@@ -2500,6 +2605,90 @@ export interface AdditionalCapabilities {
|
|
|
2500
2605
|
}
|
|
2501
2606
|
export declare function additionalCapabilitiesSerializer(item: AdditionalCapabilities): any;
|
|
2502
2607
|
export declare function additionalCapabilitiesDeserializer(item: any): AdditionalCapabilities;
|
|
2608
|
+
/** Modes for Compute Fleet. */
|
|
2609
|
+
export declare enum KnownFleetMode {
|
|
2610
|
+
/** Default. Managed is the default mode for Compute Fleet where VMs are provisioned via VMSS. */
|
|
2611
|
+
Managed = "Managed",
|
|
2612
|
+
/** Instance mode for Compute Fleet will directly provision VM instances. */
|
|
2613
|
+
Instance = "Instance"
|
|
2614
|
+
}
|
|
2615
|
+
/**
|
|
2616
|
+
* Modes for Compute Fleet. \
|
|
2617
|
+
* {@link KnownFleetMode} can be used interchangeably with FleetMode,
|
|
2618
|
+
* this enum contains the known values that the service supports.
|
|
2619
|
+
* ### Known values supported by the service
|
|
2620
|
+
* **Managed**: Default. Managed is the default mode for Compute Fleet where VMs are provisioned via VMSS. \
|
|
2621
|
+
* **Instance**: Instance mode for Compute Fleet will directly provision VM instances.
|
|
2622
|
+
*/
|
|
2623
|
+
export type FleetMode = string;
|
|
2624
|
+
/** Capacity types for Compute Fleet. */
|
|
2625
|
+
export declare enum KnownCapacityType {
|
|
2626
|
+
/** Default. VM is the default capacity type for Compute Fleet where Fleet capacity is provisioned in terms of VMs. */
|
|
2627
|
+
VM = "VM",
|
|
2628
|
+
/**
|
|
2629
|
+
* VCpu is the capacity type for Compute Fleet where Fleet capacity is provisioned in terms of VCpus.
|
|
2630
|
+
* If VCpu capacity is not exactly divisible by VCpu count in VMSizes, Fleet capacity in VCpus will be overprovisioned by default.
|
|
2631
|
+
*/
|
|
2632
|
+
VCpu = "VCpu"
|
|
2633
|
+
}
|
|
2634
|
+
/**
|
|
2635
|
+
* Capacity types for Compute Fleet. \
|
|
2636
|
+
* {@link KnownCapacityType} can be used interchangeably with CapacityType,
|
|
2637
|
+
* this enum contains the known values that the service supports.
|
|
2638
|
+
* ### Known values supported by the service
|
|
2639
|
+
* **VM**: Default. VM is the default capacity type for Compute Fleet where Fleet capacity is provisioned in terms of VMs. \
|
|
2640
|
+
* **VCpu**: VCpu is the capacity type for Compute Fleet where Fleet capacity is provisioned in terms of VCpus.
|
|
2641
|
+
* If VCpu capacity is not exactly divisible by VCpu count in VMSizes, Fleet capacity in VCpus will be overprovisioned by default.
|
|
2642
|
+
*/
|
|
2643
|
+
export type CapacityType = string;
|
|
2644
|
+
/** ZoneAllocationPolicy for Compute Fleet. */
|
|
2645
|
+
export interface ZoneAllocationPolicy {
|
|
2646
|
+
/** Distribution strategy used for zone allocation policy. */
|
|
2647
|
+
distributionStrategy: ZoneDistributionStrategy;
|
|
2648
|
+
/** Zone preferences, required when zone distribution strategy is Prioritized. */
|
|
2649
|
+
zonePreferences?: ZonePreference[];
|
|
2650
|
+
}
|
|
2651
|
+
export declare function zoneAllocationPolicySerializer(item: ZoneAllocationPolicy): any;
|
|
2652
|
+
export declare function zoneAllocationPolicyDeserializer(item: any): ZoneAllocationPolicy;
|
|
2653
|
+
/** Distribution strategies for Compute Fleet zone allocation policy. */
|
|
2654
|
+
export declare enum KnownZoneDistributionStrategy {
|
|
2655
|
+
/**
|
|
2656
|
+
* Default. Compute Fleet allocates all Fleet capacity within a single zone based on best effort.
|
|
2657
|
+
* If capacity is not available, Compute Fleet can allocate capacity in different zones.
|
|
2658
|
+
*/
|
|
2659
|
+
BestEffortSingleZone = "BestEffortSingleZone",
|
|
2660
|
+
/**
|
|
2661
|
+
* Compute Fleet allocates capacity based on zone preferences.
|
|
2662
|
+
* Higher priority zones are filled first before allocating to lower priority zones.
|
|
2663
|
+
*/
|
|
2664
|
+
Prioritized = "Prioritized"
|
|
2665
|
+
}
|
|
2666
|
+
/**
|
|
2667
|
+
* Distribution strategies for Compute Fleet zone allocation policy. \
|
|
2668
|
+
* {@link KnownZoneDistributionStrategy} can be used interchangeably with ZoneDistributionStrategy,
|
|
2669
|
+
* this enum contains the known values that the service supports.
|
|
2670
|
+
* ### Known values supported by the service
|
|
2671
|
+
* **BestEffortSingleZone**: Default. Compute Fleet allocates all Fleet capacity within a single zone based on best effort.
|
|
2672
|
+
* If capacity is not available, Compute Fleet can allocate capacity in different zones. \
|
|
2673
|
+
* **Prioritized**: Compute Fleet allocates capacity based on zone preferences.
|
|
2674
|
+
* Higher priority zones are filled first before allocating to lower priority zones.
|
|
2675
|
+
*/
|
|
2676
|
+
export type ZoneDistributionStrategy = string;
|
|
2677
|
+
export declare function zonePreferenceArraySerializer(result: Array<ZonePreference>): any[];
|
|
2678
|
+
export declare function zonePreferenceArrayDeserializer(result: Array<ZonePreference>): any[];
|
|
2679
|
+
/** Zone preferences for Compute Fleet zone allocation policy. */
|
|
2680
|
+
export interface ZonePreference {
|
|
2681
|
+
/** Name of the zone. */
|
|
2682
|
+
zone: string;
|
|
2683
|
+
/**
|
|
2684
|
+
* The rank of the zone. This is used with 'Prioritized' ZoneDistributionStrategy.
|
|
2685
|
+
* The lower the number, the higher the priority, starting with 0.
|
|
2686
|
+
* 0 is the highest rank. If not specified, defaults to lowest rank.
|
|
2687
|
+
*/
|
|
2688
|
+
rank?: number;
|
|
2689
|
+
}
|
|
2690
|
+
export declare function zonePreferenceSerializer(item: ZonePreference): any;
|
|
2691
|
+
export declare function zonePreferenceDeserializer(item: any): ZonePreference;
|
|
2503
2692
|
/** Managed service identity (system assigned and/or user assigned identities) */
|
|
2504
2693
|
export interface ManagedServiceIdentity {
|
|
2505
2694
|
/** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */
|
|
@@ -2671,8 +2860,11 @@ export interface _VirtualMachineScaleSetListResult {
|
|
|
2671
2860
|
nextLink?: string;
|
|
2672
2861
|
}
|
|
2673
2862
|
export declare function _virtualMachineScaleSetListResultDeserializer(item: any): _VirtualMachineScaleSetListResult;
|
|
2863
|
+
export declare function virtualMachineScaleSetArrayDeserializer(result: Array<VirtualMachineScaleSet>): any[];
|
|
2674
2864
|
/** An AzureFleet's virtualMachineScaleSet */
|
|
2675
2865
|
export interface VirtualMachineScaleSet {
|
|
2866
|
+
/** The name of the virtualMachineScaleSet */
|
|
2867
|
+
readonly name: string;
|
|
2676
2868
|
/**
|
|
2677
2869
|
* The compute RP resource id of the virtualMachineScaleSet
|
|
2678
2870
|
* "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}"
|
|
@@ -2700,6 +2892,7 @@ export interface ApiError {
|
|
|
2700
2892
|
innererror?: InnerError;
|
|
2701
2893
|
}
|
|
2702
2894
|
export declare function apiErrorDeserializer(item: any): ApiError;
|
|
2895
|
+
export declare function apiErrorBaseArrayDeserializer(result: Array<ApiErrorBase>): any[];
|
|
2703
2896
|
/** API error base. */
|
|
2704
2897
|
export interface ApiErrorBase {
|
|
2705
2898
|
/** The error code. */
|
|
@@ -2710,7 +2903,6 @@ export interface ApiErrorBase {
|
|
|
2710
2903
|
message?: string;
|
|
2711
2904
|
}
|
|
2712
2905
|
export declare function apiErrorBaseDeserializer(item: any): ApiErrorBase;
|
|
2713
|
-
export declare function apiErrorBaseArrayDeserializer(result: Array<ApiErrorBase>): any[];
|
|
2714
2906
|
/** Inner error details. */
|
|
2715
2907
|
export interface InnerError {
|
|
2716
2908
|
/** The exception type. */
|
|
@@ -2719,72 +2911,63 @@ export interface InnerError {
|
|
|
2719
2911
|
errorDetail?: string;
|
|
2720
2912
|
}
|
|
2721
2913
|
export declare function innerErrorDeserializer(item: any): InnerError;
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
/** The link to the next page of items */
|
|
2914
|
+
/** The response of a virtual machine list operation. */
|
|
2915
|
+
export interface _VirtualMachineListResult {
|
|
2916
|
+
/** The Virtual Machine items on this page. */
|
|
2917
|
+
value: VirtualMachine[];
|
|
2918
|
+
/** The link to the next page of items. */
|
|
2728
2919
|
nextLink?: string;
|
|
2729
2920
|
}
|
|
2730
|
-
export declare function
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
export declare function operationDeserializer(item: any): Operation;
|
|
2745
|
-
/** Localized display information for and operation. */
|
|
2746
|
-
export interface OperationDisplay {
|
|
2747
|
-
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
2748
|
-
readonly provider?: string;
|
|
2749
|
-
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
2750
|
-
readonly resource?: string;
|
|
2751
|
-
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
2752
|
-
readonly operation?: string;
|
|
2753
|
-
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
2754
|
-
readonly description?: string;
|
|
2921
|
+
export declare function _virtualMachineListResultDeserializer(item: any): _VirtualMachineListResult;
|
|
2922
|
+
export declare function virtualMachineArrayDeserializer(result: Array<VirtualMachine>): any[];
|
|
2923
|
+
/** An instant Fleet's virtual machine. */
|
|
2924
|
+
export interface VirtualMachine {
|
|
2925
|
+
/** The name of the virtual machine. */
|
|
2926
|
+
readonly name: string;
|
|
2927
|
+
/** The compute RP resource id of the virtual machine. subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName} */
|
|
2928
|
+
readonly id: string;
|
|
2929
|
+
/** Type of the virtual machine */
|
|
2930
|
+
readonly type?: string;
|
|
2931
|
+
/** This represents the operationStatus of the virtual machine in response to the last operation that was performed on it by Azure Fleet resource. */
|
|
2932
|
+
readonly operationStatus: VMOperationStatus;
|
|
2933
|
+
/** Error information when `operationStatus` is `Failed`. */
|
|
2934
|
+
readonly error?: ApiError;
|
|
2755
2935
|
}
|
|
2756
|
-
export declare function
|
|
2757
|
-
/**
|
|
2758
|
-
export declare enum
|
|
2759
|
-
/** Indicates the
|
|
2760
|
-
|
|
2761
|
-
/** Indicates the
|
|
2762
|
-
|
|
2763
|
-
/** Indicates the
|
|
2764
|
-
|
|
2936
|
+
export declare function virtualMachineDeserializer(item: any): VirtualMachine;
|
|
2937
|
+
/** Virtual Machine operation status values. */
|
|
2938
|
+
export declare enum KnownVMOperationStatus {
|
|
2939
|
+
/** Indicates that the virtual machine is either in the process of being created or is scheduled to be created. */
|
|
2940
|
+
Creating = "Creating",
|
|
2941
|
+
/** Indicates that the cancellation request was successful because the virtual machine had not been created yet. */
|
|
2942
|
+
Canceled = "Canceled",
|
|
2943
|
+
/** Indicates that the cancellation request could not be applied because the virtual machine had already been created. */
|
|
2944
|
+
CancelFailedStatusUnknown = "CancelFailedStatusUnknown",
|
|
2945
|
+
/** Indicates that the virtual machine operation failed. */
|
|
2946
|
+
Failed = "Failed",
|
|
2947
|
+
/** Indicates that the virtual machine operation completed successfully. */
|
|
2948
|
+
Succeeded = "Succeeded"
|
|
2765
2949
|
}
|
|
2766
2950
|
/**
|
|
2767
|
-
*
|
|
2768
|
-
* {@link
|
|
2951
|
+
* Virtual Machine operation status values. \
|
|
2952
|
+
* {@link KnownVMOperationStatus} can be used interchangeably with VMOperationStatus,
|
|
2769
2953
|
* this enum contains the known values that the service supports.
|
|
2770
2954
|
* ### Known values supported by the service
|
|
2771
|
-
* **
|
|
2772
|
-
* **
|
|
2773
|
-
* **
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
export
|
|
2778
|
-
|
|
2779
|
-
|
|
2955
|
+
* **Creating**: Indicates that the virtual machine is either in the process of being created or is scheduled to be created. \
|
|
2956
|
+
* **Canceled**: Indicates that the cancellation request was successful because the virtual machine had not been created yet. \
|
|
2957
|
+
* **CancelFailedStatusUnknown**: Indicates that the cancellation request could not be applied because the virtual machine had already been created. \
|
|
2958
|
+
* **Failed**: Indicates that the virtual machine operation failed. \
|
|
2959
|
+
* **Succeeded**: Indicates that the virtual machine operation completed successfully.
|
|
2960
|
+
*/
|
|
2961
|
+
export type VMOperationStatus = string;
|
|
2962
|
+
/** Api versions */
|
|
2963
|
+
export declare enum KnownVersions {
|
|
2964
|
+
/** Private Preview Api version */
|
|
2965
|
+
V20231101Preview = "2023-11-01-preview",
|
|
2966
|
+
/** Public Preview Api version */
|
|
2967
|
+
V20240501Preview = "2024-05-01-preview",
|
|
2968
|
+
/** Public Api version */
|
|
2969
|
+
V20241101 = "2024-11-01",
|
|
2970
|
+
/** Private preview Api version. */
|
|
2971
|
+
V20250701Preview = "2025-07-01-preview"
|
|
2780
2972
|
}
|
|
2781
|
-
/**
|
|
2782
|
-
* Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \
|
|
2783
|
-
* {@link KnownActionType} can be used interchangeably with ActionType,
|
|
2784
|
-
* this enum contains the known values that the service supports.
|
|
2785
|
-
* ### Known values supported by the service
|
|
2786
|
-
* **Internal**: Actions are for internal-only APIs.
|
|
2787
|
-
*/
|
|
2788
|
-
export type ActionType = string;
|
|
2789
|
-
export declare function operationArrayDeserializer(result: Array<Operation>): any[];
|
|
2790
2973
|
//# sourceMappingURL=models.d.ts.map
|