@azure/arm-hybridcompute 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -85
- package/dist/index.js +3565 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.d.ts +2 -0
- package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.d.ts.map +1 -0
- package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.js +40 -0
- package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateAMachineExtension.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateAMachineExtension.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateAMachineExtension.js +42 -0
- package/dist-esm/samples-dev/createOrUpdateAMachineExtension.js.map +1 -0
- package/dist-esm/samples-dev/deleteAMachine.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAMachine.js +31 -0
- package/dist-esm/samples-dev/deleteAMachine.js.map +1 -0
- package/dist-esm/samples-dev/deleteAMachineExtension.d.ts +2 -0
- package/dist-esm/samples-dev/deleteAMachineExtension.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteAMachineExtension.js +32 -0
- package/dist-esm/samples-dev/deleteAMachineExtension.js.map +1 -0
- package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.d.ts +2 -0
- package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.d.ts.map +1 -0
- package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.js +32 -0
- package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.js.map +1 -0
- package/dist-esm/samples-dev/getAllMachineExtensions.d.ts +2 -0
- package/dist-esm/samples-dev/getAllMachineExtensions.d.ts.map +1 -0
- package/dist-esm/samples-dev/getAllMachineExtensions.js +45 -0
- package/dist-esm/samples-dev/getAllMachineExtensions.js.map +1 -0
- package/dist-esm/samples-dev/getMachine.d.ts +2 -0
- package/dist-esm/samples-dev/getMachine.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMachine.js +31 -0
- package/dist-esm/samples-dev/getMachine.js.map +1 -0
- package/dist-esm/samples-dev/getMachineExtension.d.ts +2 -0
- package/dist-esm/samples-dev/getMachineExtension.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMachineExtension.js +32 -0
- package/dist-esm/samples-dev/getMachineExtension.js.map +1 -0
- package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.d.ts +2 -0
- package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.d.ts.map +1 -0
- package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.js +45 -0
- package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.js.map +1 -0
- package/dist-esm/samples-dev/getsPrivateEndpointConnection.d.ts +2 -0
- package/dist-esm/samples-dev/getsPrivateEndpointConnection.d.ts.map +1 -0
- package/dist-esm/samples-dev/getsPrivateEndpointConnection.js +32 -0
- package/dist-esm/samples-dev/getsPrivateEndpointConnection.js.map +1 -0
- package/dist-esm/samples-dev/listMachinesByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listMachinesByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listMachinesByResourceGroup.js +43 -0
- package/dist-esm/samples-dev/listMachinesByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeCreate.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopeCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeCreate.js +32 -0
- package/dist-esm/samples-dev/privateLinkScopeCreate.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeGet.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopeGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeGet.js +31 -0
- package/dist-esm/samples-dev/privateLinkScopeGet.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdate.js +35 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdate.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.js +34 -0
- package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesDelete.js +31 -0
- package/dist-esm/samples-dev/privateLinkScopesDelete.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesListJson.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkScopesListJson.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkScopesListJson.js +43 -0
- package/dist-esm/samples-dev/privateLinkScopesListJson.js.map +1 -0
- package/dist-esm/samples-dev/upgradeMachineExtensions.d.ts +2 -0
- package/dist-esm/samples-dev/upgradeMachineExtensions.d.ts.map +1 -0
- package/dist-esm/samples-dev/upgradeMachineExtensions.js +37 -0
- package/dist-esm/samples-dev/upgradeMachineExtensions.js.map +1 -0
- package/dist-esm/src/hybridComputeManagementClient.d.ts +40 -0
- package/dist-esm/src/hybridComputeManagementClient.d.ts.map +1 -0
- package/dist-esm/src/hybridComputeManagementClient.js +138 -0
- package/dist-esm/src/hybridComputeManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +875 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +43 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +45 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +829 -555
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +25 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +219 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/machineExtensions.d.ts +99 -0
- package/dist-esm/src/operations/machineExtensions.d.ts.map +1 -0
- package/dist-esm/src/operations/machineExtensions.js +429 -0
- package/dist-esm/src/operations/machineExtensions.js.map +1 -0
- package/dist-esm/src/operations/machines.d.ts +71 -0
- package/dist-esm/src/operations/machines.d.ts.map +1 -0
- package/dist-esm/src/operations/machines.js +294 -0
- package/dist-esm/src/operations/machines.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +90 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +337 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +169 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/privateLinkScopes.d.ts +108 -0
- package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkScopes.js +466 -0
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/machineExtensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/machines.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/machines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/machines.js +9 -0
- package/dist-esm/src/operationsInterfaces/machines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkScopes.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +80 -33
- package/review/arm-hybridcompute.api.md +708 -0
- package/rollup.config.js +181 -30
- package/src/hybridComputeManagementClient.ts +204 -37
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +744 -786
- package/src/models/mappers.ts +836 -576
- package/src/models/parameters.ts +192 -33
- package/src/operations/index.ts +6 -5
- package/src/operations/machineExtensions.ts +484 -275
- package/src/operations/machines.ts +240 -225
- package/src/operations/operations.ts +66 -42
- package/src/operations/privateEndpointConnections.ts +483 -0
- package/src/operations/privateLinkResources.ts +233 -0
- package/src/operations/privateLinkScopes.ts +599 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
- package/src/operationsInterfaces/machineExtensions.ts +147 -0
- package/src/operationsInterfaces/machines.ts +62 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/src/operationsInterfaces/privateLinkScopes.ts +132 -0
- package/tsconfig.json +5 -4
- package/types/arm-hybridcompute.d.ts +1280 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-hybridcompute.js +0 -1971
- package/dist/arm-hybridcompute.js.map +0 -1
- package/dist/arm-hybridcompute.min.js +0 -1
- package/dist/arm-hybridcompute.min.js.map +0 -1
- package/esm/hybridComputeManagementClient.d.ts +0 -27
- package/esm/hybridComputeManagementClient.d.ts.map +0 -1
- package/esm/hybridComputeManagementClient.js +0 -41
- package/esm/hybridComputeManagementClient.js.map +0 -1
- package/esm/hybridComputeManagementClientContext.d.ts +0 -23
- package/esm/hybridComputeManagementClientContext.d.ts.map +0 -1
- package/esm/hybridComputeManagementClientContext.js +0 -62
- package/esm/hybridComputeManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -971
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/machineExtensionsMappers.d.ts +0 -2
- package/esm/models/machineExtensionsMappers.d.ts.map +0 -1
- package/esm/models/machineExtensionsMappers.js +0 -9
- package/esm/models/machineExtensionsMappers.js.map +0 -1
- package/esm/models/machinesMappers.d.ts +0 -2
- package/esm/models/machinesMappers.d.ts.map +0 -1
- package/esm/models/machinesMappers.js +0 -9
- package/esm/models/machinesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -32
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -93
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/index.d.ts +0 -4
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/machineExtensions.d.ts +0 -135
- package/esm/operations/machineExtensions.d.ts.map +0 -1
- package/esm/operations/machineExtensions.js +0 -294
- package/esm/operations/machineExtensions.js.map +0 -1
- package/esm/operations/machines.d.ts +0 -128
- package/esm/operations/machines.d.ts.map +0 -1
- package/esm/operations/machines.js +0 -197
- package/esm/operations/machines.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/hybridComputeManagementClientContext.ts +0 -69
- package/src/models/machineExtensionsMappers.ts +0 -31
- package/src/models/machinesMappers.ts +0 -28
- package/src/models/operationsMappers.ts +0 -14
|
@@ -1,1971 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmHybridcompute = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
56
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
68
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var OperationValue = {
|
|
76
|
-
serializedName: "OperationValue",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "OperationValue",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
origin: {
|
|
82
|
-
readOnly: true,
|
|
83
|
-
serializedName: "origin",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
name: {
|
|
89
|
-
readOnly: true,
|
|
90
|
-
serializedName: "name",
|
|
91
|
-
type: {
|
|
92
|
-
name: "String"
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
operation: {
|
|
96
|
-
readOnly: true,
|
|
97
|
-
serializedName: "display.operation",
|
|
98
|
-
type: {
|
|
99
|
-
name: "String"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
resource: {
|
|
103
|
-
readOnly: true,
|
|
104
|
-
serializedName: "display.resource",
|
|
105
|
-
type: {
|
|
106
|
-
name: "String"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
description: {
|
|
110
|
-
readOnly: true,
|
|
111
|
-
serializedName: "display.description",
|
|
112
|
-
type: {
|
|
113
|
-
name: "String"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
provider: {
|
|
117
|
-
readOnly: true,
|
|
118
|
-
serializedName: "display.provider",
|
|
119
|
-
type: {
|
|
120
|
-
name: "String"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
var OperationValueDisplayModel = {
|
|
127
|
-
serializedName: "OperationValueDisplay",
|
|
128
|
-
type: {
|
|
129
|
-
name: "Composite",
|
|
130
|
-
className: "OperationValueDisplayModel",
|
|
131
|
-
modelProperties: {
|
|
132
|
-
operation: {
|
|
133
|
-
readOnly: true,
|
|
134
|
-
serializedName: "operation",
|
|
135
|
-
type: {
|
|
136
|
-
name: "String"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
resource: {
|
|
140
|
-
readOnly: true,
|
|
141
|
-
serializedName: "resource",
|
|
142
|
-
type: {
|
|
143
|
-
name: "String"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
description: {
|
|
147
|
-
readOnly: true,
|
|
148
|
-
serializedName: "description",
|
|
149
|
-
type: {
|
|
150
|
-
name: "String"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
provider: {
|
|
154
|
-
readOnly: true,
|
|
155
|
-
serializedName: "provider",
|
|
156
|
-
type: {
|
|
157
|
-
name: "String"
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
var OSProfile = {
|
|
164
|
-
serializedName: "OSProfile",
|
|
165
|
-
type: {
|
|
166
|
-
name: "Composite",
|
|
167
|
-
className: "OSProfile",
|
|
168
|
-
modelProperties: {
|
|
169
|
-
computerName: {
|
|
170
|
-
readOnly: true,
|
|
171
|
-
serializedName: "computerName",
|
|
172
|
-
type: {
|
|
173
|
-
name: "String"
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
var LocationData = {
|
|
180
|
-
serializedName: "locationData",
|
|
181
|
-
type: {
|
|
182
|
-
name: "Composite",
|
|
183
|
-
className: "LocationData",
|
|
184
|
-
modelProperties: {
|
|
185
|
-
name: {
|
|
186
|
-
required: true,
|
|
187
|
-
serializedName: "name",
|
|
188
|
-
constraints: {
|
|
189
|
-
MaxLength: 256
|
|
190
|
-
},
|
|
191
|
-
type: {
|
|
192
|
-
name: "String"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
city: {
|
|
196
|
-
serializedName: "city",
|
|
197
|
-
type: {
|
|
198
|
-
name: "String"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
district: {
|
|
202
|
-
serializedName: "district",
|
|
203
|
-
type: {
|
|
204
|
-
name: "String"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
countryOrRegion: {
|
|
208
|
-
serializedName: "countryOrRegion",
|
|
209
|
-
type: {
|
|
210
|
-
name: "String"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
var MachinePropertiesOsProfile = {
|
|
217
|
-
serializedName: "MachineProperties_osProfile",
|
|
218
|
-
type: {
|
|
219
|
-
name: "Composite",
|
|
220
|
-
className: "MachinePropertiesOsProfile",
|
|
221
|
-
modelProperties: __assign({}, OSProfile.type.modelProperties)
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
var ErrorDetail = {
|
|
225
|
-
serializedName: "ErrorDetail",
|
|
226
|
-
type: {
|
|
227
|
-
name: "Composite",
|
|
228
|
-
className: "ErrorDetail",
|
|
229
|
-
modelProperties: {
|
|
230
|
-
code: {
|
|
231
|
-
required: true,
|
|
232
|
-
serializedName: "code",
|
|
233
|
-
type: {
|
|
234
|
-
name: "String"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
message: {
|
|
238
|
-
required: true,
|
|
239
|
-
serializedName: "message",
|
|
240
|
-
type: {
|
|
241
|
-
name: "String"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
target: {
|
|
245
|
-
serializedName: "target",
|
|
246
|
-
type: {
|
|
247
|
-
name: "String"
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
details: {
|
|
251
|
-
serializedName: "details",
|
|
252
|
-
type: {
|
|
253
|
-
name: "Sequence",
|
|
254
|
-
element: {
|
|
255
|
-
type: {
|
|
256
|
-
name: "Composite",
|
|
257
|
-
className: "ErrorDetail"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
var MachineExtensionInstanceViewStatus = {
|
|
266
|
-
serializedName: "MachineExtensionInstanceView_status",
|
|
267
|
-
type: {
|
|
268
|
-
name: "Composite",
|
|
269
|
-
className: "MachineExtensionInstanceViewStatus",
|
|
270
|
-
modelProperties: {
|
|
271
|
-
code: {
|
|
272
|
-
readOnly: true,
|
|
273
|
-
serializedName: "code",
|
|
274
|
-
type: {
|
|
275
|
-
name: "String"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
level: {
|
|
279
|
-
readOnly: true,
|
|
280
|
-
serializedName: "level",
|
|
281
|
-
type: {
|
|
282
|
-
name: "String"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
displayStatus: {
|
|
286
|
-
readOnly: true,
|
|
287
|
-
serializedName: "displayStatus",
|
|
288
|
-
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
message: {
|
|
293
|
-
readOnly: true,
|
|
294
|
-
serializedName: "message",
|
|
295
|
-
type: {
|
|
296
|
-
name: "String"
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
time: {
|
|
300
|
-
readOnly: true,
|
|
301
|
-
serializedName: "time",
|
|
302
|
-
type: {
|
|
303
|
-
name: "DateTime"
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
};
|
|
309
|
-
var MachineExtensionInstanceView = {
|
|
310
|
-
serializedName: "MachineExtensionInstanceView",
|
|
311
|
-
type: {
|
|
312
|
-
name: "Composite",
|
|
313
|
-
className: "MachineExtensionInstanceView",
|
|
314
|
-
modelProperties: {
|
|
315
|
-
name: {
|
|
316
|
-
readOnly: true,
|
|
317
|
-
serializedName: "name",
|
|
318
|
-
type: {
|
|
319
|
-
name: "String"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
type: {
|
|
323
|
-
readOnly: true,
|
|
324
|
-
serializedName: "type",
|
|
325
|
-
type: {
|
|
326
|
-
name: "String"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
typeHandlerVersion: {
|
|
330
|
-
readOnly: true,
|
|
331
|
-
serializedName: "typeHandlerVersion",
|
|
332
|
-
type: {
|
|
333
|
-
name: "String"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
status: {
|
|
337
|
-
serializedName: "status",
|
|
338
|
-
type: {
|
|
339
|
-
name: "Composite",
|
|
340
|
-
className: "MachineExtensionInstanceViewStatus"
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
var MachineProperties = {
|
|
347
|
-
serializedName: "MachineProperties",
|
|
348
|
-
type: {
|
|
349
|
-
name: "Composite",
|
|
350
|
-
className: "MachineProperties",
|
|
351
|
-
modelProperties: {
|
|
352
|
-
locationData: {
|
|
353
|
-
serializedName: "locationData",
|
|
354
|
-
type: {
|
|
355
|
-
name: "Composite",
|
|
356
|
-
className: "LocationData"
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
osProfile: {
|
|
360
|
-
serializedName: "osProfile",
|
|
361
|
-
type: {
|
|
362
|
-
name: "Composite",
|
|
363
|
-
className: "MachinePropertiesOsProfile"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
provisioningState: {
|
|
367
|
-
readOnly: true,
|
|
368
|
-
serializedName: "provisioningState",
|
|
369
|
-
type: {
|
|
370
|
-
name: "String"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
status: {
|
|
374
|
-
readOnly: true,
|
|
375
|
-
serializedName: "status",
|
|
376
|
-
type: {
|
|
377
|
-
name: "String"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
lastStatusChange: {
|
|
381
|
-
readOnly: true,
|
|
382
|
-
serializedName: "lastStatusChange",
|
|
383
|
-
type: {
|
|
384
|
-
name: "DateTime"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
errorDetails: {
|
|
388
|
-
readOnly: true,
|
|
389
|
-
serializedName: "errorDetails",
|
|
390
|
-
type: {
|
|
391
|
-
name: "Sequence",
|
|
392
|
-
element: {
|
|
393
|
-
type: {
|
|
394
|
-
name: "Composite",
|
|
395
|
-
className: "ErrorDetail"
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
agentVersion: {
|
|
401
|
-
readOnly: true,
|
|
402
|
-
serializedName: "agentVersion",
|
|
403
|
-
type: {
|
|
404
|
-
name: "String"
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
vmId: {
|
|
408
|
-
serializedName: "vmId",
|
|
409
|
-
type: {
|
|
410
|
-
name: "String"
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
displayName: {
|
|
414
|
-
readOnly: true,
|
|
415
|
-
serializedName: "displayName",
|
|
416
|
-
type: {
|
|
417
|
-
name: "String"
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
machineFqdn: {
|
|
421
|
-
readOnly: true,
|
|
422
|
-
serializedName: "machineFqdn",
|
|
423
|
-
type: {
|
|
424
|
-
name: "String"
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
clientPublicKey: {
|
|
428
|
-
serializedName: "clientPublicKey",
|
|
429
|
-
type: {
|
|
430
|
-
name: "String"
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
osName: {
|
|
434
|
-
readOnly: true,
|
|
435
|
-
serializedName: "osName",
|
|
436
|
-
type: {
|
|
437
|
-
name: "String"
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
osVersion: {
|
|
441
|
-
readOnly: true,
|
|
442
|
-
serializedName: "osVersion",
|
|
443
|
-
type: {
|
|
444
|
-
name: "String"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
vmUuid: {
|
|
448
|
-
readOnly: true,
|
|
449
|
-
serializedName: "vmUuid",
|
|
450
|
-
type: {
|
|
451
|
-
name: "String"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
extensions: {
|
|
455
|
-
readOnly: true,
|
|
456
|
-
serializedName: "extensions",
|
|
457
|
-
type: {
|
|
458
|
-
name: "Sequence",
|
|
459
|
-
element: {
|
|
460
|
-
type: {
|
|
461
|
-
name: "Composite",
|
|
462
|
-
className: "MachineExtensionInstanceView"
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
osSku: {
|
|
468
|
-
readOnly: true,
|
|
469
|
-
serializedName: "osSku",
|
|
470
|
-
type: {
|
|
471
|
-
name: "String"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
domainName: {
|
|
475
|
-
readOnly: true,
|
|
476
|
-
serializedName: "domainName",
|
|
477
|
-
type: {
|
|
478
|
-
name: "String"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
adFqdn: {
|
|
482
|
-
readOnly: true,
|
|
483
|
-
serializedName: "adFqdn",
|
|
484
|
-
type: {
|
|
485
|
-
name: "String"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
dnsFqdn: {
|
|
489
|
-
readOnly: true,
|
|
490
|
-
serializedName: "dnsFqdn",
|
|
491
|
-
type: {
|
|
492
|
-
name: "String"
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
};
|
|
498
|
-
var MachineUpdateProperties = {
|
|
499
|
-
serializedName: "MachineUpdateProperties",
|
|
500
|
-
type: {
|
|
501
|
-
name: "Composite",
|
|
502
|
-
className: "MachineUpdateProperties",
|
|
503
|
-
modelProperties: {
|
|
504
|
-
locationData: {
|
|
505
|
-
serializedName: "locationData",
|
|
506
|
-
type: {
|
|
507
|
-
name: "Composite",
|
|
508
|
-
className: "LocationData"
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
};
|
|
514
|
-
var Identity = {
|
|
515
|
-
serializedName: "Identity",
|
|
516
|
-
type: {
|
|
517
|
-
name: "Composite",
|
|
518
|
-
className: "Identity",
|
|
519
|
-
modelProperties: {
|
|
520
|
-
type: {
|
|
521
|
-
serializedName: "type",
|
|
522
|
-
type: {
|
|
523
|
-
name: "String"
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
principalId: {
|
|
527
|
-
readOnly: true,
|
|
528
|
-
serializedName: "principalId",
|
|
529
|
-
type: {
|
|
530
|
-
name: "String"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
tenantId: {
|
|
534
|
-
readOnly: true,
|
|
535
|
-
serializedName: "tenantId",
|
|
536
|
-
type: {
|
|
537
|
-
name: "String"
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
};
|
|
543
|
-
var MachineIdentity = {
|
|
544
|
-
serializedName: "Machine_identity",
|
|
545
|
-
type: {
|
|
546
|
-
name: "Composite",
|
|
547
|
-
className: "MachineIdentity",
|
|
548
|
-
modelProperties: __assign({}, Identity.type.modelProperties)
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
var Resource = {
|
|
552
|
-
serializedName: "Resource",
|
|
553
|
-
type: {
|
|
554
|
-
name: "Composite",
|
|
555
|
-
className: "Resource",
|
|
556
|
-
modelProperties: {
|
|
557
|
-
id: {
|
|
558
|
-
readOnly: true,
|
|
559
|
-
serializedName: "id",
|
|
560
|
-
type: {
|
|
561
|
-
name: "String"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
name: {
|
|
565
|
-
readOnly: true,
|
|
566
|
-
serializedName: "name",
|
|
567
|
-
type: {
|
|
568
|
-
name: "String"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
type: {
|
|
572
|
-
readOnly: true,
|
|
573
|
-
serializedName: "type",
|
|
574
|
-
type: {
|
|
575
|
-
name: "String"
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
};
|
|
581
|
-
var TrackedResource = {
|
|
582
|
-
serializedName: "TrackedResource",
|
|
583
|
-
type: {
|
|
584
|
-
name: "Composite",
|
|
585
|
-
className: "TrackedResource",
|
|
586
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
|
|
587
|
-
serializedName: "tags",
|
|
588
|
-
type: {
|
|
589
|
-
name: "Dictionary",
|
|
590
|
-
value: {
|
|
591
|
-
type: {
|
|
592
|
-
name: "String"
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
}, location: {
|
|
597
|
-
required: true,
|
|
598
|
-
serializedName: "location",
|
|
599
|
-
type: {
|
|
600
|
-
name: "String"
|
|
601
|
-
}
|
|
602
|
-
} })
|
|
603
|
-
}
|
|
604
|
-
};
|
|
605
|
-
var Machine = {
|
|
606
|
-
serializedName: "Machine",
|
|
607
|
-
type: {
|
|
608
|
-
name: "Composite",
|
|
609
|
-
className: "Machine",
|
|
610
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { locationData: {
|
|
611
|
-
serializedName: "properties.locationData",
|
|
612
|
-
type: {
|
|
613
|
-
name: "Composite",
|
|
614
|
-
className: "LocationData"
|
|
615
|
-
}
|
|
616
|
-
}, osProfile: {
|
|
617
|
-
serializedName: "properties.osProfile",
|
|
618
|
-
type: {
|
|
619
|
-
name: "Composite",
|
|
620
|
-
className: "MachinePropertiesOsProfile"
|
|
621
|
-
}
|
|
622
|
-
}, provisioningState: {
|
|
623
|
-
readOnly: true,
|
|
624
|
-
serializedName: "properties.provisioningState",
|
|
625
|
-
type: {
|
|
626
|
-
name: "String"
|
|
627
|
-
}
|
|
628
|
-
}, status: {
|
|
629
|
-
readOnly: true,
|
|
630
|
-
serializedName: "properties.status",
|
|
631
|
-
type: {
|
|
632
|
-
name: "String"
|
|
633
|
-
}
|
|
634
|
-
}, lastStatusChange: {
|
|
635
|
-
readOnly: true,
|
|
636
|
-
serializedName: "properties.lastStatusChange",
|
|
637
|
-
type: {
|
|
638
|
-
name: "DateTime"
|
|
639
|
-
}
|
|
640
|
-
}, errorDetails: {
|
|
641
|
-
readOnly: true,
|
|
642
|
-
serializedName: "properties.errorDetails",
|
|
643
|
-
type: {
|
|
644
|
-
name: "Sequence",
|
|
645
|
-
element: {
|
|
646
|
-
type: {
|
|
647
|
-
name: "Composite",
|
|
648
|
-
className: "ErrorDetail"
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
}, agentVersion: {
|
|
653
|
-
readOnly: true,
|
|
654
|
-
serializedName: "properties.agentVersion",
|
|
655
|
-
type: {
|
|
656
|
-
name: "String"
|
|
657
|
-
}
|
|
658
|
-
}, vmId: {
|
|
659
|
-
serializedName: "properties.vmId",
|
|
660
|
-
type: {
|
|
661
|
-
name: "String"
|
|
662
|
-
}
|
|
663
|
-
}, displayName: {
|
|
664
|
-
readOnly: true,
|
|
665
|
-
serializedName: "properties.displayName",
|
|
666
|
-
type: {
|
|
667
|
-
name: "String"
|
|
668
|
-
}
|
|
669
|
-
}, machineFqdn: {
|
|
670
|
-
readOnly: true,
|
|
671
|
-
serializedName: "properties.machineFqdn",
|
|
672
|
-
type: {
|
|
673
|
-
name: "String"
|
|
674
|
-
}
|
|
675
|
-
}, clientPublicKey: {
|
|
676
|
-
serializedName: "properties.clientPublicKey",
|
|
677
|
-
type: {
|
|
678
|
-
name: "String"
|
|
679
|
-
}
|
|
680
|
-
}, osName: {
|
|
681
|
-
readOnly: true,
|
|
682
|
-
serializedName: "properties.osName",
|
|
683
|
-
type: {
|
|
684
|
-
name: "String"
|
|
685
|
-
}
|
|
686
|
-
}, osVersion: {
|
|
687
|
-
readOnly: true,
|
|
688
|
-
serializedName: "properties.osVersion",
|
|
689
|
-
type: {
|
|
690
|
-
name: "String"
|
|
691
|
-
}
|
|
692
|
-
}, vmUuid: {
|
|
693
|
-
readOnly: true,
|
|
694
|
-
serializedName: "properties.vmUuid",
|
|
695
|
-
type: {
|
|
696
|
-
name: "String"
|
|
697
|
-
}
|
|
698
|
-
}, extensions: {
|
|
699
|
-
readOnly: true,
|
|
700
|
-
serializedName: "properties.extensions",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Sequence",
|
|
703
|
-
element: {
|
|
704
|
-
type: {
|
|
705
|
-
name: "Composite",
|
|
706
|
-
className: "MachineExtensionInstanceView"
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}, osSku: {
|
|
711
|
-
readOnly: true,
|
|
712
|
-
serializedName: "properties.osSku",
|
|
713
|
-
type: {
|
|
714
|
-
name: "String"
|
|
715
|
-
}
|
|
716
|
-
}, domainName: {
|
|
717
|
-
readOnly: true,
|
|
718
|
-
serializedName: "properties.domainName",
|
|
719
|
-
type: {
|
|
720
|
-
name: "String"
|
|
721
|
-
}
|
|
722
|
-
}, adFqdn: {
|
|
723
|
-
readOnly: true,
|
|
724
|
-
serializedName: "properties.adFqdn",
|
|
725
|
-
type: {
|
|
726
|
-
name: "String"
|
|
727
|
-
}
|
|
728
|
-
}, dnsFqdn: {
|
|
729
|
-
readOnly: true,
|
|
730
|
-
serializedName: "properties.dnsFqdn",
|
|
731
|
-
type: {
|
|
732
|
-
name: "String"
|
|
733
|
-
}
|
|
734
|
-
}, identity: {
|
|
735
|
-
serializedName: "identity",
|
|
736
|
-
type: {
|
|
737
|
-
name: "Composite",
|
|
738
|
-
className: "MachineIdentity"
|
|
739
|
-
}
|
|
740
|
-
} })
|
|
741
|
-
}
|
|
742
|
-
};
|
|
743
|
-
var UpdateResource = {
|
|
744
|
-
serializedName: "UpdateResource",
|
|
745
|
-
type: {
|
|
746
|
-
name: "Composite",
|
|
747
|
-
className: "UpdateResource",
|
|
748
|
-
modelProperties: {
|
|
749
|
-
tags: {
|
|
750
|
-
serializedName: "tags",
|
|
751
|
-
type: {
|
|
752
|
-
name: "Dictionary",
|
|
753
|
-
value: {
|
|
754
|
-
type: {
|
|
755
|
-
name: "String"
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
|
-
var MachineUpdate = {
|
|
764
|
-
serializedName: "MachineUpdate",
|
|
765
|
-
type: {
|
|
766
|
-
name: "Composite",
|
|
767
|
-
className: "MachineUpdate",
|
|
768
|
-
modelProperties: __assign(__assign({}, UpdateResource.type.modelProperties), { type: {
|
|
769
|
-
serializedName: "identity.type",
|
|
770
|
-
type: {
|
|
771
|
-
name: "String"
|
|
772
|
-
}
|
|
773
|
-
}, principalId: {
|
|
774
|
-
readOnly: true,
|
|
775
|
-
serializedName: "identity.principalId",
|
|
776
|
-
type: {
|
|
777
|
-
name: "String"
|
|
778
|
-
}
|
|
779
|
-
}, tenantId: {
|
|
780
|
-
readOnly: true,
|
|
781
|
-
serializedName: "identity.tenantId",
|
|
782
|
-
type: {
|
|
783
|
-
name: "String"
|
|
784
|
-
}
|
|
785
|
-
}, locationData: {
|
|
786
|
-
serializedName: "properties.locationData",
|
|
787
|
-
type: {
|
|
788
|
-
name: "Composite",
|
|
789
|
-
className: "LocationData"
|
|
790
|
-
}
|
|
791
|
-
} })
|
|
792
|
-
}
|
|
793
|
-
};
|
|
794
|
-
var ErrorResponse = {
|
|
795
|
-
serializedName: "ErrorResponse",
|
|
796
|
-
type: {
|
|
797
|
-
name: "Composite",
|
|
798
|
-
className: "ErrorResponse",
|
|
799
|
-
modelProperties: {
|
|
800
|
-
error: {
|
|
801
|
-
required: true,
|
|
802
|
-
serializedName: "error",
|
|
803
|
-
type: {
|
|
804
|
-
name: "Composite",
|
|
805
|
-
className: "ErrorDetail"
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
};
|
|
811
|
-
var MachineExtension = {
|
|
812
|
-
serializedName: "MachineExtension",
|
|
813
|
-
type: {
|
|
814
|
-
name: "Composite",
|
|
815
|
-
className: "MachineExtension",
|
|
816
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { forceUpdateTag: {
|
|
817
|
-
serializedName: "properties.forceUpdateTag",
|
|
818
|
-
type: {
|
|
819
|
-
name: "String"
|
|
820
|
-
}
|
|
821
|
-
}, publisher: {
|
|
822
|
-
serializedName: "properties.publisher",
|
|
823
|
-
type: {
|
|
824
|
-
name: "String"
|
|
825
|
-
}
|
|
826
|
-
}, machineExtensionType: {
|
|
827
|
-
serializedName: "properties.type",
|
|
828
|
-
type: {
|
|
829
|
-
name: "String"
|
|
830
|
-
}
|
|
831
|
-
}, typeHandlerVersion: {
|
|
832
|
-
serializedName: "properties.typeHandlerVersion",
|
|
833
|
-
type: {
|
|
834
|
-
name: "String"
|
|
835
|
-
}
|
|
836
|
-
}, autoUpgradeMinorVersion: {
|
|
837
|
-
serializedName: "properties.autoUpgradeMinorVersion",
|
|
838
|
-
type: {
|
|
839
|
-
name: "Boolean"
|
|
840
|
-
}
|
|
841
|
-
}, settings: {
|
|
842
|
-
serializedName: "properties.settings",
|
|
843
|
-
type: {
|
|
844
|
-
name: "Object"
|
|
845
|
-
}
|
|
846
|
-
}, protectedSettings: {
|
|
847
|
-
serializedName: "properties.protectedSettings",
|
|
848
|
-
type: {
|
|
849
|
-
name: "Object"
|
|
850
|
-
}
|
|
851
|
-
}, provisioningState: {
|
|
852
|
-
readOnly: true,
|
|
853
|
-
serializedName: "properties.provisioningState",
|
|
854
|
-
type: {
|
|
855
|
-
name: "String"
|
|
856
|
-
}
|
|
857
|
-
}, instanceView: {
|
|
858
|
-
serializedName: "properties.instanceView",
|
|
859
|
-
type: {
|
|
860
|
-
name: "Composite",
|
|
861
|
-
className: "MachineExtensionPropertiesInstanceView"
|
|
862
|
-
}
|
|
863
|
-
} })
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
var MachineExtensionUpdate = {
|
|
867
|
-
serializedName: "MachineExtensionUpdate",
|
|
868
|
-
type: {
|
|
869
|
-
name: "Composite",
|
|
870
|
-
className: "MachineExtensionUpdate",
|
|
871
|
-
modelProperties: __assign(__assign({}, UpdateResource.type.modelProperties), { forceUpdateTag: {
|
|
872
|
-
serializedName: "properties.forceUpdateTag",
|
|
873
|
-
type: {
|
|
874
|
-
name: "String"
|
|
875
|
-
}
|
|
876
|
-
}, publisher: {
|
|
877
|
-
serializedName: "properties.publisher",
|
|
878
|
-
type: {
|
|
879
|
-
name: "String"
|
|
880
|
-
}
|
|
881
|
-
}, type: {
|
|
882
|
-
serializedName: "properties.type",
|
|
883
|
-
type: {
|
|
884
|
-
name: "String"
|
|
885
|
-
}
|
|
886
|
-
}, typeHandlerVersion: {
|
|
887
|
-
serializedName: "properties.typeHandlerVersion",
|
|
888
|
-
type: {
|
|
889
|
-
name: "String"
|
|
890
|
-
}
|
|
891
|
-
}, autoUpgradeMinorVersion: {
|
|
892
|
-
serializedName: "properties.autoUpgradeMinorVersion",
|
|
893
|
-
type: {
|
|
894
|
-
name: "Boolean"
|
|
895
|
-
}
|
|
896
|
-
}, settings: {
|
|
897
|
-
serializedName: "properties.settings",
|
|
898
|
-
type: {
|
|
899
|
-
name: "Object"
|
|
900
|
-
}
|
|
901
|
-
}, protectedSettings: {
|
|
902
|
-
serializedName: "properties.protectedSettings",
|
|
903
|
-
type: {
|
|
904
|
-
name: "Object"
|
|
905
|
-
}
|
|
906
|
-
} })
|
|
907
|
-
}
|
|
908
|
-
};
|
|
909
|
-
var MachineExtensionPropertiesInstanceView = {
|
|
910
|
-
serializedName: "MachineExtensionProperties_instanceView",
|
|
911
|
-
type: {
|
|
912
|
-
name: "Composite",
|
|
913
|
-
className: "MachineExtensionPropertiesInstanceView",
|
|
914
|
-
modelProperties: __assign({}, MachineExtensionInstanceView.type.modelProperties)
|
|
915
|
-
}
|
|
916
|
-
};
|
|
917
|
-
var MachineExtensionPropertiesModel = {
|
|
918
|
-
serializedName: "MachineExtensionProperties",
|
|
919
|
-
type: {
|
|
920
|
-
name: "Composite",
|
|
921
|
-
className: "MachineExtensionPropertiesModel",
|
|
922
|
-
modelProperties: {
|
|
923
|
-
forceUpdateTag: {
|
|
924
|
-
serializedName: "forceUpdateTag",
|
|
925
|
-
type: {
|
|
926
|
-
name: "String"
|
|
927
|
-
}
|
|
928
|
-
},
|
|
929
|
-
publisher: {
|
|
930
|
-
serializedName: "publisher",
|
|
931
|
-
type: {
|
|
932
|
-
name: "String"
|
|
933
|
-
}
|
|
934
|
-
},
|
|
935
|
-
type: {
|
|
936
|
-
serializedName: "type",
|
|
937
|
-
type: {
|
|
938
|
-
name: "String"
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
typeHandlerVersion: {
|
|
942
|
-
serializedName: "typeHandlerVersion",
|
|
943
|
-
type: {
|
|
944
|
-
name: "String"
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
autoUpgradeMinorVersion: {
|
|
948
|
-
serializedName: "autoUpgradeMinorVersion",
|
|
949
|
-
type: {
|
|
950
|
-
name: "Boolean"
|
|
951
|
-
}
|
|
952
|
-
},
|
|
953
|
-
settings: {
|
|
954
|
-
serializedName: "settings",
|
|
955
|
-
type: {
|
|
956
|
-
name: "Object"
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
protectedSettings: {
|
|
960
|
-
serializedName: "protectedSettings",
|
|
961
|
-
type: {
|
|
962
|
-
name: "Object"
|
|
963
|
-
}
|
|
964
|
-
},
|
|
965
|
-
provisioningState: {
|
|
966
|
-
readOnly: true,
|
|
967
|
-
serializedName: "provisioningState",
|
|
968
|
-
type: {
|
|
969
|
-
name: "String"
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
instanceView: {
|
|
973
|
-
serializedName: "instanceView",
|
|
974
|
-
type: {
|
|
975
|
-
name: "Composite",
|
|
976
|
-
className: "MachineExtensionPropertiesInstanceView"
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
};
|
|
982
|
-
var MachineExtensionUpdatePropertiesModel = {
|
|
983
|
-
serializedName: "MachineExtensionUpdateProperties",
|
|
984
|
-
type: {
|
|
985
|
-
name: "Composite",
|
|
986
|
-
className: "MachineExtensionUpdatePropertiesModel",
|
|
987
|
-
modelProperties: {
|
|
988
|
-
forceUpdateTag: {
|
|
989
|
-
serializedName: "forceUpdateTag",
|
|
990
|
-
type: {
|
|
991
|
-
name: "String"
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
publisher: {
|
|
995
|
-
serializedName: "publisher",
|
|
996
|
-
type: {
|
|
997
|
-
name: "String"
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
type: {
|
|
1001
|
-
serializedName: "type",
|
|
1002
|
-
type: {
|
|
1003
|
-
name: "String"
|
|
1004
|
-
}
|
|
1005
|
-
},
|
|
1006
|
-
typeHandlerVersion: {
|
|
1007
|
-
serializedName: "typeHandlerVersion",
|
|
1008
|
-
type: {
|
|
1009
|
-
name: "String"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
autoUpgradeMinorVersion: {
|
|
1013
|
-
serializedName: "autoUpgradeMinorVersion",
|
|
1014
|
-
type: {
|
|
1015
|
-
name: "Boolean"
|
|
1016
|
-
}
|
|
1017
|
-
},
|
|
1018
|
-
settings: {
|
|
1019
|
-
serializedName: "settings",
|
|
1020
|
-
type: {
|
|
1021
|
-
name: "Object"
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
protectedSettings: {
|
|
1025
|
-
serializedName: "protectedSettings",
|
|
1026
|
-
type: {
|
|
1027
|
-
name: "Object"
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
};
|
|
1033
|
-
var ProxyResource = {
|
|
1034
|
-
serializedName: "ProxyResource",
|
|
1035
|
-
type: {
|
|
1036
|
-
name: "Composite",
|
|
1037
|
-
className: "ProxyResource",
|
|
1038
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
|
1039
|
-
}
|
|
1040
|
-
};
|
|
1041
|
-
var AzureEntityResource = {
|
|
1042
|
-
serializedName: "AzureEntityResource",
|
|
1043
|
-
type: {
|
|
1044
|
-
name: "Composite",
|
|
1045
|
-
className: "AzureEntityResource",
|
|
1046
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
|
|
1047
|
-
readOnly: true,
|
|
1048
|
-
serializedName: "etag",
|
|
1049
|
-
type: {
|
|
1050
|
-
name: "String"
|
|
1051
|
-
}
|
|
1052
|
-
} })
|
|
1053
|
-
}
|
|
1054
|
-
};
|
|
1055
|
-
var MachineListResult = {
|
|
1056
|
-
serializedName: "MachineListResult",
|
|
1057
|
-
type: {
|
|
1058
|
-
name: "Composite",
|
|
1059
|
-
className: "MachineListResult",
|
|
1060
|
-
modelProperties: {
|
|
1061
|
-
value: {
|
|
1062
|
-
required: true,
|
|
1063
|
-
serializedName: "",
|
|
1064
|
-
type: {
|
|
1065
|
-
name: "Sequence",
|
|
1066
|
-
element: {
|
|
1067
|
-
type: {
|
|
1068
|
-
name: "Composite",
|
|
1069
|
-
className: "Machine"
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
},
|
|
1074
|
-
nextLink: {
|
|
1075
|
-
serializedName: "nextLink",
|
|
1076
|
-
type: {
|
|
1077
|
-
name: "String"
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
|
-
var MachineExtensionsListResult = {
|
|
1084
|
-
serializedName: "MachineExtensionsListResult",
|
|
1085
|
-
type: {
|
|
1086
|
-
name: "Composite",
|
|
1087
|
-
className: "MachineExtensionsListResult",
|
|
1088
|
-
modelProperties: {
|
|
1089
|
-
value: {
|
|
1090
|
-
serializedName: "",
|
|
1091
|
-
type: {
|
|
1092
|
-
name: "Sequence",
|
|
1093
|
-
element: {
|
|
1094
|
-
type: {
|
|
1095
|
-
name: "Composite",
|
|
1096
|
-
className: "MachineExtension"
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
},
|
|
1101
|
-
nextLink: {
|
|
1102
|
-
serializedName: "nextLink",
|
|
1103
|
-
type: {
|
|
1104
|
-
name: "String"
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
};
|
|
1110
|
-
var OperationListResult = {
|
|
1111
|
-
serializedName: "OperationListResult",
|
|
1112
|
-
type: {
|
|
1113
|
-
name: "Composite",
|
|
1114
|
-
className: "OperationListResult",
|
|
1115
|
-
modelProperties: {
|
|
1116
|
-
value: {
|
|
1117
|
-
readOnly: true,
|
|
1118
|
-
serializedName: "",
|
|
1119
|
-
type: {
|
|
1120
|
-
name: "Sequence",
|
|
1121
|
-
element: {
|
|
1122
|
-
type: {
|
|
1123
|
-
name: "Composite",
|
|
1124
|
-
className: "OperationValue"
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
};
|
|
1132
|
-
|
|
1133
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1134
|
-
__proto__: null,
|
|
1135
|
-
CloudError: CloudError,
|
|
1136
|
-
BaseResource: BaseResource,
|
|
1137
|
-
OperationValue: OperationValue,
|
|
1138
|
-
OperationValueDisplayModel: OperationValueDisplayModel,
|
|
1139
|
-
OSProfile: OSProfile,
|
|
1140
|
-
LocationData: LocationData,
|
|
1141
|
-
MachinePropertiesOsProfile: MachinePropertiesOsProfile,
|
|
1142
|
-
ErrorDetail: ErrorDetail,
|
|
1143
|
-
MachineExtensionInstanceViewStatus: MachineExtensionInstanceViewStatus,
|
|
1144
|
-
MachineExtensionInstanceView: MachineExtensionInstanceView,
|
|
1145
|
-
MachineProperties: MachineProperties,
|
|
1146
|
-
MachineUpdateProperties: MachineUpdateProperties,
|
|
1147
|
-
Identity: Identity,
|
|
1148
|
-
MachineIdentity: MachineIdentity,
|
|
1149
|
-
Resource: Resource,
|
|
1150
|
-
TrackedResource: TrackedResource,
|
|
1151
|
-
Machine: Machine,
|
|
1152
|
-
UpdateResource: UpdateResource,
|
|
1153
|
-
MachineUpdate: MachineUpdate,
|
|
1154
|
-
ErrorResponse: ErrorResponse,
|
|
1155
|
-
MachineExtension: MachineExtension,
|
|
1156
|
-
MachineExtensionUpdate: MachineExtensionUpdate,
|
|
1157
|
-
MachineExtensionPropertiesInstanceView: MachineExtensionPropertiesInstanceView,
|
|
1158
|
-
MachineExtensionPropertiesModel: MachineExtensionPropertiesModel,
|
|
1159
|
-
MachineExtensionUpdatePropertiesModel: MachineExtensionUpdatePropertiesModel,
|
|
1160
|
-
ProxyResource: ProxyResource,
|
|
1161
|
-
AzureEntityResource: AzureEntityResource,
|
|
1162
|
-
MachineListResult: MachineListResult,
|
|
1163
|
-
MachineExtensionsListResult: MachineExtensionsListResult,
|
|
1164
|
-
OperationListResult: OperationListResult
|
|
1165
|
-
});
|
|
1166
|
-
|
|
1167
|
-
/*
|
|
1168
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1169
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1170
|
-
*
|
|
1171
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1172
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1173
|
-
*/
|
|
1174
|
-
|
|
1175
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1176
|
-
__proto__: null,
|
|
1177
|
-
AzureEntityResource: AzureEntityResource,
|
|
1178
|
-
BaseResource: BaseResource,
|
|
1179
|
-
ErrorDetail: ErrorDetail,
|
|
1180
|
-
ErrorResponse: ErrorResponse,
|
|
1181
|
-
Identity: Identity,
|
|
1182
|
-
LocationData: LocationData,
|
|
1183
|
-
Machine: Machine,
|
|
1184
|
-
MachineExtension: MachineExtension,
|
|
1185
|
-
MachineExtensionInstanceView: MachineExtensionInstanceView,
|
|
1186
|
-
MachineExtensionInstanceViewStatus: MachineExtensionInstanceViewStatus,
|
|
1187
|
-
MachineExtensionPropertiesInstanceView: MachineExtensionPropertiesInstanceView,
|
|
1188
|
-
MachineIdentity: MachineIdentity,
|
|
1189
|
-
MachineListResult: MachineListResult,
|
|
1190
|
-
MachinePropertiesOsProfile: MachinePropertiesOsProfile,
|
|
1191
|
-
OSProfile: OSProfile,
|
|
1192
|
-
ProxyResource: ProxyResource,
|
|
1193
|
-
Resource: Resource,
|
|
1194
|
-
TrackedResource: TrackedResource
|
|
1195
|
-
});
|
|
1196
|
-
|
|
1197
|
-
/*
|
|
1198
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1199
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1200
|
-
* license information.
|
|
1201
|
-
*
|
|
1202
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1203
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1204
|
-
* regenerated.
|
|
1205
|
-
*/
|
|
1206
|
-
var acceptLanguage = {
|
|
1207
|
-
parameterPath: "acceptLanguage",
|
|
1208
|
-
mapper: {
|
|
1209
|
-
serializedName: "accept-language",
|
|
1210
|
-
defaultValue: 'en-US',
|
|
1211
|
-
type: {
|
|
1212
|
-
name: "String"
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
};
|
|
1216
|
-
var apiVersion = {
|
|
1217
|
-
parameterPath: "apiVersion",
|
|
1218
|
-
mapper: {
|
|
1219
|
-
required: true,
|
|
1220
|
-
serializedName: "api-version",
|
|
1221
|
-
type: {
|
|
1222
|
-
name: "String"
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
};
|
|
1226
|
-
var expand = {
|
|
1227
|
-
parameterPath: [
|
|
1228
|
-
"options",
|
|
1229
|
-
"expand"
|
|
1230
|
-
],
|
|
1231
|
-
mapper: {
|
|
1232
|
-
serializedName: "$expand",
|
|
1233
|
-
type: {
|
|
1234
|
-
name: "String"
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
};
|
|
1238
|
-
var extensionName = {
|
|
1239
|
-
parameterPath: "extensionName",
|
|
1240
|
-
mapper: {
|
|
1241
|
-
required: true,
|
|
1242
|
-
serializedName: "extensionName",
|
|
1243
|
-
type: {
|
|
1244
|
-
name: "String"
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
};
|
|
1248
|
-
var name = {
|
|
1249
|
-
parameterPath: "name",
|
|
1250
|
-
mapper: {
|
|
1251
|
-
required: true,
|
|
1252
|
-
serializedName: "name",
|
|
1253
|
-
type: {
|
|
1254
|
-
name: "String"
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
};
|
|
1258
|
-
var nextPageLink = {
|
|
1259
|
-
parameterPath: "nextPageLink",
|
|
1260
|
-
mapper: {
|
|
1261
|
-
required: true,
|
|
1262
|
-
serializedName: "nextLink",
|
|
1263
|
-
type: {
|
|
1264
|
-
name: "String"
|
|
1265
|
-
}
|
|
1266
|
-
},
|
|
1267
|
-
skipEncoding: true
|
|
1268
|
-
};
|
|
1269
|
-
var resourceGroupName = {
|
|
1270
|
-
parameterPath: "resourceGroupName",
|
|
1271
|
-
mapper: {
|
|
1272
|
-
required: true,
|
|
1273
|
-
serializedName: "resourceGroupName",
|
|
1274
|
-
type: {
|
|
1275
|
-
name: "String"
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
};
|
|
1279
|
-
var subscriptionId = {
|
|
1280
|
-
parameterPath: "subscriptionId",
|
|
1281
|
-
mapper: {
|
|
1282
|
-
required: true,
|
|
1283
|
-
serializedName: "subscriptionId",
|
|
1284
|
-
type: {
|
|
1285
|
-
name: "String"
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
};
|
|
1289
|
-
|
|
1290
|
-
/*
|
|
1291
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1292
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1293
|
-
* license information.
|
|
1294
|
-
*
|
|
1295
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1296
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1297
|
-
* regenerated.
|
|
1298
|
-
*/
|
|
1299
|
-
/** Class representing a Machines. */
|
|
1300
|
-
var Machines = /** @class */ (function () {
|
|
1301
|
-
/**
|
|
1302
|
-
* Create a Machines.
|
|
1303
|
-
* @param {HybridComputeManagementClientContext} client Reference to the service client.
|
|
1304
|
-
*/
|
|
1305
|
-
function Machines(client) {
|
|
1306
|
-
this.client = client;
|
|
1307
|
-
}
|
|
1308
|
-
Machines.prototype.deleteMethod = function (resourceGroupName, name, options, callback) {
|
|
1309
|
-
return this.client.sendOperationRequest({
|
|
1310
|
-
resourceGroupName: resourceGroupName,
|
|
1311
|
-
name: name,
|
|
1312
|
-
options: options
|
|
1313
|
-
}, deleteMethodOperationSpec, callback);
|
|
1314
|
-
};
|
|
1315
|
-
Machines.prototype.get = function (resourceGroupName, name, options, callback) {
|
|
1316
|
-
return this.client.sendOperationRequest({
|
|
1317
|
-
resourceGroupName: resourceGroupName,
|
|
1318
|
-
name: name,
|
|
1319
|
-
options: options
|
|
1320
|
-
}, getOperationSpec, callback);
|
|
1321
|
-
};
|
|
1322
|
-
Machines.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
1323
|
-
return this.client.sendOperationRequest({
|
|
1324
|
-
resourceGroupName: resourceGroupName,
|
|
1325
|
-
options: options
|
|
1326
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1327
|
-
};
|
|
1328
|
-
Machines.prototype.listBySubscription = function (options, callback) {
|
|
1329
|
-
return this.client.sendOperationRequest({
|
|
1330
|
-
options: options
|
|
1331
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
1332
|
-
};
|
|
1333
|
-
Machines.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1334
|
-
return this.client.sendOperationRequest({
|
|
1335
|
-
nextPageLink: nextPageLink,
|
|
1336
|
-
options: options
|
|
1337
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1338
|
-
};
|
|
1339
|
-
Machines.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
1340
|
-
return this.client.sendOperationRequest({
|
|
1341
|
-
nextPageLink: nextPageLink,
|
|
1342
|
-
options: options
|
|
1343
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
1344
|
-
};
|
|
1345
|
-
return Machines;
|
|
1346
|
-
}());
|
|
1347
|
-
// Operation Specifications
|
|
1348
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1349
|
-
var deleteMethodOperationSpec = {
|
|
1350
|
-
httpMethod: "DELETE",
|
|
1351
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}",
|
|
1352
|
-
urlParameters: [
|
|
1353
|
-
subscriptionId,
|
|
1354
|
-
resourceGroupName,
|
|
1355
|
-
name
|
|
1356
|
-
],
|
|
1357
|
-
queryParameters: [
|
|
1358
|
-
apiVersion
|
|
1359
|
-
],
|
|
1360
|
-
headerParameters: [
|
|
1361
|
-
acceptLanguage
|
|
1362
|
-
],
|
|
1363
|
-
responses: {
|
|
1364
|
-
200: {},
|
|
1365
|
-
204: {},
|
|
1366
|
-
default: {
|
|
1367
|
-
bodyMapper: ErrorResponse
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
|
-
serializer: serializer
|
|
1371
|
-
};
|
|
1372
|
-
var getOperationSpec = {
|
|
1373
|
-
httpMethod: "GET",
|
|
1374
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}",
|
|
1375
|
-
urlParameters: [
|
|
1376
|
-
subscriptionId,
|
|
1377
|
-
resourceGroupName,
|
|
1378
|
-
name
|
|
1379
|
-
],
|
|
1380
|
-
queryParameters: [
|
|
1381
|
-
apiVersion,
|
|
1382
|
-
expand
|
|
1383
|
-
],
|
|
1384
|
-
headerParameters: [
|
|
1385
|
-
acceptLanguage
|
|
1386
|
-
],
|
|
1387
|
-
responses: {
|
|
1388
|
-
200: {
|
|
1389
|
-
bodyMapper: Machine
|
|
1390
|
-
},
|
|
1391
|
-
default: {
|
|
1392
|
-
bodyMapper: ErrorResponse
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
serializer: serializer
|
|
1396
|
-
};
|
|
1397
|
-
var listByResourceGroupOperationSpec = {
|
|
1398
|
-
httpMethod: "GET",
|
|
1399
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines",
|
|
1400
|
-
urlParameters: [
|
|
1401
|
-
subscriptionId,
|
|
1402
|
-
resourceGroupName
|
|
1403
|
-
],
|
|
1404
|
-
queryParameters: [
|
|
1405
|
-
apiVersion
|
|
1406
|
-
],
|
|
1407
|
-
headerParameters: [
|
|
1408
|
-
acceptLanguage
|
|
1409
|
-
],
|
|
1410
|
-
responses: {
|
|
1411
|
-
200: {
|
|
1412
|
-
bodyMapper: MachineListResult
|
|
1413
|
-
},
|
|
1414
|
-
default: {
|
|
1415
|
-
bodyMapper: ErrorResponse
|
|
1416
|
-
}
|
|
1417
|
-
},
|
|
1418
|
-
serializer: serializer
|
|
1419
|
-
};
|
|
1420
|
-
var listBySubscriptionOperationSpec = {
|
|
1421
|
-
httpMethod: "GET",
|
|
1422
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/machines",
|
|
1423
|
-
urlParameters: [
|
|
1424
|
-
subscriptionId
|
|
1425
|
-
],
|
|
1426
|
-
queryParameters: [
|
|
1427
|
-
apiVersion
|
|
1428
|
-
],
|
|
1429
|
-
headerParameters: [
|
|
1430
|
-
acceptLanguage
|
|
1431
|
-
],
|
|
1432
|
-
responses: {
|
|
1433
|
-
200: {
|
|
1434
|
-
bodyMapper: MachineListResult
|
|
1435
|
-
},
|
|
1436
|
-
default: {
|
|
1437
|
-
bodyMapper: ErrorResponse
|
|
1438
|
-
}
|
|
1439
|
-
},
|
|
1440
|
-
serializer: serializer
|
|
1441
|
-
};
|
|
1442
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1443
|
-
httpMethod: "GET",
|
|
1444
|
-
baseUrl: "https://management.azure.com",
|
|
1445
|
-
path: "{nextLink}",
|
|
1446
|
-
urlParameters: [
|
|
1447
|
-
nextPageLink
|
|
1448
|
-
],
|
|
1449
|
-
headerParameters: [
|
|
1450
|
-
acceptLanguage
|
|
1451
|
-
],
|
|
1452
|
-
responses: {
|
|
1453
|
-
200: {
|
|
1454
|
-
bodyMapper: MachineListResult
|
|
1455
|
-
},
|
|
1456
|
-
default: {
|
|
1457
|
-
bodyMapper: ErrorResponse
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
serializer: serializer
|
|
1461
|
-
};
|
|
1462
|
-
var listBySubscriptionNextOperationSpec = {
|
|
1463
|
-
httpMethod: "GET",
|
|
1464
|
-
baseUrl: "https://management.azure.com",
|
|
1465
|
-
path: "{nextLink}",
|
|
1466
|
-
urlParameters: [
|
|
1467
|
-
nextPageLink
|
|
1468
|
-
],
|
|
1469
|
-
headerParameters: [
|
|
1470
|
-
acceptLanguage
|
|
1471
|
-
],
|
|
1472
|
-
responses: {
|
|
1473
|
-
200: {
|
|
1474
|
-
bodyMapper: MachineListResult
|
|
1475
|
-
},
|
|
1476
|
-
default: {
|
|
1477
|
-
bodyMapper: ErrorResponse
|
|
1478
|
-
}
|
|
1479
|
-
},
|
|
1480
|
-
serializer: serializer
|
|
1481
|
-
};
|
|
1482
|
-
|
|
1483
|
-
/*
|
|
1484
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1485
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1486
|
-
*
|
|
1487
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1488
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1489
|
-
*/
|
|
1490
|
-
|
|
1491
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1492
|
-
__proto__: null,
|
|
1493
|
-
AzureEntityResource: AzureEntityResource,
|
|
1494
|
-
BaseResource: BaseResource,
|
|
1495
|
-
CloudError: CloudError,
|
|
1496
|
-
ErrorDetail: ErrorDetail,
|
|
1497
|
-
Identity: Identity,
|
|
1498
|
-
LocationData: LocationData,
|
|
1499
|
-
Machine: Machine,
|
|
1500
|
-
MachineExtension: MachineExtension,
|
|
1501
|
-
MachineExtensionInstanceView: MachineExtensionInstanceView,
|
|
1502
|
-
MachineExtensionInstanceViewStatus: MachineExtensionInstanceViewStatus,
|
|
1503
|
-
MachineExtensionPropertiesInstanceView: MachineExtensionPropertiesInstanceView,
|
|
1504
|
-
MachineExtensionsListResult: MachineExtensionsListResult,
|
|
1505
|
-
MachineExtensionUpdate: MachineExtensionUpdate,
|
|
1506
|
-
MachineIdentity: MachineIdentity,
|
|
1507
|
-
MachinePropertiesOsProfile: MachinePropertiesOsProfile,
|
|
1508
|
-
MachineUpdate: MachineUpdate,
|
|
1509
|
-
OSProfile: OSProfile,
|
|
1510
|
-
ProxyResource: ProxyResource,
|
|
1511
|
-
Resource: Resource,
|
|
1512
|
-
TrackedResource: TrackedResource,
|
|
1513
|
-
UpdateResource: UpdateResource
|
|
1514
|
-
});
|
|
1515
|
-
|
|
1516
|
-
/*
|
|
1517
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1518
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1519
|
-
* license information.
|
|
1520
|
-
*
|
|
1521
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1522
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1523
|
-
* regenerated.
|
|
1524
|
-
*/
|
|
1525
|
-
/** Class representing a MachineExtensions. */
|
|
1526
|
-
var MachineExtensions = /** @class */ (function () {
|
|
1527
|
-
/**
|
|
1528
|
-
* Create a MachineExtensions.
|
|
1529
|
-
* @param {HybridComputeManagementClientContext} client Reference to the service client.
|
|
1530
|
-
*/
|
|
1531
|
-
function MachineExtensions(client) {
|
|
1532
|
-
this.client = client;
|
|
1533
|
-
}
|
|
1534
|
-
/**
|
|
1535
|
-
* The operation to create or update the extension.
|
|
1536
|
-
* @param resourceGroupName The name of the resource group.
|
|
1537
|
-
* @param name The name of the machine where the extension should be created or updated.
|
|
1538
|
-
* @param extensionName The name of the machine extension.
|
|
1539
|
-
* @param extensionParameters Parameters supplied to the Create Machine Extension operation.
|
|
1540
|
-
* @param [options] The optional parameters
|
|
1541
|
-
* @returns Promise<Models.MachineExtensionsCreateOrUpdateResponse>
|
|
1542
|
-
*/
|
|
1543
|
-
MachineExtensions.prototype.createOrUpdate = function (resourceGroupName, name, extensionName, extensionParameters, options) {
|
|
1544
|
-
return this.beginCreateOrUpdate(resourceGroupName, name, extensionName, extensionParameters, options)
|
|
1545
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1546
|
-
};
|
|
1547
|
-
/**
|
|
1548
|
-
* The operation to create or update the extension.
|
|
1549
|
-
* @param resourceGroupName The name of the resource group.
|
|
1550
|
-
* @param name The name of the machine where the extension should be created or updated.
|
|
1551
|
-
* @param extensionName The name of the machine extension.
|
|
1552
|
-
* @param extensionParameters Parameters supplied to the Create Machine Extension operation.
|
|
1553
|
-
* @param [options] The optional parameters
|
|
1554
|
-
* @returns Promise<Models.MachineExtensionsUpdateResponse>
|
|
1555
|
-
*/
|
|
1556
|
-
MachineExtensions.prototype.update = function (resourceGroupName, name, extensionName, extensionParameters, options) {
|
|
1557
|
-
return this.beginUpdate(resourceGroupName, name, extensionName, extensionParameters, options)
|
|
1558
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1559
|
-
};
|
|
1560
|
-
/**
|
|
1561
|
-
* The operation to delete the extension.
|
|
1562
|
-
* @param resourceGroupName The name of the resource group.
|
|
1563
|
-
* @param name The name of the machine where the extension should be deleted.
|
|
1564
|
-
* @param extensionName The name of the machine extension.
|
|
1565
|
-
* @param [options] The optional parameters
|
|
1566
|
-
* @returns Promise<msRest.RestResponse>
|
|
1567
|
-
*/
|
|
1568
|
-
MachineExtensions.prototype.deleteMethod = function (resourceGroupName, name, extensionName, options) {
|
|
1569
|
-
return this.beginDeleteMethod(resourceGroupName, name, extensionName, options)
|
|
1570
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1571
|
-
};
|
|
1572
|
-
MachineExtensions.prototype.get = function (resourceGroupName, name, extensionName, options, callback) {
|
|
1573
|
-
return this.client.sendOperationRequest({
|
|
1574
|
-
resourceGroupName: resourceGroupName,
|
|
1575
|
-
name: name,
|
|
1576
|
-
extensionName: extensionName,
|
|
1577
|
-
options: options
|
|
1578
|
-
}, getOperationSpec$1, callback);
|
|
1579
|
-
};
|
|
1580
|
-
MachineExtensions.prototype.list = function (resourceGroupName, name, options, callback) {
|
|
1581
|
-
return this.client.sendOperationRequest({
|
|
1582
|
-
resourceGroupName: resourceGroupName,
|
|
1583
|
-
name: name,
|
|
1584
|
-
options: options
|
|
1585
|
-
}, listOperationSpec, callback);
|
|
1586
|
-
};
|
|
1587
|
-
/**
|
|
1588
|
-
* The operation to create or update the extension.
|
|
1589
|
-
* @param resourceGroupName The name of the resource group.
|
|
1590
|
-
* @param name The name of the machine where the extension should be created or updated.
|
|
1591
|
-
* @param extensionName The name of the machine extension.
|
|
1592
|
-
* @param extensionParameters Parameters supplied to the Create Machine Extension operation.
|
|
1593
|
-
* @param [options] The optional parameters
|
|
1594
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1595
|
-
*/
|
|
1596
|
-
MachineExtensions.prototype.beginCreateOrUpdate = function (resourceGroupName, name, extensionName, extensionParameters, options) {
|
|
1597
|
-
return this.client.sendLRORequest({
|
|
1598
|
-
resourceGroupName: resourceGroupName,
|
|
1599
|
-
name: name,
|
|
1600
|
-
extensionName: extensionName,
|
|
1601
|
-
extensionParameters: extensionParameters,
|
|
1602
|
-
options: options
|
|
1603
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1604
|
-
};
|
|
1605
|
-
/**
|
|
1606
|
-
* The operation to create or update the extension.
|
|
1607
|
-
* @param resourceGroupName The name of the resource group.
|
|
1608
|
-
* @param name The name of the machine where the extension should be created or updated.
|
|
1609
|
-
* @param extensionName The name of the machine extension.
|
|
1610
|
-
* @param extensionParameters Parameters supplied to the Create Machine Extension operation.
|
|
1611
|
-
* @param [options] The optional parameters
|
|
1612
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1613
|
-
*/
|
|
1614
|
-
MachineExtensions.prototype.beginUpdate = function (resourceGroupName, name, extensionName, extensionParameters, options) {
|
|
1615
|
-
return this.client.sendLRORequest({
|
|
1616
|
-
resourceGroupName: resourceGroupName,
|
|
1617
|
-
name: name,
|
|
1618
|
-
extensionName: extensionName,
|
|
1619
|
-
extensionParameters: extensionParameters,
|
|
1620
|
-
options: options
|
|
1621
|
-
}, beginUpdateOperationSpec, options);
|
|
1622
|
-
};
|
|
1623
|
-
/**
|
|
1624
|
-
* The operation to delete the extension.
|
|
1625
|
-
* @param resourceGroupName The name of the resource group.
|
|
1626
|
-
* @param name The name of the machine where the extension should be deleted.
|
|
1627
|
-
* @param extensionName The name of the machine extension.
|
|
1628
|
-
* @param [options] The optional parameters
|
|
1629
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1630
|
-
*/
|
|
1631
|
-
MachineExtensions.prototype.beginDeleteMethod = function (resourceGroupName, name, extensionName, options) {
|
|
1632
|
-
return this.client.sendLRORequest({
|
|
1633
|
-
resourceGroupName: resourceGroupName,
|
|
1634
|
-
name: name,
|
|
1635
|
-
extensionName: extensionName,
|
|
1636
|
-
options: options
|
|
1637
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1638
|
-
};
|
|
1639
|
-
MachineExtensions.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1640
|
-
return this.client.sendOperationRequest({
|
|
1641
|
-
nextPageLink: nextPageLink,
|
|
1642
|
-
options: options
|
|
1643
|
-
}, listNextOperationSpec, callback);
|
|
1644
|
-
};
|
|
1645
|
-
return MachineExtensions;
|
|
1646
|
-
}());
|
|
1647
|
-
// Operation Specifications
|
|
1648
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1649
|
-
var getOperationSpec$1 = {
|
|
1650
|
-
httpMethod: "GET",
|
|
1651
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}",
|
|
1652
|
-
urlParameters: [
|
|
1653
|
-
resourceGroupName,
|
|
1654
|
-
name,
|
|
1655
|
-
extensionName,
|
|
1656
|
-
subscriptionId
|
|
1657
|
-
],
|
|
1658
|
-
queryParameters: [
|
|
1659
|
-
apiVersion
|
|
1660
|
-
],
|
|
1661
|
-
headerParameters: [
|
|
1662
|
-
acceptLanguage
|
|
1663
|
-
],
|
|
1664
|
-
responses: {
|
|
1665
|
-
200: {
|
|
1666
|
-
bodyMapper: MachineExtension
|
|
1667
|
-
},
|
|
1668
|
-
default: {
|
|
1669
|
-
bodyMapper: CloudError
|
|
1670
|
-
}
|
|
1671
|
-
},
|
|
1672
|
-
serializer: serializer$1
|
|
1673
|
-
};
|
|
1674
|
-
var listOperationSpec = {
|
|
1675
|
-
httpMethod: "GET",
|
|
1676
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions",
|
|
1677
|
-
urlParameters: [
|
|
1678
|
-
resourceGroupName,
|
|
1679
|
-
name,
|
|
1680
|
-
subscriptionId
|
|
1681
|
-
],
|
|
1682
|
-
queryParameters: [
|
|
1683
|
-
expand,
|
|
1684
|
-
apiVersion
|
|
1685
|
-
],
|
|
1686
|
-
headerParameters: [
|
|
1687
|
-
acceptLanguage
|
|
1688
|
-
],
|
|
1689
|
-
responses: {
|
|
1690
|
-
200: {
|
|
1691
|
-
bodyMapper: MachineExtensionsListResult
|
|
1692
|
-
},
|
|
1693
|
-
default: {
|
|
1694
|
-
bodyMapper: CloudError
|
|
1695
|
-
}
|
|
1696
|
-
},
|
|
1697
|
-
serializer: serializer$1
|
|
1698
|
-
};
|
|
1699
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1700
|
-
httpMethod: "PUT",
|
|
1701
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}",
|
|
1702
|
-
urlParameters: [
|
|
1703
|
-
resourceGroupName,
|
|
1704
|
-
name,
|
|
1705
|
-
extensionName,
|
|
1706
|
-
subscriptionId
|
|
1707
|
-
],
|
|
1708
|
-
queryParameters: [
|
|
1709
|
-
apiVersion
|
|
1710
|
-
],
|
|
1711
|
-
headerParameters: [
|
|
1712
|
-
acceptLanguage
|
|
1713
|
-
],
|
|
1714
|
-
requestBody: {
|
|
1715
|
-
parameterPath: "extensionParameters",
|
|
1716
|
-
mapper: __assign(__assign({}, MachineExtension), { required: true })
|
|
1717
|
-
},
|
|
1718
|
-
responses: {
|
|
1719
|
-
200: {
|
|
1720
|
-
bodyMapper: MachineExtension
|
|
1721
|
-
},
|
|
1722
|
-
202: {},
|
|
1723
|
-
default: {
|
|
1724
|
-
bodyMapper: CloudError
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
serializer: serializer$1
|
|
1728
|
-
};
|
|
1729
|
-
var beginUpdateOperationSpec = {
|
|
1730
|
-
httpMethod: "PATCH",
|
|
1731
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}",
|
|
1732
|
-
urlParameters: [
|
|
1733
|
-
resourceGroupName,
|
|
1734
|
-
name,
|
|
1735
|
-
extensionName,
|
|
1736
|
-
subscriptionId
|
|
1737
|
-
],
|
|
1738
|
-
queryParameters: [
|
|
1739
|
-
apiVersion
|
|
1740
|
-
],
|
|
1741
|
-
headerParameters: [
|
|
1742
|
-
acceptLanguage
|
|
1743
|
-
],
|
|
1744
|
-
requestBody: {
|
|
1745
|
-
parameterPath: "extensionParameters",
|
|
1746
|
-
mapper: __assign(__assign({}, MachineExtensionUpdate), { required: true })
|
|
1747
|
-
},
|
|
1748
|
-
responses: {
|
|
1749
|
-
200: {
|
|
1750
|
-
bodyMapper: MachineExtension
|
|
1751
|
-
},
|
|
1752
|
-
202: {},
|
|
1753
|
-
default: {
|
|
1754
|
-
bodyMapper: CloudError
|
|
1755
|
-
}
|
|
1756
|
-
},
|
|
1757
|
-
serializer: serializer$1
|
|
1758
|
-
};
|
|
1759
|
-
var beginDeleteMethodOperationSpec = {
|
|
1760
|
-
httpMethod: "DELETE",
|
|
1761
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{name}/extensions/{extensionName}",
|
|
1762
|
-
urlParameters: [
|
|
1763
|
-
resourceGroupName,
|
|
1764
|
-
name,
|
|
1765
|
-
extensionName,
|
|
1766
|
-
subscriptionId
|
|
1767
|
-
],
|
|
1768
|
-
queryParameters: [
|
|
1769
|
-
apiVersion
|
|
1770
|
-
],
|
|
1771
|
-
headerParameters: [
|
|
1772
|
-
acceptLanguage
|
|
1773
|
-
],
|
|
1774
|
-
responses: {
|
|
1775
|
-
200: {},
|
|
1776
|
-
202: {},
|
|
1777
|
-
204: {},
|
|
1778
|
-
default: {
|
|
1779
|
-
bodyMapper: CloudError
|
|
1780
|
-
}
|
|
1781
|
-
},
|
|
1782
|
-
serializer: serializer$1
|
|
1783
|
-
};
|
|
1784
|
-
var listNextOperationSpec = {
|
|
1785
|
-
httpMethod: "GET",
|
|
1786
|
-
baseUrl: "https://management.azure.com",
|
|
1787
|
-
path: "{nextLink}",
|
|
1788
|
-
urlParameters: [
|
|
1789
|
-
nextPageLink
|
|
1790
|
-
],
|
|
1791
|
-
headerParameters: [
|
|
1792
|
-
acceptLanguage
|
|
1793
|
-
],
|
|
1794
|
-
responses: {
|
|
1795
|
-
200: {
|
|
1796
|
-
bodyMapper: MachineExtensionsListResult
|
|
1797
|
-
},
|
|
1798
|
-
default: {
|
|
1799
|
-
bodyMapper: CloudError
|
|
1800
|
-
}
|
|
1801
|
-
},
|
|
1802
|
-
serializer: serializer$1
|
|
1803
|
-
};
|
|
1804
|
-
|
|
1805
|
-
/*
|
|
1806
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1807
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1808
|
-
*
|
|
1809
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1810
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1811
|
-
*/
|
|
1812
|
-
|
|
1813
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1814
|
-
__proto__: null,
|
|
1815
|
-
ErrorDetail: ErrorDetail,
|
|
1816
|
-
ErrorResponse: ErrorResponse,
|
|
1817
|
-
OperationListResult: OperationListResult,
|
|
1818
|
-
OperationValue: OperationValue
|
|
1819
|
-
});
|
|
1820
|
-
|
|
1821
|
-
/*
|
|
1822
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1823
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1824
|
-
* license information.
|
|
1825
|
-
*
|
|
1826
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1827
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1828
|
-
* regenerated.
|
|
1829
|
-
*/
|
|
1830
|
-
/** Class representing a Operations. */
|
|
1831
|
-
var Operations = /** @class */ (function () {
|
|
1832
|
-
/**
|
|
1833
|
-
* Create a Operations.
|
|
1834
|
-
* @param {HybridComputeManagementClientContext} client Reference to the service client.
|
|
1835
|
-
*/
|
|
1836
|
-
function Operations(client) {
|
|
1837
|
-
this.client = client;
|
|
1838
|
-
}
|
|
1839
|
-
Operations.prototype.list = function (options, callback) {
|
|
1840
|
-
return this.client.sendOperationRequest({
|
|
1841
|
-
options: options
|
|
1842
|
-
}, listOperationSpec$1, callback);
|
|
1843
|
-
};
|
|
1844
|
-
return Operations;
|
|
1845
|
-
}());
|
|
1846
|
-
// Operation Specifications
|
|
1847
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1848
|
-
var listOperationSpec$1 = {
|
|
1849
|
-
httpMethod: "GET",
|
|
1850
|
-
path: "providers/Microsoft.HybridCompute/operations",
|
|
1851
|
-
queryParameters: [
|
|
1852
|
-
apiVersion
|
|
1853
|
-
],
|
|
1854
|
-
headerParameters: [
|
|
1855
|
-
acceptLanguage
|
|
1856
|
-
],
|
|
1857
|
-
responses: {
|
|
1858
|
-
200: {
|
|
1859
|
-
bodyMapper: OperationListResult
|
|
1860
|
-
},
|
|
1861
|
-
default: {
|
|
1862
|
-
bodyMapper: ErrorResponse
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
serializer: serializer$2
|
|
1866
|
-
};
|
|
1867
|
-
|
|
1868
|
-
/*
|
|
1869
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1870
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1871
|
-
* license information.
|
|
1872
|
-
*
|
|
1873
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1874
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1875
|
-
* regenerated.
|
|
1876
|
-
*/
|
|
1877
|
-
var packageName = "@azure/arm-hybridcompute";
|
|
1878
|
-
var packageVersion = "2.1.1";
|
|
1879
|
-
var HybridComputeManagementClientContext = /** @class */ (function (_super) {
|
|
1880
|
-
__extends(HybridComputeManagementClientContext, _super);
|
|
1881
|
-
/**
|
|
1882
|
-
* Initializes a new instance of the HybridComputeManagementClient class.
|
|
1883
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1884
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1885
|
-
* more information about these credentials, see
|
|
1886
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1887
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1888
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1889
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
1890
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
1891
|
-
* @param [options] The parameter options
|
|
1892
|
-
*/
|
|
1893
|
-
function HybridComputeManagementClientContext(credentials, subscriptionId, options) {
|
|
1894
|
-
var _this = this;
|
|
1895
|
-
if (credentials == undefined) {
|
|
1896
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
1897
|
-
}
|
|
1898
|
-
if (subscriptionId == undefined) {
|
|
1899
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
1900
|
-
}
|
|
1901
|
-
if (!options) {
|
|
1902
|
-
options = {};
|
|
1903
|
-
}
|
|
1904
|
-
if (!options.userAgent) {
|
|
1905
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
1906
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
1907
|
-
}
|
|
1908
|
-
_this = _super.call(this, credentials, options) || this;
|
|
1909
|
-
_this.apiVersion = '2020-08-02';
|
|
1910
|
-
_this.acceptLanguage = 'en-US';
|
|
1911
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
1912
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
1913
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
1914
|
-
_this.credentials = credentials;
|
|
1915
|
-
_this.subscriptionId = subscriptionId;
|
|
1916
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
1917
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
1918
|
-
}
|
|
1919
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
1920
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
1921
|
-
}
|
|
1922
|
-
return _this;
|
|
1923
|
-
}
|
|
1924
|
-
return HybridComputeManagementClientContext;
|
|
1925
|
-
}(msRestAzure.AzureServiceClient));
|
|
1926
|
-
|
|
1927
|
-
/*
|
|
1928
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1929
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1930
|
-
* license information.
|
|
1931
|
-
*
|
|
1932
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1933
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1934
|
-
* regenerated.
|
|
1935
|
-
*/
|
|
1936
|
-
var HybridComputeManagementClient = /** @class */ (function (_super) {
|
|
1937
|
-
__extends(HybridComputeManagementClient, _super);
|
|
1938
|
-
/**
|
|
1939
|
-
* Initializes a new instance of the HybridComputeManagementClient class.
|
|
1940
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
1941
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
1942
|
-
* more information about these credentials, see
|
|
1943
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
1944
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
1945
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
1946
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
1947
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
1948
|
-
* @param [options] The parameter options
|
|
1949
|
-
*/
|
|
1950
|
-
function HybridComputeManagementClient(credentials, subscriptionId, options) {
|
|
1951
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
1952
|
-
_this.machines = new Machines(_this);
|
|
1953
|
-
_this.machineExtensions = new MachineExtensions(_this);
|
|
1954
|
-
_this.operations = new Operations(_this);
|
|
1955
|
-
return _this;
|
|
1956
|
-
}
|
|
1957
|
-
return HybridComputeManagementClient;
|
|
1958
|
-
}(HybridComputeManagementClientContext));
|
|
1959
|
-
|
|
1960
|
-
exports.HybridComputeManagementClient = HybridComputeManagementClient;
|
|
1961
|
-
exports.HybridComputeManagementClientContext = HybridComputeManagementClientContext;
|
|
1962
|
-
exports.HybridComputeManagementMappers = mappers;
|
|
1963
|
-
exports.HybridComputeManagementModels = index;
|
|
1964
|
-
exports.MachineExtensions = MachineExtensions;
|
|
1965
|
-
exports.Machines = Machines;
|
|
1966
|
-
exports.Operations = Operations;
|
|
1967
|
-
|
|
1968
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1969
|
-
|
|
1970
|
-
})));
|
|
1971
|
-
//# sourceMappingURL=arm-hybridcompute.js.map
|