@azure/arm-vmwarecloudsimple 1.1.1 → 2.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 -80
- package/dist/index.js +5683 -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/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 +1328 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +44 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +59 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1185 -834
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +35 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +157 -106
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/customizationPolicies.d.ts +46 -0
- package/dist-esm/src/operations/customizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/customizationPolicies.js +169 -0
- package/dist-esm/src/operations/customizationPolicies.js.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.d.ts +92 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.js +446 -0
- package/dist-esm/src/operations/dedicatedCloudNodes.js.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudServices.d.ts +91 -0
- package/dist-esm/src/operations/dedicatedCloudServices.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedCloudServices.js +431 -0
- package/dist-esm/src/operations/dedicatedCloudServices.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +39 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +155 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateClouds.d.ts +42 -0
- package/dist-esm/src/operations/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operations/privateClouds.js +162 -0
- package/dist-esm/src/operations/privateClouds.js.map +1 -0
- package/dist-esm/src/operations/resourcePools.d.ts +46 -0
- package/dist-esm/src/operations/resourcePools.d.ts.map +1 -0
- package/dist-esm/src/operations/resourcePools.js +169 -0
- package/dist-esm/src/operations/resourcePools.js.map +1 -0
- package/dist-esm/src/operations/skusAvailability.d.ts +35 -0
- package/dist-esm/src/operations/skusAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/skusAvailability.js +132 -0
- package/dist-esm/src/operations/skusAvailability.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +35 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +132 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineTemplates.d.ts +49 -0
- package/dist-esm/src/operations/virtualMachineTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineTemplates.js +172 -0
- package/dist-esm/src/operations/virtualMachineTemplates.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +135 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +687 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworks.d.ts +49 -0
- package/dist-esm/src/operations/virtualNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualNetworks.js +172 -0
- package/dist-esm/src/operations/virtualNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/customizationPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudNodes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedCloudServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -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/privateClouds.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateClouds.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourcePools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/skusAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +99 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworks.js.map +1 -0
- package/dist-esm/src/vMwareCloudSimple.d.ts +30 -0
- package/dist-esm/src/vMwareCloudSimple.d.ts.map +1 -0
- package/dist-esm/src/vMwareCloudSimple.js +66 -0
- package/dist-esm/src/vMwareCloudSimple.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 +70 -32
- package/review/arm-vmwarecloudsimple.api.md +1140 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1155 -1956
- package/src/models/mappers.ts +1229 -846
- package/src/models/parameters.ts +200 -107
- package/src/operations/customizationPolicies.ts +217 -0
- package/src/operations/dedicatedCloudNodes.ts +391 -317
- package/src/operations/dedicatedCloudServices.ts +372 -319
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +117 -125
- package/src/operations/privateClouds.ts +131 -123
- package/src/operations/resourcePools.ts +145 -129
- package/src/operations/skusAvailability.ts +109 -85
- package/src/operations/usages.ts +109 -85
- package/src/operations/virtualMachineTemplates.ts +162 -132
- package/src/operations/virtualMachines.ts +705 -403
- package/src/operations/virtualNetworks.ts +163 -136
- package/src/operationsInterfaces/customizationPolicies.ts +44 -0
- package/src/operationsInterfaces/dedicatedCloudNodes.ts +110 -0
- package/src/operationsInterfaces/dedicatedCloudServices.ts +103 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/operations.ts +38 -0
- package/src/operationsInterfaces/privateClouds.ts +40 -0
- package/src/operationsInterfaces/resourcePools.ts +44 -0
- package/src/operationsInterfaces/skusAvailability.ts +24 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/operationsInterfaces/virtualMachineTemplates.ts +46 -0
- package/src/operationsInterfaces/virtualMachines.ts +191 -0
- package/src/operationsInterfaces/virtualNetworks.ts +46 -0
- package/src/vMwareCloudSimple.ts +126 -0
- package/tsconfig.json +3 -3
- package/types/arm-vmwarecloudsimple.d.ts +1861 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-vmwarecloudsimple.js +0 -4540
- package/dist/arm-vmwarecloudsimple.js.map +0 -1
- package/dist/arm-vmwarecloudsimple.min.js +0 -1
- package/dist/arm-vmwarecloudsimple.min.js.map +0 -1
- package/esm/models/dedicatedCloudNodesMappers.d.ts +0 -2
- package/esm/models/dedicatedCloudNodesMappers.d.ts.map +0 -1
- package/esm/models/dedicatedCloudNodesMappers.js +0 -9
- package/esm/models/dedicatedCloudNodesMappers.js.map +0 -1
- package/esm/models/dedicatedCloudServicesMappers.d.ts +0 -2
- package/esm/models/dedicatedCloudServicesMappers.d.ts.map +0 -1
- package/esm/models/dedicatedCloudServicesMappers.js +0 -9
- package/esm/models/dedicatedCloudServicesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2190
- 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/mappers.d.ts +0 -46
- 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 -24
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateCloudsMappers.d.ts +0 -2
- package/esm/models/privateCloudsMappers.d.ts.map +0 -1
- package/esm/models/privateCloudsMappers.js +0 -9
- package/esm/models/privateCloudsMappers.js.map +0 -1
- package/esm/models/resourcePoolsMappers.d.ts +0 -2
- package/esm/models/resourcePoolsMappers.d.ts.map +0 -1
- package/esm/models/resourcePoolsMappers.js +0 -9
- package/esm/models/resourcePoolsMappers.js.map +0 -1
- package/esm/models/skusAvailabilityMappers.d.ts +0 -2
- package/esm/models/skusAvailabilityMappers.d.ts.map +0 -1
- package/esm/models/skusAvailabilityMappers.js +0 -9
- package/esm/models/skusAvailabilityMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/models/virtualMachineTemplatesMappers.d.ts +0 -2
- package/esm/models/virtualMachineTemplatesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineTemplatesMappers.js +0 -9
- package/esm/models/virtualMachineTemplatesMappers.js.map +0 -1
- package/esm/models/virtualMachinesMappers.d.ts +0 -2
- package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachinesMappers.js +0 -9
- package/esm/models/virtualMachinesMappers.js.map +0 -1
- package/esm/models/virtualNetworksMappers.d.ts +0 -2
- package/esm/models/virtualNetworksMappers.d.ts.map +0 -1
- package/esm/models/virtualNetworksMappers.js +0 -9
- package/esm/models/virtualNetworksMappers.js.map +0 -1
- package/esm/operations/dedicatedCloudNodes.d.ts +0 -173
- package/esm/operations/dedicatedCloudNodes.d.ts.map +0 -1
- package/esm/operations/dedicatedCloudNodes.js +0 -304
- package/esm/operations/dedicatedCloudNodes.js.map +0 -1
- package/esm/operations/dedicatedCloudServices.d.ts +0 -174
- package/esm/operations/dedicatedCloudServices.d.ts.map +0 -1
- package/esm/operations/dedicatedCloudServices.js +0 -300
- package/esm/operations/dedicatedCloudServices.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -70
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -116
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateClouds.d.ts +0 -73
- package/esm/operations/privateClouds.d.ts.map +0 -1
- package/esm/operations/privateClouds.js +0 -113
- package/esm/operations/privateClouds.js.map +0 -1
- package/esm/operations/resourcePools.d.ts +0 -79
- package/esm/operations/resourcePools.d.ts.map +0 -1
- package/esm/operations/resourcePools.js +0 -117
- package/esm/operations/resourcePools.js.map +0 -1
- package/esm/operations/skusAvailability.d.ts +0 -51
- package/esm/operations/skusAvailability.d.ts.map +0 -1
- package/esm/operations/skusAvailability.js +0 -83
- package/esm/operations/skusAvailability.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -51
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -83
- package/esm/operations/usages.js.map +0 -1
- package/esm/operations/virtualMachineTemplates.d.ts +0 -82
- package/esm/operations/virtualMachineTemplates.d.ts.map +0 -1
- package/esm/operations/virtualMachineTemplates.js +0 -119
- package/esm/operations/virtualMachineTemplates.js.map +0 -1
- package/esm/operations/virtualMachines.d.ts +0 -201
- package/esm/operations/virtualMachines.d.ts.map +0 -1
- package/esm/operations/virtualMachines.js +0 -472
- package/esm/operations/virtualMachines.js.map +0 -1
- package/esm/operations/virtualNetworks.d.ts +0 -85
- package/esm/operations/virtualNetworks.d.ts.map +0 -1
- package/esm/operations/virtualNetworks.js +0 -119
- package/esm/operations/virtualNetworks.js.map +0 -1
- package/esm/vMwareCloudSimpleClient.d.ts +0 -34
- package/esm/vMwareCloudSimpleClient.d.ts.map +0 -1
- package/esm/vMwareCloudSimpleClient.js +0 -48
- package/esm/vMwareCloudSimpleClient.js.map +0 -1
- package/esm/vMwareCloudSimpleClientContext.d.ts +0 -24
- package/esm/vMwareCloudSimpleClientContext.d.ts.map +0 -1
- package/esm/vMwareCloudSimpleClientContext.js +0 -66
- package/esm/vMwareCloudSimpleClientContext.js.map +0 -1
- package/src/models/dedicatedCloudNodesMappers.ts +0 -26
- package/src/models/dedicatedCloudServicesMappers.ts +0 -25
- package/src/models/operationsMappers.ts +0 -20
- package/src/models/privateCloudsMappers.ts +0 -20
- package/src/models/resourcePoolsMappers.ts +0 -14
- package/src/models/skusAvailabilityMappers.ts +0 -14
- package/src/models/usagesMappers.ts +0 -15
- package/src/models/virtualMachineTemplatesMappers.ts +0 -18
- package/src/models/virtualMachinesMappers.ts +0 -29
- package/src/models/virtualNetworksMappers.ts +0 -14
- package/src/vMwareCloudSimpleClient.ts +0 -67
- package/src/vMwareCloudSimpleClientContext.ts +0 -74
|
@@ -1,4540 +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.ArmVmwarecloudsimple = {}), 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 AvailableOperationDisplay = {
|
|
76
|
-
serializedName: "AvailableOperationDisplay",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "AvailableOperationDisplay",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
description: {
|
|
82
|
-
serializedName: "description",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
operation: {
|
|
88
|
-
serializedName: "operation",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
provider: {
|
|
94
|
-
serializedName: "provider",
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
resource: {
|
|
100
|
-
serializedName: "resource",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
var AvailableOperationDisplayPropertyServiceSpecificationMetricsItem = {
|
|
109
|
-
serializedName: "AvailableOperationDisplayPropertyServiceSpecificationMetricsItem",
|
|
110
|
-
type: {
|
|
111
|
-
name: "Composite",
|
|
112
|
-
className: "AvailableOperationDisplayPropertyServiceSpecificationMetricsItem",
|
|
113
|
-
modelProperties: {
|
|
114
|
-
aggregationType: {
|
|
115
|
-
required: true,
|
|
116
|
-
serializedName: "aggregationType",
|
|
117
|
-
type: {
|
|
118
|
-
name: "Enum",
|
|
119
|
-
allowedValues: [
|
|
120
|
-
"Average",
|
|
121
|
-
"Total"
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
displayDescription: {
|
|
126
|
-
required: true,
|
|
127
|
-
serializedName: "displayDescription",
|
|
128
|
-
type: {
|
|
129
|
-
name: "String"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
displayName: {
|
|
133
|
-
required: true,
|
|
134
|
-
serializedName: "displayName",
|
|
135
|
-
type: {
|
|
136
|
-
name: "String"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
name: {
|
|
140
|
-
required: true,
|
|
141
|
-
serializedName: "name",
|
|
142
|
-
type: {
|
|
143
|
-
name: "String"
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
unit: {
|
|
147
|
-
required: true,
|
|
148
|
-
serializedName: "unit",
|
|
149
|
-
type: {
|
|
150
|
-
name: "String"
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
var AvailableOperationDisplayPropertyServiceSpecificationMetricsList = {
|
|
157
|
-
serializedName: "AvailableOperationDisplayPropertyServiceSpecificationMetricsList",
|
|
158
|
-
type: {
|
|
159
|
-
name: "Composite",
|
|
160
|
-
className: "AvailableOperationDisplayPropertyServiceSpecificationMetricsList",
|
|
161
|
-
modelProperties: {
|
|
162
|
-
metricSpecifications: {
|
|
163
|
-
serializedName: "metricSpecifications",
|
|
164
|
-
type: {
|
|
165
|
-
name: "Sequence",
|
|
166
|
-
element: {
|
|
167
|
-
type: {
|
|
168
|
-
name: "Composite",
|
|
169
|
-
className: "AvailableOperationDisplayPropertyServiceSpecificationMetricsItem"
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
var AvailableOperation = {
|
|
178
|
-
serializedName: "AvailableOperation",
|
|
179
|
-
type: {
|
|
180
|
-
name: "Composite",
|
|
181
|
-
className: "AvailableOperation",
|
|
182
|
-
modelProperties: {
|
|
183
|
-
display: {
|
|
184
|
-
serializedName: "display",
|
|
185
|
-
type: {
|
|
186
|
-
name: "Composite",
|
|
187
|
-
className: "AvailableOperationDisplay"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
isDataAction: {
|
|
191
|
-
serializedName: "isDataAction",
|
|
192
|
-
defaultValue: false,
|
|
193
|
-
type: {
|
|
194
|
-
name: "Boolean"
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
name: {
|
|
198
|
-
serializedName: "name",
|
|
199
|
-
type: {
|
|
200
|
-
name: "String"
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
origin: {
|
|
204
|
-
serializedName: "origin",
|
|
205
|
-
type: {
|
|
206
|
-
name: "Enum",
|
|
207
|
-
allowedValues: [
|
|
208
|
-
"user",
|
|
209
|
-
"system",
|
|
210
|
-
"user,system"
|
|
211
|
-
]
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
serviceSpecification: {
|
|
215
|
-
serializedName: "properties.serviceSpecification",
|
|
216
|
-
type: {
|
|
217
|
-
name: "Composite",
|
|
218
|
-
className: "AvailableOperationDisplayPropertyServiceSpecificationMetricsList"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
var CSRPErrorBody = {
|
|
225
|
-
serializedName: "CSRPErrorBody",
|
|
226
|
-
type: {
|
|
227
|
-
name: "Composite",
|
|
228
|
-
className: "CSRPErrorBody",
|
|
229
|
-
modelProperties: {
|
|
230
|
-
code: {
|
|
231
|
-
readOnly: true,
|
|
232
|
-
serializedName: "code",
|
|
233
|
-
type: {
|
|
234
|
-
name: "String"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
details: {
|
|
238
|
-
readOnly: true,
|
|
239
|
-
serializedName: "details",
|
|
240
|
-
type: {
|
|
241
|
-
name: "Sequence",
|
|
242
|
-
element: {
|
|
243
|
-
type: {
|
|
244
|
-
name: "Composite",
|
|
245
|
-
className: "CSRPErrorBody"
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
message: {
|
|
251
|
-
readOnly: true,
|
|
252
|
-
serializedName: "message",
|
|
253
|
-
type: {
|
|
254
|
-
name: "String"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
target: {
|
|
258
|
-
serializedName: "target",
|
|
259
|
-
type: {
|
|
260
|
-
name: "String"
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
var CSRPError = {
|
|
267
|
-
serializedName: "CSRPError",
|
|
268
|
-
type: {
|
|
269
|
-
name: "Composite",
|
|
270
|
-
className: "CSRPError",
|
|
271
|
-
modelProperties: {
|
|
272
|
-
error: {
|
|
273
|
-
serializedName: "error",
|
|
274
|
-
type: {
|
|
275
|
-
name: "Composite",
|
|
276
|
-
className: "CSRPErrorBody"
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
var Sku = {
|
|
283
|
-
serializedName: "Sku",
|
|
284
|
-
type: {
|
|
285
|
-
name: "Composite",
|
|
286
|
-
className: "Sku",
|
|
287
|
-
modelProperties: {
|
|
288
|
-
capacity: {
|
|
289
|
-
serializedName: "capacity",
|
|
290
|
-
type: {
|
|
291
|
-
name: "String"
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
description: {
|
|
295
|
-
serializedName: "description",
|
|
296
|
-
type: {
|
|
297
|
-
name: "String"
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
family: {
|
|
301
|
-
serializedName: "family",
|
|
302
|
-
type: {
|
|
303
|
-
name: "String"
|
|
304
|
-
}
|
|
305
|
-
},
|
|
306
|
-
name: {
|
|
307
|
-
required: true,
|
|
308
|
-
serializedName: "name",
|
|
309
|
-
type: {
|
|
310
|
-
name: "String"
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
tier: {
|
|
314
|
-
serializedName: "tier",
|
|
315
|
-
type: {
|
|
316
|
-
name: "String"
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
};
|
|
322
|
-
var DedicatedCloudNode = {
|
|
323
|
-
serializedName: "DedicatedCloudNode",
|
|
324
|
-
type: {
|
|
325
|
-
name: "Composite",
|
|
326
|
-
className: "DedicatedCloudNode",
|
|
327
|
-
modelProperties: {
|
|
328
|
-
id: {
|
|
329
|
-
readOnly: true,
|
|
330
|
-
serializedName: "id",
|
|
331
|
-
type: {
|
|
332
|
-
name: "String"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
location: {
|
|
336
|
-
required: true,
|
|
337
|
-
serializedName: "location",
|
|
338
|
-
type: {
|
|
339
|
-
name: "String"
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
name: {
|
|
343
|
-
readOnly: true,
|
|
344
|
-
serializedName: "name",
|
|
345
|
-
constraints: {
|
|
346
|
-
Pattern: /^[-a-zA-Z0-9]+$/
|
|
347
|
-
},
|
|
348
|
-
type: {
|
|
349
|
-
name: "String"
|
|
350
|
-
}
|
|
351
|
-
},
|
|
352
|
-
availabilityZoneId: {
|
|
353
|
-
required: true,
|
|
354
|
-
serializedName: "properties.availabilityZoneId",
|
|
355
|
-
type: {
|
|
356
|
-
name: "String"
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
availabilityZoneName: {
|
|
360
|
-
readOnly: true,
|
|
361
|
-
serializedName: "properties.availabilityZoneName",
|
|
362
|
-
type: {
|
|
363
|
-
name: "String"
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
cloudRackName: {
|
|
367
|
-
readOnly: true,
|
|
368
|
-
serializedName: "properties.cloudRackName",
|
|
369
|
-
type: {
|
|
370
|
-
name: "String"
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
created: {
|
|
374
|
-
readOnly: true,
|
|
375
|
-
serializedName: "properties.created",
|
|
376
|
-
type: {
|
|
377
|
-
name: "Object"
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
nodesCount: {
|
|
381
|
-
required: true,
|
|
382
|
-
serializedName: "properties.nodesCount",
|
|
383
|
-
type: {
|
|
384
|
-
name: "Number"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
placementGroupId: {
|
|
388
|
-
required: true,
|
|
389
|
-
serializedName: "properties.placementGroupId",
|
|
390
|
-
type: {
|
|
391
|
-
name: "String"
|
|
392
|
-
}
|
|
393
|
-
},
|
|
394
|
-
placementGroupName: {
|
|
395
|
-
readOnly: true,
|
|
396
|
-
serializedName: "properties.placementGroupName",
|
|
397
|
-
type: {
|
|
398
|
-
name: "String"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
privateCloudId: {
|
|
402
|
-
readOnly: true,
|
|
403
|
-
serializedName: "properties.privateCloudId",
|
|
404
|
-
type: {
|
|
405
|
-
name: "String"
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
|
-
privateCloudName: {
|
|
409
|
-
readOnly: true,
|
|
410
|
-
serializedName: "properties.privateCloudName",
|
|
411
|
-
type: {
|
|
412
|
-
name: "String"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
provisioningState: {
|
|
416
|
-
readOnly: true,
|
|
417
|
-
serializedName: "properties.provisioningState",
|
|
418
|
-
type: {
|
|
419
|
-
name: "String"
|
|
420
|
-
}
|
|
421
|
-
},
|
|
422
|
-
purchaseId: {
|
|
423
|
-
required: true,
|
|
424
|
-
serializedName: "properties.purchaseId",
|
|
425
|
-
type: {
|
|
426
|
-
name: "Uuid"
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
id1: {
|
|
430
|
-
required: true,
|
|
431
|
-
serializedName: "properties.skuDescription.id",
|
|
432
|
-
type: {
|
|
433
|
-
name: "String"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
name1: {
|
|
437
|
-
required: true,
|
|
438
|
-
serializedName: "properties.skuDescription.name",
|
|
439
|
-
type: {
|
|
440
|
-
name: "String"
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
status: {
|
|
444
|
-
readOnly: true,
|
|
445
|
-
serializedName: "properties.status",
|
|
446
|
-
type: {
|
|
447
|
-
name: "Enum",
|
|
448
|
-
allowedValues: [
|
|
449
|
-
"unused",
|
|
450
|
-
"used"
|
|
451
|
-
]
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
vmwareClusterName: {
|
|
455
|
-
readOnly: true,
|
|
456
|
-
serializedName: "properties.vmwareClusterName",
|
|
457
|
-
type: {
|
|
458
|
-
name: "String"
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
sku: {
|
|
462
|
-
serializedName: "sku",
|
|
463
|
-
type: {
|
|
464
|
-
name: "Composite",
|
|
465
|
-
className: "Sku"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
tags: {
|
|
469
|
-
serializedName: "tags",
|
|
470
|
-
type: {
|
|
471
|
-
name: "Dictionary",
|
|
472
|
-
value: {
|
|
473
|
-
type: {
|
|
474
|
-
name: "String"
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
type: {
|
|
480
|
-
readOnly: true,
|
|
481
|
-
serializedName: "type",
|
|
482
|
-
type: {
|
|
483
|
-
name: "String"
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
var DedicatedCloudService = {
|
|
490
|
-
serializedName: "DedicatedCloudService",
|
|
491
|
-
type: {
|
|
492
|
-
name: "Composite",
|
|
493
|
-
className: "DedicatedCloudService",
|
|
494
|
-
modelProperties: {
|
|
495
|
-
id: {
|
|
496
|
-
readOnly: true,
|
|
497
|
-
serializedName: "id",
|
|
498
|
-
type: {
|
|
499
|
-
name: "String"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
location: {
|
|
503
|
-
required: true,
|
|
504
|
-
serializedName: "location",
|
|
505
|
-
type: {
|
|
506
|
-
name: "String"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
name: {
|
|
510
|
-
readOnly: true,
|
|
511
|
-
serializedName: "name",
|
|
512
|
-
constraints: {
|
|
513
|
-
Pattern: /^[-a-zA-Z0-9]+$/
|
|
514
|
-
},
|
|
515
|
-
type: {
|
|
516
|
-
name: "String"
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
gatewaySubnet: {
|
|
520
|
-
required: true,
|
|
521
|
-
serializedName: "properties.gatewaySubnet",
|
|
522
|
-
type: {
|
|
523
|
-
name: "String"
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
isAccountOnboarded: {
|
|
527
|
-
readOnly: true,
|
|
528
|
-
serializedName: "properties.isAccountOnboarded",
|
|
529
|
-
type: {
|
|
530
|
-
name: "Enum",
|
|
531
|
-
allowedValues: [
|
|
532
|
-
"notOnBoarded",
|
|
533
|
-
"onBoarded",
|
|
534
|
-
"onBoardingFailed",
|
|
535
|
-
"onBoarding"
|
|
536
|
-
]
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
nodes: {
|
|
540
|
-
serializedName: "properties.nodes",
|
|
541
|
-
type: {
|
|
542
|
-
name: "Number"
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
serviceURL: {
|
|
546
|
-
serializedName: "properties.serviceURL",
|
|
547
|
-
type: {
|
|
548
|
-
name: "String"
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
tags: {
|
|
552
|
-
serializedName: "tags",
|
|
553
|
-
type: {
|
|
554
|
-
name: "Dictionary",
|
|
555
|
-
value: {
|
|
556
|
-
type: {
|
|
557
|
-
name: "String"
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
type: {
|
|
563
|
-
readOnly: true,
|
|
564
|
-
serializedName: "type",
|
|
565
|
-
type: {
|
|
566
|
-
name: "String"
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
|
-
var OperationError = {
|
|
573
|
-
serializedName: "OperationError",
|
|
574
|
-
type: {
|
|
575
|
-
name: "Composite",
|
|
576
|
-
className: "OperationError",
|
|
577
|
-
modelProperties: {
|
|
578
|
-
code: {
|
|
579
|
-
serializedName: "code",
|
|
580
|
-
type: {
|
|
581
|
-
name: "String"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
message: {
|
|
585
|
-
serializedName: "message",
|
|
586
|
-
type: {
|
|
587
|
-
name: "String"
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
};
|
|
593
|
-
var OperationResource = {
|
|
594
|
-
serializedName: "OperationResource",
|
|
595
|
-
type: {
|
|
596
|
-
name: "Composite",
|
|
597
|
-
className: "OperationResource",
|
|
598
|
-
modelProperties: {
|
|
599
|
-
endTime: {
|
|
600
|
-
readOnly: true,
|
|
601
|
-
serializedName: "endTime",
|
|
602
|
-
type: {
|
|
603
|
-
name: "DateTime"
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
|
-
error: {
|
|
607
|
-
serializedName: "error",
|
|
608
|
-
type: {
|
|
609
|
-
name: "Composite",
|
|
610
|
-
className: "OperationError"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
id: {
|
|
614
|
-
readOnly: true,
|
|
615
|
-
serializedName: "id",
|
|
616
|
-
type: {
|
|
617
|
-
name: "String"
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
name: {
|
|
621
|
-
readOnly: true,
|
|
622
|
-
serializedName: "name",
|
|
623
|
-
type: {
|
|
624
|
-
name: "String"
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
startTime: {
|
|
628
|
-
readOnly: true,
|
|
629
|
-
serializedName: "startTime",
|
|
630
|
-
type: {
|
|
631
|
-
name: "DateTime"
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
status: {
|
|
635
|
-
readOnly: true,
|
|
636
|
-
serializedName: "status",
|
|
637
|
-
type: {
|
|
638
|
-
name: "String"
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
};
|
|
644
|
-
var PatchPayload = {
|
|
645
|
-
serializedName: "PatchPayload",
|
|
646
|
-
type: {
|
|
647
|
-
name: "Composite",
|
|
648
|
-
className: "PatchPayload",
|
|
649
|
-
modelProperties: {
|
|
650
|
-
tags: {
|
|
651
|
-
serializedName: "tags",
|
|
652
|
-
type: {
|
|
653
|
-
name: "Dictionary",
|
|
654
|
-
value: {
|
|
655
|
-
type: {
|
|
656
|
-
name: "String"
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
};
|
|
664
|
-
var ResourcePool = {
|
|
665
|
-
serializedName: "ResourcePool",
|
|
666
|
-
type: {
|
|
667
|
-
name: "Composite",
|
|
668
|
-
className: "ResourcePool",
|
|
669
|
-
modelProperties: {
|
|
670
|
-
id: {
|
|
671
|
-
required: true,
|
|
672
|
-
serializedName: "id",
|
|
673
|
-
type: {
|
|
674
|
-
name: "String"
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
location: {
|
|
678
|
-
readOnly: true,
|
|
679
|
-
serializedName: "location",
|
|
680
|
-
type: {
|
|
681
|
-
name: "String"
|
|
682
|
-
}
|
|
683
|
-
},
|
|
684
|
-
name: {
|
|
685
|
-
readOnly: true,
|
|
686
|
-
serializedName: "name",
|
|
687
|
-
type: {
|
|
688
|
-
name: "String"
|
|
689
|
-
}
|
|
690
|
-
},
|
|
691
|
-
privateCloudId: {
|
|
692
|
-
readOnly: true,
|
|
693
|
-
serializedName: "privateCloudId",
|
|
694
|
-
type: {
|
|
695
|
-
name: "String"
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
fullName: {
|
|
699
|
-
readOnly: true,
|
|
700
|
-
serializedName: "properties.fullName",
|
|
701
|
-
type: {
|
|
702
|
-
name: "String"
|
|
703
|
-
}
|
|
704
|
-
},
|
|
705
|
-
type: {
|
|
706
|
-
readOnly: true,
|
|
707
|
-
serializedName: "type",
|
|
708
|
-
type: {
|
|
709
|
-
name: "String"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
};
|
|
715
|
-
var VirtualDiskController = {
|
|
716
|
-
serializedName: "VirtualDiskController",
|
|
717
|
-
type: {
|
|
718
|
-
name: "Composite",
|
|
719
|
-
className: "VirtualDiskController",
|
|
720
|
-
modelProperties: {
|
|
721
|
-
id: {
|
|
722
|
-
readOnly: true,
|
|
723
|
-
serializedName: "id",
|
|
724
|
-
type: {
|
|
725
|
-
name: "String"
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
name: {
|
|
729
|
-
readOnly: true,
|
|
730
|
-
serializedName: "name",
|
|
731
|
-
type: {
|
|
732
|
-
name: "String"
|
|
733
|
-
}
|
|
734
|
-
},
|
|
735
|
-
subType: {
|
|
736
|
-
readOnly: true,
|
|
737
|
-
serializedName: "subType",
|
|
738
|
-
type: {
|
|
739
|
-
name: "String"
|
|
740
|
-
}
|
|
741
|
-
},
|
|
742
|
-
type: {
|
|
743
|
-
readOnly: true,
|
|
744
|
-
serializedName: "type",
|
|
745
|
-
type: {
|
|
746
|
-
name: "String"
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
};
|
|
752
|
-
var VirtualDisk = {
|
|
753
|
-
serializedName: "VirtualDisk",
|
|
754
|
-
type: {
|
|
755
|
-
name: "Composite",
|
|
756
|
-
className: "VirtualDisk",
|
|
757
|
-
modelProperties: {
|
|
758
|
-
controllerId: {
|
|
759
|
-
required: true,
|
|
760
|
-
serializedName: "controllerId",
|
|
761
|
-
type: {
|
|
762
|
-
name: "String"
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
independenceMode: {
|
|
766
|
-
required: true,
|
|
767
|
-
serializedName: "independenceMode",
|
|
768
|
-
type: {
|
|
769
|
-
name: "Enum",
|
|
770
|
-
allowedValues: [
|
|
771
|
-
"persistent",
|
|
772
|
-
"independent_persistent",
|
|
773
|
-
"independent_nonpersistent"
|
|
774
|
-
]
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
totalSize: {
|
|
778
|
-
required: true,
|
|
779
|
-
serializedName: "totalSize",
|
|
780
|
-
type: {
|
|
781
|
-
name: "Number"
|
|
782
|
-
}
|
|
783
|
-
},
|
|
784
|
-
virtualDiskId: {
|
|
785
|
-
serializedName: "virtualDiskId",
|
|
786
|
-
type: {
|
|
787
|
-
name: "String"
|
|
788
|
-
}
|
|
789
|
-
},
|
|
790
|
-
virtualDiskName: {
|
|
791
|
-
readOnly: true,
|
|
792
|
-
serializedName: "virtualDiskName",
|
|
793
|
-
type: {
|
|
794
|
-
name: "String"
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
};
|
|
800
|
-
var VirtualNetwork = {
|
|
801
|
-
serializedName: "VirtualNetwork",
|
|
802
|
-
type: {
|
|
803
|
-
name: "Composite",
|
|
804
|
-
className: "VirtualNetwork",
|
|
805
|
-
modelProperties: {
|
|
806
|
-
assignable: {
|
|
807
|
-
readOnly: true,
|
|
808
|
-
serializedName: "assignable",
|
|
809
|
-
type: {
|
|
810
|
-
name: "Boolean"
|
|
811
|
-
}
|
|
812
|
-
},
|
|
813
|
-
id: {
|
|
814
|
-
required: true,
|
|
815
|
-
serializedName: "id",
|
|
816
|
-
type: {
|
|
817
|
-
name: "String"
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
|
-
location: {
|
|
821
|
-
readOnly: true,
|
|
822
|
-
serializedName: "location",
|
|
823
|
-
type: {
|
|
824
|
-
name: "String"
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
|
-
name: {
|
|
828
|
-
readOnly: true,
|
|
829
|
-
serializedName: "name",
|
|
830
|
-
type: {
|
|
831
|
-
name: "String"
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
|
-
privateCloudId: {
|
|
835
|
-
readOnly: true,
|
|
836
|
-
serializedName: "properties.privateCloudId",
|
|
837
|
-
type: {
|
|
838
|
-
name: "String"
|
|
839
|
-
}
|
|
840
|
-
},
|
|
841
|
-
type: {
|
|
842
|
-
readOnly: true,
|
|
843
|
-
serializedName: "type",
|
|
844
|
-
type: {
|
|
845
|
-
name: "String"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
};
|
|
851
|
-
var VirtualNic = {
|
|
852
|
-
serializedName: "VirtualNic",
|
|
853
|
-
type: {
|
|
854
|
-
name: "Composite",
|
|
855
|
-
className: "VirtualNic",
|
|
856
|
-
modelProperties: {
|
|
857
|
-
ipAddresses: {
|
|
858
|
-
serializedName: "ipAddresses",
|
|
859
|
-
type: {
|
|
860
|
-
name: "Sequence",
|
|
861
|
-
element: {
|
|
862
|
-
type: {
|
|
863
|
-
name: "String"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
macAddress: {
|
|
869
|
-
serializedName: "macAddress",
|
|
870
|
-
type: {
|
|
871
|
-
name: "String"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
network: {
|
|
875
|
-
required: true,
|
|
876
|
-
serializedName: "network",
|
|
877
|
-
type: {
|
|
878
|
-
name: "Composite",
|
|
879
|
-
className: "VirtualNetwork"
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
nicType: {
|
|
883
|
-
required: true,
|
|
884
|
-
serializedName: "nicType",
|
|
885
|
-
type: {
|
|
886
|
-
name: "Enum",
|
|
887
|
-
allowedValues: [
|
|
888
|
-
"E1000",
|
|
889
|
-
"E1000E",
|
|
890
|
-
"PCNET32",
|
|
891
|
-
"VMXNET",
|
|
892
|
-
"VMXNET2",
|
|
893
|
-
"VMXNET3"
|
|
894
|
-
]
|
|
895
|
-
}
|
|
896
|
-
},
|
|
897
|
-
powerOnBoot: {
|
|
898
|
-
serializedName: "powerOnBoot",
|
|
899
|
-
type: {
|
|
900
|
-
name: "Boolean"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
virtualNicId: {
|
|
904
|
-
serializedName: "virtualNicId",
|
|
905
|
-
type: {
|
|
906
|
-
name: "String"
|
|
907
|
-
}
|
|
908
|
-
},
|
|
909
|
-
virtualNicName: {
|
|
910
|
-
readOnly: true,
|
|
911
|
-
serializedName: "virtualNicName",
|
|
912
|
-
type: {
|
|
913
|
-
name: "String"
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
};
|
|
919
|
-
var VirtualMachineTemplate = {
|
|
920
|
-
serializedName: "VirtualMachineTemplate",
|
|
921
|
-
type: {
|
|
922
|
-
name: "Composite",
|
|
923
|
-
className: "VirtualMachineTemplate",
|
|
924
|
-
modelProperties: {
|
|
925
|
-
id: {
|
|
926
|
-
readOnly: true,
|
|
927
|
-
serializedName: "id",
|
|
928
|
-
type: {
|
|
929
|
-
name: "String"
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
location: {
|
|
933
|
-
serializedName: "location",
|
|
934
|
-
type: {
|
|
935
|
-
name: "String"
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
name: {
|
|
939
|
-
readOnly: true,
|
|
940
|
-
serializedName: "name",
|
|
941
|
-
type: {
|
|
942
|
-
name: "String"
|
|
943
|
-
}
|
|
944
|
-
},
|
|
945
|
-
amountOfRam: {
|
|
946
|
-
serializedName: "properties.amountOfRam",
|
|
947
|
-
type: {
|
|
948
|
-
name: "Number"
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
controllers: {
|
|
952
|
-
serializedName: "properties.controllers",
|
|
953
|
-
type: {
|
|
954
|
-
name: "Sequence",
|
|
955
|
-
element: {
|
|
956
|
-
type: {
|
|
957
|
-
name: "Composite",
|
|
958
|
-
className: "VirtualDiskController"
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
description: {
|
|
964
|
-
serializedName: "properties.description",
|
|
965
|
-
type: {
|
|
966
|
-
name: "String"
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
disks: {
|
|
970
|
-
serializedName: "properties.disks",
|
|
971
|
-
type: {
|
|
972
|
-
name: "Sequence",
|
|
973
|
-
element: {
|
|
974
|
-
type: {
|
|
975
|
-
name: "Composite",
|
|
976
|
-
className: "VirtualDisk"
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
},
|
|
981
|
-
exposeToGuestVM: {
|
|
982
|
-
serializedName: "properties.exposeToGuestVM",
|
|
983
|
-
type: {
|
|
984
|
-
name: "Boolean"
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
guestOS: {
|
|
988
|
-
readOnly: true,
|
|
989
|
-
serializedName: "properties.guestOS",
|
|
990
|
-
type: {
|
|
991
|
-
name: "String"
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
guestOSType: {
|
|
995
|
-
readOnly: true,
|
|
996
|
-
serializedName: "properties.guestOSType",
|
|
997
|
-
type: {
|
|
998
|
-
name: "String"
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
nics: {
|
|
1002
|
-
serializedName: "properties.nics",
|
|
1003
|
-
type: {
|
|
1004
|
-
name: "Sequence",
|
|
1005
|
-
element: {
|
|
1006
|
-
type: {
|
|
1007
|
-
name: "Composite",
|
|
1008
|
-
className: "VirtualNic"
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
numberOfCores: {
|
|
1014
|
-
serializedName: "properties.numberOfCores",
|
|
1015
|
-
type: {
|
|
1016
|
-
name: "Number"
|
|
1017
|
-
}
|
|
1018
|
-
},
|
|
1019
|
-
path: {
|
|
1020
|
-
serializedName: "properties.path",
|
|
1021
|
-
type: {
|
|
1022
|
-
name: "String"
|
|
1023
|
-
}
|
|
1024
|
-
},
|
|
1025
|
-
privateCloudId: {
|
|
1026
|
-
required: true,
|
|
1027
|
-
serializedName: "properties.privateCloudId",
|
|
1028
|
-
type: {
|
|
1029
|
-
name: "String"
|
|
1030
|
-
}
|
|
1031
|
-
},
|
|
1032
|
-
vSphereNetworks: {
|
|
1033
|
-
serializedName: "properties.vSphereNetworks",
|
|
1034
|
-
type: {
|
|
1035
|
-
name: "Sequence",
|
|
1036
|
-
element: {
|
|
1037
|
-
type: {
|
|
1038
|
-
name: "String"
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
vSphereTags: {
|
|
1044
|
-
serializedName: "properties.vSphereTags",
|
|
1045
|
-
type: {
|
|
1046
|
-
name: "Sequence",
|
|
1047
|
-
element: {
|
|
1048
|
-
type: {
|
|
1049
|
-
name: "String"
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
},
|
|
1054
|
-
vmwaretools: {
|
|
1055
|
-
readOnly: true,
|
|
1056
|
-
serializedName: "properties.vmwaretools",
|
|
1057
|
-
type: {
|
|
1058
|
-
name: "String"
|
|
1059
|
-
}
|
|
1060
|
-
},
|
|
1061
|
-
type: {
|
|
1062
|
-
readOnly: true,
|
|
1063
|
-
serializedName: "type",
|
|
1064
|
-
type: {
|
|
1065
|
-
name: "String"
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
};
|
|
1071
|
-
var PrivateCloud = {
|
|
1072
|
-
serializedName: "PrivateCloud",
|
|
1073
|
-
type: {
|
|
1074
|
-
name: "Composite",
|
|
1075
|
-
className: "PrivateCloud",
|
|
1076
|
-
modelProperties: {
|
|
1077
|
-
id: {
|
|
1078
|
-
serializedName: "id",
|
|
1079
|
-
type: {
|
|
1080
|
-
name: "String"
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
location: {
|
|
1084
|
-
serializedName: "location",
|
|
1085
|
-
type: {
|
|
1086
|
-
name: "String"
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
name: {
|
|
1090
|
-
serializedName: "name",
|
|
1091
|
-
type: {
|
|
1092
|
-
name: "String"
|
|
1093
|
-
}
|
|
1094
|
-
},
|
|
1095
|
-
availabilityZoneId: {
|
|
1096
|
-
serializedName: "properties.availabilityZoneId",
|
|
1097
|
-
type: {
|
|
1098
|
-
name: "String"
|
|
1099
|
-
}
|
|
1100
|
-
},
|
|
1101
|
-
availabilityZoneName: {
|
|
1102
|
-
serializedName: "properties.availabilityZoneName",
|
|
1103
|
-
type: {
|
|
1104
|
-
name: "String"
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
clustersNumber: {
|
|
1108
|
-
serializedName: "properties.clustersNumber",
|
|
1109
|
-
type: {
|
|
1110
|
-
name: "Number"
|
|
1111
|
-
}
|
|
1112
|
-
},
|
|
1113
|
-
createdBy: {
|
|
1114
|
-
serializedName: "properties.createdBy",
|
|
1115
|
-
type: {
|
|
1116
|
-
name: "String"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
createdOn: {
|
|
1120
|
-
serializedName: "properties.createdOn",
|
|
1121
|
-
type: {
|
|
1122
|
-
name: "DateTime"
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
dnsServers: {
|
|
1126
|
-
serializedName: "properties.dnsServers",
|
|
1127
|
-
type: {
|
|
1128
|
-
name: "Sequence",
|
|
1129
|
-
element: {
|
|
1130
|
-
type: {
|
|
1131
|
-
name: "String"
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
expires: {
|
|
1137
|
-
serializedName: "properties.expires",
|
|
1138
|
-
type: {
|
|
1139
|
-
name: "String"
|
|
1140
|
-
}
|
|
1141
|
-
},
|
|
1142
|
-
nsxType: {
|
|
1143
|
-
serializedName: "properties.nsxType",
|
|
1144
|
-
type: {
|
|
1145
|
-
name: "String"
|
|
1146
|
-
}
|
|
1147
|
-
},
|
|
1148
|
-
placementGroupId: {
|
|
1149
|
-
serializedName: "properties.placementGroupId",
|
|
1150
|
-
type: {
|
|
1151
|
-
name: "String"
|
|
1152
|
-
}
|
|
1153
|
-
},
|
|
1154
|
-
placementGroupName: {
|
|
1155
|
-
serializedName: "properties.placementGroupName",
|
|
1156
|
-
type: {
|
|
1157
|
-
name: "String"
|
|
1158
|
-
}
|
|
1159
|
-
},
|
|
1160
|
-
privateCloudId: {
|
|
1161
|
-
serializedName: "properties.privateCloudId",
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "Uuid"
|
|
1164
|
-
}
|
|
1165
|
-
},
|
|
1166
|
-
resourcePools: {
|
|
1167
|
-
serializedName: "properties.resourcePools",
|
|
1168
|
-
type: {
|
|
1169
|
-
name: "Sequence",
|
|
1170
|
-
element: {
|
|
1171
|
-
type: {
|
|
1172
|
-
name: "Composite",
|
|
1173
|
-
className: "ResourcePool"
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
},
|
|
1178
|
-
state: {
|
|
1179
|
-
serializedName: "properties.state",
|
|
1180
|
-
type: {
|
|
1181
|
-
name: "String"
|
|
1182
|
-
}
|
|
1183
|
-
},
|
|
1184
|
-
totalCpuCores: {
|
|
1185
|
-
serializedName: "properties.totalCpuCores",
|
|
1186
|
-
type: {
|
|
1187
|
-
name: "Number"
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
totalNodes: {
|
|
1191
|
-
serializedName: "properties.totalNodes",
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "Number"
|
|
1194
|
-
}
|
|
1195
|
-
},
|
|
1196
|
-
totalRam: {
|
|
1197
|
-
serializedName: "properties.totalRam",
|
|
1198
|
-
type: {
|
|
1199
|
-
name: "Number"
|
|
1200
|
-
}
|
|
1201
|
-
},
|
|
1202
|
-
totalStorage: {
|
|
1203
|
-
serializedName: "properties.totalStorage",
|
|
1204
|
-
type: {
|
|
1205
|
-
name: "Number"
|
|
1206
|
-
}
|
|
1207
|
-
},
|
|
1208
|
-
privateCloudPropertiesType: {
|
|
1209
|
-
serializedName: "properties.type",
|
|
1210
|
-
type: {
|
|
1211
|
-
name: "String"
|
|
1212
|
-
}
|
|
1213
|
-
},
|
|
1214
|
-
vSphereVersion: {
|
|
1215
|
-
serializedName: "properties.vSphereVersion",
|
|
1216
|
-
type: {
|
|
1217
|
-
name: "String"
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
vcenterFqdn: {
|
|
1221
|
-
serializedName: "properties.vcenterFqdn",
|
|
1222
|
-
type: {
|
|
1223
|
-
name: "String"
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
vcenterRefid: {
|
|
1227
|
-
serializedName: "properties.vcenterRefid",
|
|
1228
|
-
type: {
|
|
1229
|
-
name: "String"
|
|
1230
|
-
}
|
|
1231
|
-
},
|
|
1232
|
-
virtualMachineTemplates: {
|
|
1233
|
-
serializedName: "properties.virtualMachineTemplates",
|
|
1234
|
-
type: {
|
|
1235
|
-
name: "Sequence",
|
|
1236
|
-
element: {
|
|
1237
|
-
type: {
|
|
1238
|
-
name: "Composite",
|
|
1239
|
-
className: "VirtualMachineTemplate"
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
},
|
|
1244
|
-
virtualNetworks: {
|
|
1245
|
-
serializedName: "properties.virtualNetworks",
|
|
1246
|
-
type: {
|
|
1247
|
-
name: "Sequence",
|
|
1248
|
-
element: {
|
|
1249
|
-
type: {
|
|
1250
|
-
name: "Composite",
|
|
1251
|
-
className: "VirtualNetwork"
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
},
|
|
1256
|
-
vrOpsEnabled: {
|
|
1257
|
-
serializedName: "properties.vrOpsEnabled",
|
|
1258
|
-
type: {
|
|
1259
|
-
name: "Boolean"
|
|
1260
|
-
}
|
|
1261
|
-
},
|
|
1262
|
-
type: {
|
|
1263
|
-
serializedName: "type",
|
|
1264
|
-
type: {
|
|
1265
|
-
name: "Enum",
|
|
1266
|
-
allowedValues: [
|
|
1267
|
-
"Microsoft.VMwareCloudSimple/privateClouds"
|
|
1268
|
-
]
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
};
|
|
1274
|
-
var SkuAvailability = {
|
|
1275
|
-
serializedName: "SkuAvailability",
|
|
1276
|
-
type: {
|
|
1277
|
-
name: "Composite",
|
|
1278
|
-
className: "SkuAvailability",
|
|
1279
|
-
modelProperties: {
|
|
1280
|
-
dedicatedAvailabilityZoneId: {
|
|
1281
|
-
serializedName: "dedicatedAvailabilityZoneId",
|
|
1282
|
-
type: {
|
|
1283
|
-
name: "String"
|
|
1284
|
-
}
|
|
1285
|
-
},
|
|
1286
|
-
dedicatedAvailabilityZoneName: {
|
|
1287
|
-
serializedName: "dedicatedAvailabilityZoneName",
|
|
1288
|
-
type: {
|
|
1289
|
-
name: "String"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
dedicatedPlacementGroupId: {
|
|
1293
|
-
serializedName: "dedicatedPlacementGroupId",
|
|
1294
|
-
type: {
|
|
1295
|
-
name: "String"
|
|
1296
|
-
}
|
|
1297
|
-
},
|
|
1298
|
-
dedicatedPlacementGroupName: {
|
|
1299
|
-
serializedName: "dedicatedPlacementGroupName",
|
|
1300
|
-
type: {
|
|
1301
|
-
name: "String"
|
|
1302
|
-
}
|
|
1303
|
-
},
|
|
1304
|
-
limit: {
|
|
1305
|
-
required: true,
|
|
1306
|
-
serializedName: "limit",
|
|
1307
|
-
type: {
|
|
1308
|
-
name: "Number"
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
resourceType: {
|
|
1312
|
-
serializedName: "resourceType",
|
|
1313
|
-
type: {
|
|
1314
|
-
name: "String"
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
skuId: {
|
|
1318
|
-
serializedName: "skuId",
|
|
1319
|
-
type: {
|
|
1320
|
-
name: "String"
|
|
1321
|
-
}
|
|
1322
|
-
},
|
|
1323
|
-
skuName: {
|
|
1324
|
-
serializedName: "skuName",
|
|
1325
|
-
type: {
|
|
1326
|
-
name: "String"
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
};
|
|
1332
|
-
var UsageName = {
|
|
1333
|
-
serializedName: "UsageName",
|
|
1334
|
-
type: {
|
|
1335
|
-
name: "Composite",
|
|
1336
|
-
className: "UsageName",
|
|
1337
|
-
modelProperties: {
|
|
1338
|
-
localizedValue: {
|
|
1339
|
-
serializedName: "localizedValue",
|
|
1340
|
-
type: {
|
|
1341
|
-
name: "String"
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
value: {
|
|
1345
|
-
serializedName: "value",
|
|
1346
|
-
type: {
|
|
1347
|
-
name: "String"
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
};
|
|
1353
|
-
var Usage = {
|
|
1354
|
-
serializedName: "Usage",
|
|
1355
|
-
type: {
|
|
1356
|
-
name: "Composite",
|
|
1357
|
-
className: "Usage",
|
|
1358
|
-
modelProperties: {
|
|
1359
|
-
currentValue: {
|
|
1360
|
-
required: true,
|
|
1361
|
-
serializedName: "currentValue",
|
|
1362
|
-
defaultValue: 0,
|
|
1363
|
-
type: {
|
|
1364
|
-
name: "Number"
|
|
1365
|
-
}
|
|
1366
|
-
},
|
|
1367
|
-
limit: {
|
|
1368
|
-
required: true,
|
|
1369
|
-
serializedName: "limit",
|
|
1370
|
-
defaultValue: 0,
|
|
1371
|
-
type: {
|
|
1372
|
-
name: "Number"
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
name: {
|
|
1376
|
-
serializedName: "name",
|
|
1377
|
-
type: {
|
|
1378
|
-
name: "Composite",
|
|
1379
|
-
className: "UsageName"
|
|
1380
|
-
}
|
|
1381
|
-
},
|
|
1382
|
-
unit: {
|
|
1383
|
-
serializedName: "unit",
|
|
1384
|
-
type: {
|
|
1385
|
-
name: "Enum",
|
|
1386
|
-
allowedValues: [
|
|
1387
|
-
"Count",
|
|
1388
|
-
"Bytes",
|
|
1389
|
-
"Seconds",
|
|
1390
|
-
"Percent",
|
|
1391
|
-
"CountPerSecond",
|
|
1392
|
-
"BytesPerSecond"
|
|
1393
|
-
]
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
};
|
|
1399
|
-
var VirtualMachine = {
|
|
1400
|
-
serializedName: "VirtualMachine",
|
|
1401
|
-
type: {
|
|
1402
|
-
name: "Composite",
|
|
1403
|
-
className: "VirtualMachine",
|
|
1404
|
-
modelProperties: {
|
|
1405
|
-
id: {
|
|
1406
|
-
readOnly: true,
|
|
1407
|
-
serializedName: "id",
|
|
1408
|
-
type: {
|
|
1409
|
-
name: "String"
|
|
1410
|
-
}
|
|
1411
|
-
},
|
|
1412
|
-
location: {
|
|
1413
|
-
required: true,
|
|
1414
|
-
serializedName: "location",
|
|
1415
|
-
type: {
|
|
1416
|
-
name: "String"
|
|
1417
|
-
}
|
|
1418
|
-
},
|
|
1419
|
-
name: {
|
|
1420
|
-
readOnly: true,
|
|
1421
|
-
serializedName: "name",
|
|
1422
|
-
constraints: {
|
|
1423
|
-
Pattern: /^[-a-zA-Z0-9]+$/
|
|
1424
|
-
},
|
|
1425
|
-
type: {
|
|
1426
|
-
name: "String"
|
|
1427
|
-
}
|
|
1428
|
-
},
|
|
1429
|
-
amountOfRam: {
|
|
1430
|
-
required: true,
|
|
1431
|
-
serializedName: "properties.amountOfRam",
|
|
1432
|
-
type: {
|
|
1433
|
-
name: "Number"
|
|
1434
|
-
}
|
|
1435
|
-
},
|
|
1436
|
-
controllers: {
|
|
1437
|
-
readOnly: true,
|
|
1438
|
-
serializedName: "properties.controllers",
|
|
1439
|
-
type: {
|
|
1440
|
-
name: "Sequence",
|
|
1441
|
-
element: {
|
|
1442
|
-
type: {
|
|
1443
|
-
name: "Composite",
|
|
1444
|
-
className: "VirtualDiskController"
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
},
|
|
1449
|
-
disks: {
|
|
1450
|
-
serializedName: "properties.disks",
|
|
1451
|
-
type: {
|
|
1452
|
-
name: "Sequence",
|
|
1453
|
-
element: {
|
|
1454
|
-
type: {
|
|
1455
|
-
name: "Composite",
|
|
1456
|
-
className: "VirtualDisk"
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
dnsname: {
|
|
1462
|
-
readOnly: true,
|
|
1463
|
-
serializedName: "properties.dnsname",
|
|
1464
|
-
type: {
|
|
1465
|
-
name: "String"
|
|
1466
|
-
}
|
|
1467
|
-
},
|
|
1468
|
-
exposeToGuestVM: {
|
|
1469
|
-
serializedName: "properties.exposeToGuestVM",
|
|
1470
|
-
type: {
|
|
1471
|
-
name: "Boolean"
|
|
1472
|
-
}
|
|
1473
|
-
},
|
|
1474
|
-
folder: {
|
|
1475
|
-
readOnly: true,
|
|
1476
|
-
serializedName: "properties.folder",
|
|
1477
|
-
type: {
|
|
1478
|
-
name: "String"
|
|
1479
|
-
}
|
|
1480
|
-
},
|
|
1481
|
-
guestOS: {
|
|
1482
|
-
readOnly: true,
|
|
1483
|
-
serializedName: "properties.guestOS",
|
|
1484
|
-
type: {
|
|
1485
|
-
name: "String"
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
guestOSType: {
|
|
1489
|
-
readOnly: true,
|
|
1490
|
-
serializedName: "properties.guestOSType",
|
|
1491
|
-
type: {
|
|
1492
|
-
name: "Enum",
|
|
1493
|
-
allowedValues: [
|
|
1494
|
-
"linux",
|
|
1495
|
-
"windows",
|
|
1496
|
-
"other"
|
|
1497
|
-
]
|
|
1498
|
-
}
|
|
1499
|
-
},
|
|
1500
|
-
nics: {
|
|
1501
|
-
serializedName: "properties.nics",
|
|
1502
|
-
type: {
|
|
1503
|
-
name: "Sequence",
|
|
1504
|
-
element: {
|
|
1505
|
-
type: {
|
|
1506
|
-
name: "Composite",
|
|
1507
|
-
className: "VirtualNic"
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
},
|
|
1512
|
-
numberOfCores: {
|
|
1513
|
-
required: true,
|
|
1514
|
-
serializedName: "properties.numberOfCores",
|
|
1515
|
-
type: {
|
|
1516
|
-
name: "Number"
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
password: {
|
|
1520
|
-
serializedName: "properties.password",
|
|
1521
|
-
type: {
|
|
1522
|
-
name: "String"
|
|
1523
|
-
}
|
|
1524
|
-
},
|
|
1525
|
-
privateCloudId: {
|
|
1526
|
-
required: true,
|
|
1527
|
-
serializedName: "properties.privateCloudId",
|
|
1528
|
-
type: {
|
|
1529
|
-
name: "String"
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
provisioningState: {
|
|
1533
|
-
readOnly: true,
|
|
1534
|
-
serializedName: "properties.provisioningState",
|
|
1535
|
-
type: {
|
|
1536
|
-
name: "String"
|
|
1537
|
-
}
|
|
1538
|
-
},
|
|
1539
|
-
publicIP: {
|
|
1540
|
-
readOnly: true,
|
|
1541
|
-
serializedName: "properties.publicIP",
|
|
1542
|
-
type: {
|
|
1543
|
-
name: "String"
|
|
1544
|
-
}
|
|
1545
|
-
},
|
|
1546
|
-
resourcePool: {
|
|
1547
|
-
serializedName: "properties.resourcePool",
|
|
1548
|
-
type: {
|
|
1549
|
-
name: "Composite",
|
|
1550
|
-
className: "ResourcePool"
|
|
1551
|
-
}
|
|
1552
|
-
},
|
|
1553
|
-
status: {
|
|
1554
|
-
readOnly: true,
|
|
1555
|
-
serializedName: "properties.status",
|
|
1556
|
-
type: {
|
|
1557
|
-
name: "Enum",
|
|
1558
|
-
allowedValues: [
|
|
1559
|
-
"running",
|
|
1560
|
-
"suspended",
|
|
1561
|
-
"poweredoff",
|
|
1562
|
-
"updating",
|
|
1563
|
-
"deallocating",
|
|
1564
|
-
"deleting"
|
|
1565
|
-
]
|
|
1566
|
-
}
|
|
1567
|
-
},
|
|
1568
|
-
templateId: {
|
|
1569
|
-
serializedName: "properties.templateId",
|
|
1570
|
-
type: {
|
|
1571
|
-
name: "String"
|
|
1572
|
-
}
|
|
1573
|
-
},
|
|
1574
|
-
username: {
|
|
1575
|
-
serializedName: "properties.username",
|
|
1576
|
-
type: {
|
|
1577
|
-
name: "String"
|
|
1578
|
-
}
|
|
1579
|
-
},
|
|
1580
|
-
vSphereNetworks: {
|
|
1581
|
-
serializedName: "properties.vSphereNetworks",
|
|
1582
|
-
type: {
|
|
1583
|
-
name: "Sequence",
|
|
1584
|
-
element: {
|
|
1585
|
-
type: {
|
|
1586
|
-
name: "String"
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
|
-
vmId: {
|
|
1592
|
-
readOnly: true,
|
|
1593
|
-
serializedName: "properties.vmId",
|
|
1594
|
-
type: {
|
|
1595
|
-
name: "String"
|
|
1596
|
-
}
|
|
1597
|
-
},
|
|
1598
|
-
vmwaretools: {
|
|
1599
|
-
readOnly: true,
|
|
1600
|
-
serializedName: "properties.vmwaretools",
|
|
1601
|
-
type: {
|
|
1602
|
-
name: "String"
|
|
1603
|
-
}
|
|
1604
|
-
},
|
|
1605
|
-
tags: {
|
|
1606
|
-
serializedName: "tags",
|
|
1607
|
-
type: {
|
|
1608
|
-
name: "Dictionary",
|
|
1609
|
-
value: {
|
|
1610
|
-
type: {
|
|
1611
|
-
name: "String"
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
},
|
|
1616
|
-
type: {
|
|
1617
|
-
readOnly: true,
|
|
1618
|
-
serializedName: "type",
|
|
1619
|
-
type: {
|
|
1620
|
-
name: "String"
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
};
|
|
1626
|
-
var VirtualMachineStopMode = {
|
|
1627
|
-
serializedName: "VirtualMachineStopMode",
|
|
1628
|
-
type: {
|
|
1629
|
-
name: "Composite",
|
|
1630
|
-
className: "VirtualMachineStopMode",
|
|
1631
|
-
modelProperties: {
|
|
1632
|
-
mode: {
|
|
1633
|
-
serializedName: "mode",
|
|
1634
|
-
type: {
|
|
1635
|
-
name: "Enum",
|
|
1636
|
-
allowedValues: [
|
|
1637
|
-
"reboot",
|
|
1638
|
-
"suspend",
|
|
1639
|
-
"shutdown",
|
|
1640
|
-
"poweroff"
|
|
1641
|
-
]
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
};
|
|
1647
|
-
var OperationsGetHeaders = {
|
|
1648
|
-
serializedName: "operations-get-headers",
|
|
1649
|
-
type: {
|
|
1650
|
-
name: "Composite",
|
|
1651
|
-
className: "OperationsGetHeaders",
|
|
1652
|
-
modelProperties: {
|
|
1653
|
-
location: {
|
|
1654
|
-
serializedName: "location",
|
|
1655
|
-
type: {
|
|
1656
|
-
name: "String"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
|
-
retryAfter: {
|
|
1660
|
-
serializedName: "retry-after",
|
|
1661
|
-
type: {
|
|
1662
|
-
name: "Number"
|
|
1663
|
-
}
|
|
1664
|
-
},
|
|
1665
|
-
contentType: {
|
|
1666
|
-
serializedName: "content-type",
|
|
1667
|
-
type: {
|
|
1668
|
-
name: "String"
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
}
|
|
1673
|
-
};
|
|
1674
|
-
var DedicatedCloudNodesCreateOrUpdateHeaders = {
|
|
1675
|
-
serializedName: "dedicatedcloudnodes-createorupdate-headers",
|
|
1676
|
-
type: {
|
|
1677
|
-
name: "Composite",
|
|
1678
|
-
className: "DedicatedCloudNodesCreateOrUpdateHeaders",
|
|
1679
|
-
modelProperties: {
|
|
1680
|
-
azureAsyncOperation: {
|
|
1681
|
-
serializedName: "azure-asyncoperation",
|
|
1682
|
-
type: {
|
|
1683
|
-
name: "String"
|
|
1684
|
-
}
|
|
1685
|
-
},
|
|
1686
|
-
locationHeader: {
|
|
1687
|
-
serializedName: "location",
|
|
1688
|
-
type: {
|
|
1689
|
-
name: "String"
|
|
1690
|
-
}
|
|
1691
|
-
},
|
|
1692
|
-
retryAfter: {
|
|
1693
|
-
serializedName: "retry-after",
|
|
1694
|
-
type: {
|
|
1695
|
-
name: "Number"
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
}
|
|
1700
|
-
};
|
|
1701
|
-
var DedicatedCloudNodesDeleteHeaders = {
|
|
1702
|
-
serializedName: "dedicatedcloudnodes-delete-headers",
|
|
1703
|
-
type: {
|
|
1704
|
-
name: "Composite",
|
|
1705
|
-
className: "DedicatedCloudNodesDeleteHeaders",
|
|
1706
|
-
modelProperties: {
|
|
1707
|
-
contentType: {
|
|
1708
|
-
serializedName: "content-type",
|
|
1709
|
-
type: {
|
|
1710
|
-
name: "String"
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
};
|
|
1716
|
-
var DedicatedCloudServicesDeleteHeaders = {
|
|
1717
|
-
serializedName: "dedicatedcloudservices-delete-headers",
|
|
1718
|
-
type: {
|
|
1719
|
-
name: "Composite",
|
|
1720
|
-
className: "DedicatedCloudServicesDeleteHeaders",
|
|
1721
|
-
modelProperties: {
|
|
1722
|
-
contentType: {
|
|
1723
|
-
serializedName: "content-type",
|
|
1724
|
-
type: {
|
|
1725
|
-
name: "String"
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
};
|
|
1731
|
-
var VirtualMachinesCreateOrUpdateHeaders = {
|
|
1732
|
-
serializedName: "virtualmachines-createorupdate-headers",
|
|
1733
|
-
type: {
|
|
1734
|
-
name: "Composite",
|
|
1735
|
-
className: "VirtualMachinesCreateOrUpdateHeaders",
|
|
1736
|
-
modelProperties: {
|
|
1737
|
-
azureAsyncOperation: {
|
|
1738
|
-
serializedName: "azure-asyncoperation",
|
|
1739
|
-
type: {
|
|
1740
|
-
name: "String"
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
};
|
|
1746
|
-
var VirtualMachinesDeleteHeaders = {
|
|
1747
|
-
serializedName: "virtualmachines-delete-headers",
|
|
1748
|
-
type: {
|
|
1749
|
-
name: "Composite",
|
|
1750
|
-
className: "VirtualMachinesDeleteHeaders",
|
|
1751
|
-
modelProperties: {
|
|
1752
|
-
azureAsyncOperation: {
|
|
1753
|
-
serializedName: "azure-asyncoperation",
|
|
1754
|
-
type: {
|
|
1755
|
-
name: "String"
|
|
1756
|
-
}
|
|
1757
|
-
},
|
|
1758
|
-
location: {
|
|
1759
|
-
serializedName: "location",
|
|
1760
|
-
type: {
|
|
1761
|
-
name: "String"
|
|
1762
|
-
}
|
|
1763
|
-
},
|
|
1764
|
-
retryAfter: {
|
|
1765
|
-
serializedName: "retry-after",
|
|
1766
|
-
type: {
|
|
1767
|
-
name: "Number"
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
contentType: {
|
|
1771
|
-
serializedName: "content-type",
|
|
1772
|
-
type: {
|
|
1773
|
-
name: "String"
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
};
|
|
1779
|
-
var VirtualMachinesStartHeaders = {
|
|
1780
|
-
serializedName: "virtualmachines-start-headers",
|
|
1781
|
-
type: {
|
|
1782
|
-
name: "Composite",
|
|
1783
|
-
className: "VirtualMachinesStartHeaders",
|
|
1784
|
-
modelProperties: {
|
|
1785
|
-
azureAsyncOperation: {
|
|
1786
|
-
serializedName: "azure-asyncoperation",
|
|
1787
|
-
type: {
|
|
1788
|
-
name: "String"
|
|
1789
|
-
}
|
|
1790
|
-
},
|
|
1791
|
-
location: {
|
|
1792
|
-
serializedName: "location",
|
|
1793
|
-
type: {
|
|
1794
|
-
name: "String"
|
|
1795
|
-
}
|
|
1796
|
-
},
|
|
1797
|
-
retryAfter: {
|
|
1798
|
-
serializedName: "retry-after",
|
|
1799
|
-
type: {
|
|
1800
|
-
name: "Number"
|
|
1801
|
-
}
|
|
1802
|
-
},
|
|
1803
|
-
contentType: {
|
|
1804
|
-
serializedName: "content-type",
|
|
1805
|
-
type: {
|
|
1806
|
-
name: "String"
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
};
|
|
1812
|
-
var VirtualMachinesStopHeaders = {
|
|
1813
|
-
serializedName: "virtualmachines-stop-headers",
|
|
1814
|
-
type: {
|
|
1815
|
-
name: "Composite",
|
|
1816
|
-
className: "VirtualMachinesStopHeaders",
|
|
1817
|
-
modelProperties: {
|
|
1818
|
-
azureAsyncOperation: {
|
|
1819
|
-
serializedName: "azure-asyncoperation",
|
|
1820
|
-
type: {
|
|
1821
|
-
name: "String"
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
location: {
|
|
1825
|
-
serializedName: "location",
|
|
1826
|
-
type: {
|
|
1827
|
-
name: "String"
|
|
1828
|
-
}
|
|
1829
|
-
},
|
|
1830
|
-
retryAfter: {
|
|
1831
|
-
serializedName: "retry-after",
|
|
1832
|
-
type: {
|
|
1833
|
-
name: "Number"
|
|
1834
|
-
}
|
|
1835
|
-
},
|
|
1836
|
-
contentType: {
|
|
1837
|
-
serializedName: "content-type",
|
|
1838
|
-
type: {
|
|
1839
|
-
name: "String"
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
};
|
|
1845
|
-
var AvailableOperationsListResponse = {
|
|
1846
|
-
serializedName: "AvailableOperationsListResponse",
|
|
1847
|
-
type: {
|
|
1848
|
-
name: "Composite",
|
|
1849
|
-
className: "AvailableOperationsListResponse",
|
|
1850
|
-
modelProperties: {
|
|
1851
|
-
nextLink: {
|
|
1852
|
-
serializedName: "nextLink",
|
|
1853
|
-
type: {
|
|
1854
|
-
name: "String"
|
|
1855
|
-
}
|
|
1856
|
-
},
|
|
1857
|
-
value: {
|
|
1858
|
-
serializedName: "",
|
|
1859
|
-
type: {
|
|
1860
|
-
name: "Sequence",
|
|
1861
|
-
element: {
|
|
1862
|
-
type: {
|
|
1863
|
-
name: "Composite",
|
|
1864
|
-
className: "AvailableOperation"
|
|
1865
|
-
}
|
|
1866
|
-
}
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
};
|
|
1872
|
-
var DedicatedCloudNodeListResponse = {
|
|
1873
|
-
serializedName: "DedicatedCloudNodeListResponse",
|
|
1874
|
-
type: {
|
|
1875
|
-
name: "Composite",
|
|
1876
|
-
className: "DedicatedCloudNodeListResponse",
|
|
1877
|
-
modelProperties: {
|
|
1878
|
-
nextLink: {
|
|
1879
|
-
serializedName: "nextLink",
|
|
1880
|
-
type: {
|
|
1881
|
-
name: "String"
|
|
1882
|
-
}
|
|
1883
|
-
},
|
|
1884
|
-
value: {
|
|
1885
|
-
serializedName: "",
|
|
1886
|
-
type: {
|
|
1887
|
-
name: "Sequence",
|
|
1888
|
-
element: {
|
|
1889
|
-
type: {
|
|
1890
|
-
name: "Composite",
|
|
1891
|
-
className: "DedicatedCloudNode"
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
};
|
|
1899
|
-
var DedicatedCloudServiceListResponse = {
|
|
1900
|
-
serializedName: "DedicatedCloudServiceListResponse",
|
|
1901
|
-
type: {
|
|
1902
|
-
name: "Composite",
|
|
1903
|
-
className: "DedicatedCloudServiceListResponse",
|
|
1904
|
-
modelProperties: {
|
|
1905
|
-
nextLink: {
|
|
1906
|
-
serializedName: "nextLink",
|
|
1907
|
-
type: {
|
|
1908
|
-
name: "String"
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
|
-
value: {
|
|
1912
|
-
serializedName: "",
|
|
1913
|
-
type: {
|
|
1914
|
-
name: "Sequence",
|
|
1915
|
-
element: {
|
|
1916
|
-
type: {
|
|
1917
|
-
name: "Composite",
|
|
1918
|
-
className: "DedicatedCloudService"
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
};
|
|
1926
|
-
var SkuAvailabilityListResponse = {
|
|
1927
|
-
serializedName: "SkuAvailabilityListResponse",
|
|
1928
|
-
type: {
|
|
1929
|
-
name: "Composite",
|
|
1930
|
-
className: "SkuAvailabilityListResponse",
|
|
1931
|
-
modelProperties: {
|
|
1932
|
-
nextLink: {
|
|
1933
|
-
serializedName: "nextLink",
|
|
1934
|
-
type: {
|
|
1935
|
-
name: "String"
|
|
1936
|
-
}
|
|
1937
|
-
},
|
|
1938
|
-
value: {
|
|
1939
|
-
serializedName: "",
|
|
1940
|
-
type: {
|
|
1941
|
-
name: "Sequence",
|
|
1942
|
-
element: {
|
|
1943
|
-
type: {
|
|
1944
|
-
name: "Composite",
|
|
1945
|
-
className: "SkuAvailability"
|
|
1946
|
-
}
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
}
|
|
1951
|
-
}
|
|
1952
|
-
};
|
|
1953
|
-
var PrivateCloudList = {
|
|
1954
|
-
serializedName: "PrivateCloudList",
|
|
1955
|
-
type: {
|
|
1956
|
-
name: "Composite",
|
|
1957
|
-
className: "PrivateCloudList",
|
|
1958
|
-
modelProperties: {
|
|
1959
|
-
nextLink: {
|
|
1960
|
-
serializedName: "nextLink",
|
|
1961
|
-
type: {
|
|
1962
|
-
name: "String"
|
|
1963
|
-
}
|
|
1964
|
-
},
|
|
1965
|
-
value: {
|
|
1966
|
-
serializedName: "",
|
|
1967
|
-
type: {
|
|
1968
|
-
name: "Sequence",
|
|
1969
|
-
element: {
|
|
1970
|
-
type: {
|
|
1971
|
-
name: "Composite",
|
|
1972
|
-
className: "PrivateCloud"
|
|
1973
|
-
}
|
|
1974
|
-
}
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
};
|
|
1980
|
-
var ResourcePoolsListResponse = {
|
|
1981
|
-
serializedName: "ResourcePoolsListResponse",
|
|
1982
|
-
type: {
|
|
1983
|
-
name: "Composite",
|
|
1984
|
-
className: "ResourcePoolsListResponse",
|
|
1985
|
-
modelProperties: {
|
|
1986
|
-
nextLink: {
|
|
1987
|
-
serializedName: "nextLink",
|
|
1988
|
-
type: {
|
|
1989
|
-
name: "String"
|
|
1990
|
-
}
|
|
1991
|
-
},
|
|
1992
|
-
value: {
|
|
1993
|
-
serializedName: "",
|
|
1994
|
-
type: {
|
|
1995
|
-
name: "Sequence",
|
|
1996
|
-
element: {
|
|
1997
|
-
type: {
|
|
1998
|
-
name: "Composite",
|
|
1999
|
-
className: "ResourcePool"
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
}
|
|
2006
|
-
};
|
|
2007
|
-
var VirtualMachineTemplateListResponse = {
|
|
2008
|
-
serializedName: "VirtualMachineTemplateListResponse",
|
|
2009
|
-
type: {
|
|
2010
|
-
name: "Composite",
|
|
2011
|
-
className: "VirtualMachineTemplateListResponse",
|
|
2012
|
-
modelProperties: {
|
|
2013
|
-
nextLink: {
|
|
2014
|
-
serializedName: "nextLink",
|
|
2015
|
-
type: {
|
|
2016
|
-
name: "String"
|
|
2017
|
-
}
|
|
2018
|
-
},
|
|
2019
|
-
value: {
|
|
2020
|
-
serializedName: "",
|
|
2021
|
-
type: {
|
|
2022
|
-
name: "Sequence",
|
|
2023
|
-
element: {
|
|
2024
|
-
type: {
|
|
2025
|
-
name: "Composite",
|
|
2026
|
-
className: "VirtualMachineTemplate"
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2029
|
-
}
|
|
2030
|
-
}
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
};
|
|
2034
|
-
var VirtualNetworkListResponse = {
|
|
2035
|
-
serializedName: "VirtualNetworkListResponse",
|
|
2036
|
-
type: {
|
|
2037
|
-
name: "Composite",
|
|
2038
|
-
className: "VirtualNetworkListResponse",
|
|
2039
|
-
modelProperties: {
|
|
2040
|
-
nextLink: {
|
|
2041
|
-
serializedName: "nextLink",
|
|
2042
|
-
type: {
|
|
2043
|
-
name: "String"
|
|
2044
|
-
}
|
|
2045
|
-
},
|
|
2046
|
-
value: {
|
|
2047
|
-
serializedName: "",
|
|
2048
|
-
type: {
|
|
2049
|
-
name: "Sequence",
|
|
2050
|
-
element: {
|
|
2051
|
-
type: {
|
|
2052
|
-
name: "Composite",
|
|
2053
|
-
className: "VirtualNetwork"
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
}
|
|
2059
|
-
}
|
|
2060
|
-
};
|
|
2061
|
-
var UsageListResponse = {
|
|
2062
|
-
serializedName: "UsageListResponse",
|
|
2063
|
-
type: {
|
|
2064
|
-
name: "Composite",
|
|
2065
|
-
className: "UsageListResponse",
|
|
2066
|
-
modelProperties: {
|
|
2067
|
-
nextLink: {
|
|
2068
|
-
serializedName: "nextLink",
|
|
2069
|
-
type: {
|
|
2070
|
-
name: "String"
|
|
2071
|
-
}
|
|
2072
|
-
},
|
|
2073
|
-
value: {
|
|
2074
|
-
readOnly: true,
|
|
2075
|
-
serializedName: "",
|
|
2076
|
-
type: {
|
|
2077
|
-
name: "Sequence",
|
|
2078
|
-
element: {
|
|
2079
|
-
type: {
|
|
2080
|
-
name: "Composite",
|
|
2081
|
-
className: "Usage"
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
}
|
|
2085
|
-
}
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
};
|
|
2089
|
-
var VirtualMachineListResponse = {
|
|
2090
|
-
serializedName: "VirtualMachineListResponse",
|
|
2091
|
-
type: {
|
|
2092
|
-
name: "Composite",
|
|
2093
|
-
className: "VirtualMachineListResponse",
|
|
2094
|
-
modelProperties: {
|
|
2095
|
-
nextLink: {
|
|
2096
|
-
serializedName: "nextLink",
|
|
2097
|
-
type: {
|
|
2098
|
-
name: "String"
|
|
2099
|
-
}
|
|
2100
|
-
},
|
|
2101
|
-
value: {
|
|
2102
|
-
serializedName: "",
|
|
2103
|
-
type: {
|
|
2104
|
-
name: "Sequence",
|
|
2105
|
-
element: {
|
|
2106
|
-
type: {
|
|
2107
|
-
name: "Composite",
|
|
2108
|
-
className: "VirtualMachine"
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
}
|
|
2114
|
-
}
|
|
2115
|
-
};
|
|
2116
|
-
|
|
2117
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
2118
|
-
__proto__: null,
|
|
2119
|
-
CloudError: CloudError,
|
|
2120
|
-
BaseResource: BaseResource,
|
|
2121
|
-
AvailableOperationDisplay: AvailableOperationDisplay,
|
|
2122
|
-
AvailableOperationDisplayPropertyServiceSpecificationMetricsItem: AvailableOperationDisplayPropertyServiceSpecificationMetricsItem,
|
|
2123
|
-
AvailableOperationDisplayPropertyServiceSpecificationMetricsList: AvailableOperationDisplayPropertyServiceSpecificationMetricsList,
|
|
2124
|
-
AvailableOperation: AvailableOperation,
|
|
2125
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
2126
|
-
CSRPError: CSRPError,
|
|
2127
|
-
Sku: Sku,
|
|
2128
|
-
DedicatedCloudNode: DedicatedCloudNode,
|
|
2129
|
-
DedicatedCloudService: DedicatedCloudService,
|
|
2130
|
-
OperationError: OperationError,
|
|
2131
|
-
OperationResource: OperationResource,
|
|
2132
|
-
PatchPayload: PatchPayload,
|
|
2133
|
-
ResourcePool: ResourcePool,
|
|
2134
|
-
VirtualDiskController: VirtualDiskController,
|
|
2135
|
-
VirtualDisk: VirtualDisk,
|
|
2136
|
-
VirtualNetwork: VirtualNetwork,
|
|
2137
|
-
VirtualNic: VirtualNic,
|
|
2138
|
-
VirtualMachineTemplate: VirtualMachineTemplate,
|
|
2139
|
-
PrivateCloud: PrivateCloud,
|
|
2140
|
-
SkuAvailability: SkuAvailability,
|
|
2141
|
-
UsageName: UsageName,
|
|
2142
|
-
Usage: Usage,
|
|
2143
|
-
VirtualMachine: VirtualMachine,
|
|
2144
|
-
VirtualMachineStopMode: VirtualMachineStopMode,
|
|
2145
|
-
OperationsGetHeaders: OperationsGetHeaders,
|
|
2146
|
-
DedicatedCloudNodesCreateOrUpdateHeaders: DedicatedCloudNodesCreateOrUpdateHeaders,
|
|
2147
|
-
DedicatedCloudNodesDeleteHeaders: DedicatedCloudNodesDeleteHeaders,
|
|
2148
|
-
DedicatedCloudServicesDeleteHeaders: DedicatedCloudServicesDeleteHeaders,
|
|
2149
|
-
VirtualMachinesCreateOrUpdateHeaders: VirtualMachinesCreateOrUpdateHeaders,
|
|
2150
|
-
VirtualMachinesDeleteHeaders: VirtualMachinesDeleteHeaders,
|
|
2151
|
-
VirtualMachinesStartHeaders: VirtualMachinesStartHeaders,
|
|
2152
|
-
VirtualMachinesStopHeaders: VirtualMachinesStopHeaders,
|
|
2153
|
-
AvailableOperationsListResponse: AvailableOperationsListResponse,
|
|
2154
|
-
DedicatedCloudNodeListResponse: DedicatedCloudNodeListResponse,
|
|
2155
|
-
DedicatedCloudServiceListResponse: DedicatedCloudServiceListResponse,
|
|
2156
|
-
SkuAvailabilityListResponse: SkuAvailabilityListResponse,
|
|
2157
|
-
PrivateCloudList: PrivateCloudList,
|
|
2158
|
-
ResourcePoolsListResponse: ResourcePoolsListResponse,
|
|
2159
|
-
VirtualMachineTemplateListResponse: VirtualMachineTemplateListResponse,
|
|
2160
|
-
VirtualNetworkListResponse: VirtualNetworkListResponse,
|
|
2161
|
-
UsageListResponse: UsageListResponse,
|
|
2162
|
-
VirtualMachineListResponse: VirtualMachineListResponse
|
|
2163
|
-
});
|
|
2164
|
-
|
|
2165
|
-
/*
|
|
2166
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2167
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2168
|
-
*
|
|
2169
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2170
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2171
|
-
*/
|
|
2172
|
-
|
|
2173
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2174
|
-
__proto__: null,
|
|
2175
|
-
AvailableOperation: AvailableOperation,
|
|
2176
|
-
AvailableOperationDisplay: AvailableOperationDisplay,
|
|
2177
|
-
AvailableOperationDisplayPropertyServiceSpecificationMetricsItem: AvailableOperationDisplayPropertyServiceSpecificationMetricsItem,
|
|
2178
|
-
AvailableOperationDisplayPropertyServiceSpecificationMetricsList: AvailableOperationDisplayPropertyServiceSpecificationMetricsList,
|
|
2179
|
-
AvailableOperationsListResponse: AvailableOperationsListResponse,
|
|
2180
|
-
CSRPError: CSRPError,
|
|
2181
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
2182
|
-
OperationError: OperationError,
|
|
2183
|
-
OperationResource: OperationResource,
|
|
2184
|
-
OperationsGetHeaders: OperationsGetHeaders
|
|
2185
|
-
});
|
|
2186
|
-
|
|
2187
|
-
/*
|
|
2188
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2189
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2190
|
-
* license information.
|
|
2191
|
-
*
|
|
2192
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2193
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2194
|
-
* regenerated.
|
|
2195
|
-
*/
|
|
2196
|
-
var acceptLanguage = {
|
|
2197
|
-
parameterPath: "acceptLanguage",
|
|
2198
|
-
mapper: {
|
|
2199
|
-
serializedName: "accept-language",
|
|
2200
|
-
defaultValue: 'en-US',
|
|
2201
|
-
type: {
|
|
2202
|
-
name: "String"
|
|
2203
|
-
}
|
|
2204
|
-
}
|
|
2205
|
-
};
|
|
2206
|
-
var apiVersion = {
|
|
2207
|
-
parameterPath: "apiVersion",
|
|
2208
|
-
mapper: {
|
|
2209
|
-
required: true,
|
|
2210
|
-
serializedName: "api-version",
|
|
2211
|
-
type: {
|
|
2212
|
-
name: "String"
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
};
|
|
2216
|
-
var dedicatedCloudNodeName = {
|
|
2217
|
-
parameterPath: "dedicatedCloudNodeName",
|
|
2218
|
-
mapper: {
|
|
2219
|
-
required: true,
|
|
2220
|
-
serializedName: "dedicatedCloudNodeName",
|
|
2221
|
-
constraints: {
|
|
2222
|
-
Pattern: /^[-a-zA-Z0-9]+$/
|
|
2223
|
-
},
|
|
2224
|
-
type: {
|
|
2225
|
-
name: "String"
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
};
|
|
2229
|
-
var dedicatedCloudServiceName0 = {
|
|
2230
|
-
parameterPath: "dedicatedCloudServiceName",
|
|
2231
|
-
mapper: {
|
|
2232
|
-
required: true,
|
|
2233
|
-
serializedName: "dedicatedCloudServiceName",
|
|
2234
|
-
type: {
|
|
2235
|
-
name: "String"
|
|
2236
|
-
}
|
|
2237
|
-
}
|
|
2238
|
-
};
|
|
2239
|
-
var dedicatedCloudServiceName1 = {
|
|
2240
|
-
parameterPath: "dedicatedCloudServiceName",
|
|
2241
|
-
mapper: {
|
|
2242
|
-
required: true,
|
|
2243
|
-
serializedName: "dedicatedCloudServiceName",
|
|
2244
|
-
constraints: {
|
|
2245
|
-
Pattern: /^[-a-zA-Z0-9]+$/
|
|
2246
|
-
},
|
|
2247
|
-
type: {
|
|
2248
|
-
name: "String"
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
};
|
|
2252
|
-
var filter = {
|
|
2253
|
-
parameterPath: [
|
|
2254
|
-
"options",
|
|
2255
|
-
"filter"
|
|
2256
|
-
],
|
|
2257
|
-
mapper: {
|
|
2258
|
-
serializedName: "$filter",
|
|
2259
|
-
type: {
|
|
2260
|
-
name: "String"
|
|
2261
|
-
}
|
|
2262
|
-
}
|
|
2263
|
-
};
|
|
2264
|
-
var mode = {
|
|
2265
|
-
parameterPath: [
|
|
2266
|
-
"options",
|
|
2267
|
-
"mode"
|
|
2268
|
-
],
|
|
2269
|
-
mapper: {
|
|
2270
|
-
serializedName: "mode",
|
|
2271
|
-
type: {
|
|
2272
|
-
name: "Enum",
|
|
2273
|
-
allowedValues: [
|
|
2274
|
-
"reboot",
|
|
2275
|
-
"suspend",
|
|
2276
|
-
"shutdown",
|
|
2277
|
-
"poweroff"
|
|
2278
|
-
]
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
};
|
|
2282
|
-
var nextPageLink = {
|
|
2283
|
-
parameterPath: "nextPageLink",
|
|
2284
|
-
mapper: {
|
|
2285
|
-
required: true,
|
|
2286
|
-
serializedName: "nextLink",
|
|
2287
|
-
type: {
|
|
2288
|
-
name: "String"
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
skipEncoding: true
|
|
2292
|
-
};
|
|
2293
|
-
var operationId = {
|
|
2294
|
-
parameterPath: "operationId",
|
|
2295
|
-
mapper: {
|
|
2296
|
-
required: true,
|
|
2297
|
-
serializedName: "operationId",
|
|
2298
|
-
type: {
|
|
2299
|
-
name: "String"
|
|
2300
|
-
}
|
|
2301
|
-
}
|
|
2302
|
-
};
|
|
2303
|
-
var pcName = {
|
|
2304
|
-
parameterPath: "pcName",
|
|
2305
|
-
mapper: {
|
|
2306
|
-
required: true,
|
|
2307
|
-
serializedName: "pcName",
|
|
2308
|
-
type: {
|
|
2309
|
-
name: "String"
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
};
|
|
2313
|
-
var referer = {
|
|
2314
|
-
parameterPath: "referer",
|
|
2315
|
-
mapper: {
|
|
2316
|
-
required: true,
|
|
2317
|
-
serializedName: "Referer",
|
|
2318
|
-
type: {
|
|
2319
|
-
name: "String"
|
|
2320
|
-
}
|
|
2321
|
-
}
|
|
2322
|
-
};
|
|
2323
|
-
var regionId = {
|
|
2324
|
-
parameterPath: "regionId",
|
|
2325
|
-
mapper: {
|
|
2326
|
-
required: true,
|
|
2327
|
-
serializedName: "regionId",
|
|
2328
|
-
type: {
|
|
2329
|
-
name: "String"
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
};
|
|
2333
|
-
var resourceGroupName = {
|
|
2334
|
-
parameterPath: "resourceGroupName",
|
|
2335
|
-
mapper: {
|
|
2336
|
-
required: true,
|
|
2337
|
-
serializedName: "resourceGroupName",
|
|
2338
|
-
type: {
|
|
2339
|
-
name: "String"
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2342
|
-
};
|
|
2343
|
-
var resourcePoolName = {
|
|
2344
|
-
parameterPath: "resourcePoolName",
|
|
2345
|
-
mapper: {
|
|
2346
|
-
required: true,
|
|
2347
|
-
serializedName: "resourcePoolName",
|
|
2348
|
-
type: {
|
|
2349
|
-
name: "String"
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
};
|
|
2353
|
-
var skipToken = {
|
|
2354
|
-
parameterPath: [
|
|
2355
|
-
"options",
|
|
2356
|
-
"skipToken"
|
|
2357
|
-
],
|
|
2358
|
-
mapper: {
|
|
2359
|
-
serializedName: "$skipToken",
|
|
2360
|
-
type: {
|
|
2361
|
-
name: "String"
|
|
2362
|
-
}
|
|
2363
|
-
}
|
|
2364
|
-
};
|
|
2365
|
-
var skuId = {
|
|
2366
|
-
parameterPath: [
|
|
2367
|
-
"options",
|
|
2368
|
-
"skuId"
|
|
2369
|
-
],
|
|
2370
|
-
mapper: {
|
|
2371
|
-
serializedName: "skuId",
|
|
2372
|
-
type: {
|
|
2373
|
-
name: "String"
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
};
|
|
2377
|
-
var subscriptionId = {
|
|
2378
|
-
parameterPath: "subscriptionId",
|
|
2379
|
-
mapper: {
|
|
2380
|
-
required: true,
|
|
2381
|
-
serializedName: "subscriptionId",
|
|
2382
|
-
type: {
|
|
2383
|
-
name: "String"
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
};
|
|
2387
|
-
var top = {
|
|
2388
|
-
parameterPath: [
|
|
2389
|
-
"options",
|
|
2390
|
-
"top"
|
|
2391
|
-
],
|
|
2392
|
-
mapper: {
|
|
2393
|
-
serializedName: "$top",
|
|
2394
|
-
type: {
|
|
2395
|
-
name: "Number"
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
};
|
|
2399
|
-
var virtualMachineName0 = {
|
|
2400
|
-
parameterPath: "virtualMachineName",
|
|
2401
|
-
mapper: {
|
|
2402
|
-
required: true,
|
|
2403
|
-
serializedName: "virtualMachineName",
|
|
2404
|
-
type: {
|
|
2405
|
-
name: "String"
|
|
2406
|
-
}
|
|
2407
|
-
}
|
|
2408
|
-
};
|
|
2409
|
-
var virtualMachineName1 = {
|
|
2410
|
-
parameterPath: "virtualMachineName",
|
|
2411
|
-
mapper: {
|
|
2412
|
-
required: true,
|
|
2413
|
-
serializedName: "virtualMachineName",
|
|
2414
|
-
constraints: {
|
|
2415
|
-
Pattern: /^[-a-zA-Z0-9]+$/
|
|
2416
|
-
},
|
|
2417
|
-
type: {
|
|
2418
|
-
name: "String"
|
|
2419
|
-
}
|
|
2420
|
-
}
|
|
2421
|
-
};
|
|
2422
|
-
var virtualMachineTemplateName = {
|
|
2423
|
-
parameterPath: "virtualMachineTemplateName",
|
|
2424
|
-
mapper: {
|
|
2425
|
-
required: true,
|
|
2426
|
-
serializedName: "virtualMachineTemplateName",
|
|
2427
|
-
type: {
|
|
2428
|
-
name: "String"
|
|
2429
|
-
}
|
|
2430
|
-
}
|
|
2431
|
-
};
|
|
2432
|
-
var virtualNetworkName = {
|
|
2433
|
-
parameterPath: "virtualNetworkName",
|
|
2434
|
-
mapper: {
|
|
2435
|
-
required: true,
|
|
2436
|
-
serializedName: "virtualNetworkName",
|
|
2437
|
-
type: {
|
|
2438
|
-
name: "String"
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
};
|
|
2442
|
-
|
|
2443
|
-
/*
|
|
2444
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2445
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2446
|
-
* license information.
|
|
2447
|
-
*
|
|
2448
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2449
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2450
|
-
* regenerated.
|
|
2451
|
-
*/
|
|
2452
|
-
/** Class representing a Operations. */
|
|
2453
|
-
var Operations = /** @class */ (function () {
|
|
2454
|
-
/**
|
|
2455
|
-
* Create a Operations.
|
|
2456
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
2457
|
-
*/
|
|
2458
|
-
function Operations(client) {
|
|
2459
|
-
this.client = client;
|
|
2460
|
-
}
|
|
2461
|
-
Operations.prototype.list = function (options, callback) {
|
|
2462
|
-
return this.client.sendOperationRequest({
|
|
2463
|
-
options: options
|
|
2464
|
-
}, listOperationSpec, callback);
|
|
2465
|
-
};
|
|
2466
|
-
Operations.prototype.get = function (regionId, operationId, options, callback) {
|
|
2467
|
-
return this.client.sendOperationRequest({
|
|
2468
|
-
regionId: regionId,
|
|
2469
|
-
operationId: operationId,
|
|
2470
|
-
options: options
|
|
2471
|
-
}, getOperationSpec, callback);
|
|
2472
|
-
};
|
|
2473
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2474
|
-
return this.client.sendOperationRequest({
|
|
2475
|
-
nextPageLink: nextPageLink,
|
|
2476
|
-
options: options
|
|
2477
|
-
}, listNextOperationSpec, callback);
|
|
2478
|
-
};
|
|
2479
|
-
return Operations;
|
|
2480
|
-
}());
|
|
2481
|
-
// Operation Specifications
|
|
2482
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
2483
|
-
var listOperationSpec = {
|
|
2484
|
-
httpMethod: "GET",
|
|
2485
|
-
path: "providers/Microsoft.VMwareCloudSimple/operations",
|
|
2486
|
-
queryParameters: [
|
|
2487
|
-
apiVersion
|
|
2488
|
-
],
|
|
2489
|
-
headerParameters: [
|
|
2490
|
-
acceptLanguage
|
|
2491
|
-
],
|
|
2492
|
-
responses: {
|
|
2493
|
-
200: {
|
|
2494
|
-
bodyMapper: AvailableOperationsListResponse
|
|
2495
|
-
},
|
|
2496
|
-
default: {
|
|
2497
|
-
bodyMapper: CSRPError
|
|
2498
|
-
}
|
|
2499
|
-
},
|
|
2500
|
-
serializer: serializer
|
|
2501
|
-
};
|
|
2502
|
-
var getOperationSpec = {
|
|
2503
|
-
httpMethod: "GET",
|
|
2504
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/operationResults/{operationId}",
|
|
2505
|
-
urlParameters: [
|
|
2506
|
-
subscriptionId,
|
|
2507
|
-
regionId,
|
|
2508
|
-
operationId
|
|
2509
|
-
],
|
|
2510
|
-
queryParameters: [
|
|
2511
|
-
apiVersion
|
|
2512
|
-
],
|
|
2513
|
-
headerParameters: [
|
|
2514
|
-
referer,
|
|
2515
|
-
acceptLanguage
|
|
2516
|
-
],
|
|
2517
|
-
responses: {
|
|
2518
|
-
200: {
|
|
2519
|
-
bodyMapper: OperationResource,
|
|
2520
|
-
headersMapper: OperationsGetHeaders
|
|
2521
|
-
},
|
|
2522
|
-
202: {
|
|
2523
|
-
headersMapper: OperationsGetHeaders
|
|
2524
|
-
},
|
|
2525
|
-
204: {
|
|
2526
|
-
headersMapper: OperationsGetHeaders
|
|
2527
|
-
},
|
|
2528
|
-
default: {
|
|
2529
|
-
bodyMapper: CSRPError
|
|
2530
|
-
}
|
|
2531
|
-
},
|
|
2532
|
-
serializer: serializer
|
|
2533
|
-
};
|
|
2534
|
-
var listNextOperationSpec = {
|
|
2535
|
-
httpMethod: "GET",
|
|
2536
|
-
baseUrl: "https://management.azure.com",
|
|
2537
|
-
path: "{nextLink}",
|
|
2538
|
-
urlParameters: [
|
|
2539
|
-
nextPageLink
|
|
2540
|
-
],
|
|
2541
|
-
headerParameters: [
|
|
2542
|
-
acceptLanguage
|
|
2543
|
-
],
|
|
2544
|
-
responses: {
|
|
2545
|
-
200: {
|
|
2546
|
-
bodyMapper: AvailableOperationsListResponse
|
|
2547
|
-
},
|
|
2548
|
-
default: {
|
|
2549
|
-
bodyMapper: CSRPError
|
|
2550
|
-
}
|
|
2551
|
-
},
|
|
2552
|
-
serializer: serializer
|
|
2553
|
-
};
|
|
2554
|
-
|
|
2555
|
-
/*
|
|
2556
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2557
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2558
|
-
*
|
|
2559
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2560
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2561
|
-
*/
|
|
2562
|
-
|
|
2563
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
2564
|
-
__proto__: null,
|
|
2565
|
-
BaseResource: BaseResource,
|
|
2566
|
-
CSRPError: CSRPError,
|
|
2567
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
2568
|
-
DedicatedCloudNode: DedicatedCloudNode,
|
|
2569
|
-
DedicatedCloudNodeListResponse: DedicatedCloudNodeListResponse,
|
|
2570
|
-
DedicatedCloudNodesCreateOrUpdateHeaders: DedicatedCloudNodesCreateOrUpdateHeaders,
|
|
2571
|
-
DedicatedCloudNodesDeleteHeaders: DedicatedCloudNodesDeleteHeaders,
|
|
2572
|
-
DedicatedCloudService: DedicatedCloudService,
|
|
2573
|
-
PatchPayload: PatchPayload,
|
|
2574
|
-
ResourcePool: ResourcePool,
|
|
2575
|
-
Sku: Sku,
|
|
2576
|
-
VirtualDisk: VirtualDisk,
|
|
2577
|
-
VirtualDiskController: VirtualDiskController,
|
|
2578
|
-
VirtualMachine: VirtualMachine,
|
|
2579
|
-
VirtualNetwork: VirtualNetwork,
|
|
2580
|
-
VirtualNic: VirtualNic
|
|
2581
|
-
});
|
|
2582
|
-
|
|
2583
|
-
/*
|
|
2584
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2585
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2586
|
-
* license information.
|
|
2587
|
-
*
|
|
2588
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2589
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2590
|
-
* regenerated.
|
|
2591
|
-
*/
|
|
2592
|
-
/** Class representing a DedicatedCloudNodes. */
|
|
2593
|
-
var DedicatedCloudNodes = /** @class */ (function () {
|
|
2594
|
-
/**
|
|
2595
|
-
* Create a DedicatedCloudNodes.
|
|
2596
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
2597
|
-
*/
|
|
2598
|
-
function DedicatedCloudNodes(client) {
|
|
2599
|
-
this.client = client;
|
|
2600
|
-
}
|
|
2601
|
-
DedicatedCloudNodes.prototype.listBySubscription = function (options, callback) {
|
|
2602
|
-
return this.client.sendOperationRequest({
|
|
2603
|
-
options: options
|
|
2604
|
-
}, listBySubscriptionOperationSpec, callback);
|
|
2605
|
-
};
|
|
2606
|
-
DedicatedCloudNodes.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2607
|
-
return this.client.sendOperationRequest({
|
|
2608
|
-
resourceGroupName: resourceGroupName,
|
|
2609
|
-
options: options
|
|
2610
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
2611
|
-
};
|
|
2612
|
-
DedicatedCloudNodes.prototype.get = function (resourceGroupName, dedicatedCloudNodeName, options, callback) {
|
|
2613
|
-
return this.client.sendOperationRequest({
|
|
2614
|
-
resourceGroupName: resourceGroupName,
|
|
2615
|
-
dedicatedCloudNodeName: dedicatedCloudNodeName,
|
|
2616
|
-
options: options
|
|
2617
|
-
}, getOperationSpec$1, callback);
|
|
2618
|
-
};
|
|
2619
|
-
/**
|
|
2620
|
-
* Returns dedicated cloud node by its name
|
|
2621
|
-
* @summary Implements dedicated cloud node PUT method
|
|
2622
|
-
* @param resourceGroupName The name of the resource group
|
|
2623
|
-
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
2624
|
-
* @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request
|
|
2625
|
-
* @param [options] The optional parameters
|
|
2626
|
-
* @returns Promise<Models.DedicatedCloudNodesCreateOrUpdateResponse>
|
|
2627
|
-
*/
|
|
2628
|
-
DedicatedCloudNodes.prototype.createOrUpdate = function (resourceGroupName, dedicatedCloudNodeName, dedicatedCloudNodeRequest, options) {
|
|
2629
|
-
return this.beginCreateOrUpdate(resourceGroupName, dedicatedCloudNodeName, dedicatedCloudNodeRequest, options)
|
|
2630
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2631
|
-
};
|
|
2632
|
-
DedicatedCloudNodes.prototype.deleteMethod = function (resourceGroupName, dedicatedCloudNodeName, options, callback) {
|
|
2633
|
-
return this.client.sendOperationRequest({
|
|
2634
|
-
resourceGroupName: resourceGroupName,
|
|
2635
|
-
dedicatedCloudNodeName: dedicatedCloudNodeName,
|
|
2636
|
-
options: options
|
|
2637
|
-
}, deleteMethodOperationSpec, callback);
|
|
2638
|
-
};
|
|
2639
|
-
DedicatedCloudNodes.prototype.update = function (resourceGroupName, dedicatedCloudNodeName, options, callback) {
|
|
2640
|
-
return this.client.sendOperationRequest({
|
|
2641
|
-
resourceGroupName: resourceGroupName,
|
|
2642
|
-
dedicatedCloudNodeName: dedicatedCloudNodeName,
|
|
2643
|
-
options: options
|
|
2644
|
-
}, updateOperationSpec, callback);
|
|
2645
|
-
};
|
|
2646
|
-
/**
|
|
2647
|
-
* Returns dedicated cloud node by its name
|
|
2648
|
-
* @summary Implements dedicated cloud node PUT method
|
|
2649
|
-
* @param resourceGroupName The name of the resource group
|
|
2650
|
-
* @param dedicatedCloudNodeName dedicated cloud node name
|
|
2651
|
-
* @param dedicatedCloudNodeRequest Create Dedicated Cloud Node request
|
|
2652
|
-
* @param [options] The optional parameters
|
|
2653
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2654
|
-
*/
|
|
2655
|
-
DedicatedCloudNodes.prototype.beginCreateOrUpdate = function (resourceGroupName, dedicatedCloudNodeName, dedicatedCloudNodeRequest, options) {
|
|
2656
|
-
return this.client.sendLRORequest({
|
|
2657
|
-
resourceGroupName: resourceGroupName,
|
|
2658
|
-
dedicatedCloudNodeName: dedicatedCloudNodeName,
|
|
2659
|
-
dedicatedCloudNodeRequest: dedicatedCloudNodeRequest,
|
|
2660
|
-
options: options
|
|
2661
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
2662
|
-
};
|
|
2663
|
-
DedicatedCloudNodes.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
2664
|
-
return this.client.sendOperationRequest({
|
|
2665
|
-
nextPageLink: nextPageLink,
|
|
2666
|
-
options: options
|
|
2667
|
-
}, listBySubscriptionNextOperationSpec, callback);
|
|
2668
|
-
};
|
|
2669
|
-
DedicatedCloudNodes.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2670
|
-
return this.client.sendOperationRequest({
|
|
2671
|
-
nextPageLink: nextPageLink,
|
|
2672
|
-
options: options
|
|
2673
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
2674
|
-
};
|
|
2675
|
-
return DedicatedCloudNodes;
|
|
2676
|
-
}());
|
|
2677
|
-
// Operation Specifications
|
|
2678
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
2679
|
-
var listBySubscriptionOperationSpec = {
|
|
2680
|
-
httpMethod: "GET",
|
|
2681
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes",
|
|
2682
|
-
urlParameters: [
|
|
2683
|
-
subscriptionId
|
|
2684
|
-
],
|
|
2685
|
-
queryParameters: [
|
|
2686
|
-
apiVersion,
|
|
2687
|
-
filter,
|
|
2688
|
-
top,
|
|
2689
|
-
skipToken
|
|
2690
|
-
],
|
|
2691
|
-
headerParameters: [
|
|
2692
|
-
acceptLanguage
|
|
2693
|
-
],
|
|
2694
|
-
responses: {
|
|
2695
|
-
200: {
|
|
2696
|
-
bodyMapper: DedicatedCloudNodeListResponse
|
|
2697
|
-
},
|
|
2698
|
-
default: {
|
|
2699
|
-
bodyMapper: CSRPError
|
|
2700
|
-
}
|
|
2701
|
-
},
|
|
2702
|
-
serializer: serializer$1
|
|
2703
|
-
};
|
|
2704
|
-
var listByResourceGroupOperationSpec = {
|
|
2705
|
-
httpMethod: "GET",
|
|
2706
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes",
|
|
2707
|
-
urlParameters: [
|
|
2708
|
-
subscriptionId,
|
|
2709
|
-
resourceGroupName
|
|
2710
|
-
],
|
|
2711
|
-
queryParameters: [
|
|
2712
|
-
apiVersion,
|
|
2713
|
-
filter,
|
|
2714
|
-
top,
|
|
2715
|
-
skipToken
|
|
2716
|
-
],
|
|
2717
|
-
headerParameters: [
|
|
2718
|
-
acceptLanguage
|
|
2719
|
-
],
|
|
2720
|
-
responses: {
|
|
2721
|
-
200: {
|
|
2722
|
-
bodyMapper: DedicatedCloudNodeListResponse
|
|
2723
|
-
},
|
|
2724
|
-
default: {
|
|
2725
|
-
bodyMapper: CSRPError
|
|
2726
|
-
}
|
|
2727
|
-
},
|
|
2728
|
-
serializer: serializer$1
|
|
2729
|
-
};
|
|
2730
|
-
var getOperationSpec$1 = {
|
|
2731
|
-
httpMethod: "GET",
|
|
2732
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}",
|
|
2733
|
-
urlParameters: [
|
|
2734
|
-
subscriptionId,
|
|
2735
|
-
resourceGroupName,
|
|
2736
|
-
dedicatedCloudNodeName
|
|
2737
|
-
],
|
|
2738
|
-
queryParameters: [
|
|
2739
|
-
apiVersion
|
|
2740
|
-
],
|
|
2741
|
-
headerParameters: [
|
|
2742
|
-
acceptLanguage
|
|
2743
|
-
],
|
|
2744
|
-
responses: {
|
|
2745
|
-
200: {
|
|
2746
|
-
bodyMapper: DedicatedCloudNode
|
|
2747
|
-
},
|
|
2748
|
-
default: {
|
|
2749
|
-
bodyMapper: CSRPError
|
|
2750
|
-
}
|
|
2751
|
-
},
|
|
2752
|
-
serializer: serializer$1
|
|
2753
|
-
};
|
|
2754
|
-
var deleteMethodOperationSpec = {
|
|
2755
|
-
httpMethod: "DELETE",
|
|
2756
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}",
|
|
2757
|
-
urlParameters: [
|
|
2758
|
-
subscriptionId,
|
|
2759
|
-
resourceGroupName,
|
|
2760
|
-
dedicatedCloudNodeName
|
|
2761
|
-
],
|
|
2762
|
-
queryParameters: [
|
|
2763
|
-
apiVersion
|
|
2764
|
-
],
|
|
2765
|
-
headerParameters: [
|
|
2766
|
-
acceptLanguage
|
|
2767
|
-
],
|
|
2768
|
-
responses: {
|
|
2769
|
-
204: {
|
|
2770
|
-
headersMapper: DedicatedCloudNodesDeleteHeaders
|
|
2771
|
-
},
|
|
2772
|
-
default: {
|
|
2773
|
-
bodyMapper: CSRPError
|
|
2774
|
-
}
|
|
2775
|
-
},
|
|
2776
|
-
serializer: serializer$1
|
|
2777
|
-
};
|
|
2778
|
-
var updateOperationSpec = {
|
|
2779
|
-
httpMethod: "PATCH",
|
|
2780
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}",
|
|
2781
|
-
urlParameters: [
|
|
2782
|
-
subscriptionId,
|
|
2783
|
-
resourceGroupName,
|
|
2784
|
-
dedicatedCloudNodeName
|
|
2785
|
-
],
|
|
2786
|
-
queryParameters: [
|
|
2787
|
-
apiVersion
|
|
2788
|
-
],
|
|
2789
|
-
headerParameters: [
|
|
2790
|
-
acceptLanguage
|
|
2791
|
-
],
|
|
2792
|
-
requestBody: {
|
|
2793
|
-
parameterPath: {
|
|
2794
|
-
tags: [
|
|
2795
|
-
"options",
|
|
2796
|
-
"tags"
|
|
2797
|
-
]
|
|
2798
|
-
},
|
|
2799
|
-
mapper: __assign(__assign({}, PatchPayload), { required: true })
|
|
2800
|
-
},
|
|
2801
|
-
responses: {
|
|
2802
|
-
200: {
|
|
2803
|
-
bodyMapper: DedicatedCloudNode
|
|
2804
|
-
},
|
|
2805
|
-
default: {
|
|
2806
|
-
bodyMapper: CSRPError
|
|
2807
|
-
}
|
|
2808
|
-
},
|
|
2809
|
-
serializer: serializer$1
|
|
2810
|
-
};
|
|
2811
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
2812
|
-
httpMethod: "PUT",
|
|
2813
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/{dedicatedCloudNodeName}",
|
|
2814
|
-
urlParameters: [
|
|
2815
|
-
subscriptionId,
|
|
2816
|
-
resourceGroupName,
|
|
2817
|
-
dedicatedCloudNodeName
|
|
2818
|
-
],
|
|
2819
|
-
queryParameters: [
|
|
2820
|
-
apiVersion
|
|
2821
|
-
],
|
|
2822
|
-
headerParameters: [
|
|
2823
|
-
referer,
|
|
2824
|
-
acceptLanguage
|
|
2825
|
-
],
|
|
2826
|
-
requestBody: {
|
|
2827
|
-
parameterPath: "dedicatedCloudNodeRequest",
|
|
2828
|
-
mapper: __assign(__assign({}, DedicatedCloudNode), { required: true })
|
|
2829
|
-
},
|
|
2830
|
-
responses: {
|
|
2831
|
-
200: {
|
|
2832
|
-
bodyMapper: DedicatedCloudNode,
|
|
2833
|
-
headersMapper: DedicatedCloudNodesCreateOrUpdateHeaders
|
|
2834
|
-
},
|
|
2835
|
-
default: {
|
|
2836
|
-
bodyMapper: CSRPError
|
|
2837
|
-
}
|
|
2838
|
-
},
|
|
2839
|
-
serializer: serializer$1
|
|
2840
|
-
};
|
|
2841
|
-
var listBySubscriptionNextOperationSpec = {
|
|
2842
|
-
httpMethod: "GET",
|
|
2843
|
-
baseUrl: "https://management.azure.com",
|
|
2844
|
-
path: "{nextLink}",
|
|
2845
|
-
urlParameters: [
|
|
2846
|
-
nextPageLink
|
|
2847
|
-
],
|
|
2848
|
-
headerParameters: [
|
|
2849
|
-
acceptLanguage
|
|
2850
|
-
],
|
|
2851
|
-
responses: {
|
|
2852
|
-
200: {
|
|
2853
|
-
bodyMapper: DedicatedCloudNodeListResponse
|
|
2854
|
-
},
|
|
2855
|
-
default: {
|
|
2856
|
-
bodyMapper: CSRPError
|
|
2857
|
-
}
|
|
2858
|
-
},
|
|
2859
|
-
serializer: serializer$1
|
|
2860
|
-
};
|
|
2861
|
-
var listByResourceGroupNextOperationSpec = {
|
|
2862
|
-
httpMethod: "GET",
|
|
2863
|
-
baseUrl: "https://management.azure.com",
|
|
2864
|
-
path: "{nextLink}",
|
|
2865
|
-
urlParameters: [
|
|
2866
|
-
nextPageLink
|
|
2867
|
-
],
|
|
2868
|
-
headerParameters: [
|
|
2869
|
-
acceptLanguage
|
|
2870
|
-
],
|
|
2871
|
-
responses: {
|
|
2872
|
-
200: {
|
|
2873
|
-
bodyMapper: DedicatedCloudNodeListResponse
|
|
2874
|
-
},
|
|
2875
|
-
default: {
|
|
2876
|
-
bodyMapper: CSRPError
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
serializer: serializer$1
|
|
2880
|
-
};
|
|
2881
|
-
|
|
2882
|
-
/*
|
|
2883
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2884
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
2885
|
-
*
|
|
2886
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2887
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2888
|
-
*/
|
|
2889
|
-
|
|
2890
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
2891
|
-
__proto__: null,
|
|
2892
|
-
BaseResource: BaseResource,
|
|
2893
|
-
CSRPError: CSRPError,
|
|
2894
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
2895
|
-
DedicatedCloudNode: DedicatedCloudNode,
|
|
2896
|
-
DedicatedCloudService: DedicatedCloudService,
|
|
2897
|
-
DedicatedCloudServiceListResponse: DedicatedCloudServiceListResponse,
|
|
2898
|
-
DedicatedCloudServicesDeleteHeaders: DedicatedCloudServicesDeleteHeaders,
|
|
2899
|
-
PatchPayload: PatchPayload,
|
|
2900
|
-
ResourcePool: ResourcePool,
|
|
2901
|
-
Sku: Sku,
|
|
2902
|
-
VirtualDisk: VirtualDisk,
|
|
2903
|
-
VirtualDiskController: VirtualDiskController,
|
|
2904
|
-
VirtualMachine: VirtualMachine,
|
|
2905
|
-
VirtualNetwork: VirtualNetwork,
|
|
2906
|
-
VirtualNic: VirtualNic
|
|
2907
|
-
});
|
|
2908
|
-
|
|
2909
|
-
/*
|
|
2910
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2911
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2912
|
-
* license information.
|
|
2913
|
-
*
|
|
2914
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2915
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2916
|
-
* regenerated.
|
|
2917
|
-
*/
|
|
2918
|
-
/** Class representing a DedicatedCloudServices. */
|
|
2919
|
-
var DedicatedCloudServices = /** @class */ (function () {
|
|
2920
|
-
/**
|
|
2921
|
-
* Create a DedicatedCloudServices.
|
|
2922
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
2923
|
-
*/
|
|
2924
|
-
function DedicatedCloudServices(client) {
|
|
2925
|
-
this.client = client;
|
|
2926
|
-
}
|
|
2927
|
-
DedicatedCloudServices.prototype.listBySubscription = function (options, callback) {
|
|
2928
|
-
return this.client.sendOperationRequest({
|
|
2929
|
-
options: options
|
|
2930
|
-
}, listBySubscriptionOperationSpec$1, callback);
|
|
2931
|
-
};
|
|
2932
|
-
DedicatedCloudServices.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2933
|
-
return this.client.sendOperationRequest({
|
|
2934
|
-
resourceGroupName: resourceGroupName,
|
|
2935
|
-
options: options
|
|
2936
|
-
}, listByResourceGroupOperationSpec$1, callback);
|
|
2937
|
-
};
|
|
2938
|
-
DedicatedCloudServices.prototype.get = function (resourceGroupName, dedicatedCloudServiceName, options, callback) {
|
|
2939
|
-
return this.client.sendOperationRequest({
|
|
2940
|
-
resourceGroupName: resourceGroupName,
|
|
2941
|
-
dedicatedCloudServiceName: dedicatedCloudServiceName,
|
|
2942
|
-
options: options
|
|
2943
|
-
}, getOperationSpec$2, callback);
|
|
2944
|
-
};
|
|
2945
|
-
DedicatedCloudServices.prototype.createOrUpdate = function (resourceGroupName, dedicatedCloudServiceName, dedicatedCloudServiceRequest, options, callback) {
|
|
2946
|
-
return this.client.sendOperationRequest({
|
|
2947
|
-
resourceGroupName: resourceGroupName,
|
|
2948
|
-
dedicatedCloudServiceName: dedicatedCloudServiceName,
|
|
2949
|
-
dedicatedCloudServiceRequest: dedicatedCloudServiceRequest,
|
|
2950
|
-
options: options
|
|
2951
|
-
}, createOrUpdateOperationSpec, callback);
|
|
2952
|
-
};
|
|
2953
|
-
/**
|
|
2954
|
-
* Delete dedicate cloud service
|
|
2955
|
-
* @summary Implements dedicatedCloudService DELETE method
|
|
2956
|
-
* @param resourceGroupName The name of the resource group
|
|
2957
|
-
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
2958
|
-
* @param [options] The optional parameters
|
|
2959
|
-
* @returns Promise<Models.DedicatedCloudServicesDeleteResponse>
|
|
2960
|
-
*/
|
|
2961
|
-
DedicatedCloudServices.prototype.deleteMethod = function (resourceGroupName, dedicatedCloudServiceName, options) {
|
|
2962
|
-
return this.beginDeleteMethod(resourceGroupName, dedicatedCloudServiceName, options)
|
|
2963
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2964
|
-
};
|
|
2965
|
-
DedicatedCloudServices.prototype.update = function (resourceGroupName, dedicatedCloudServiceName, options, callback) {
|
|
2966
|
-
return this.client.sendOperationRequest({
|
|
2967
|
-
resourceGroupName: resourceGroupName,
|
|
2968
|
-
dedicatedCloudServiceName: dedicatedCloudServiceName,
|
|
2969
|
-
options: options
|
|
2970
|
-
}, updateOperationSpec$1, callback);
|
|
2971
|
-
};
|
|
2972
|
-
/**
|
|
2973
|
-
* Delete dedicate cloud service
|
|
2974
|
-
* @summary Implements dedicatedCloudService DELETE method
|
|
2975
|
-
* @param resourceGroupName The name of the resource group
|
|
2976
|
-
* @param dedicatedCloudServiceName dedicated cloud service name
|
|
2977
|
-
* @param [options] The optional parameters
|
|
2978
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2979
|
-
*/
|
|
2980
|
-
DedicatedCloudServices.prototype.beginDeleteMethod = function (resourceGroupName, dedicatedCloudServiceName, options) {
|
|
2981
|
-
return this.client.sendLRORequest({
|
|
2982
|
-
resourceGroupName: resourceGroupName,
|
|
2983
|
-
dedicatedCloudServiceName: dedicatedCloudServiceName,
|
|
2984
|
-
options: options
|
|
2985
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
2986
|
-
};
|
|
2987
|
-
DedicatedCloudServices.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
2988
|
-
return this.client.sendOperationRequest({
|
|
2989
|
-
nextPageLink: nextPageLink,
|
|
2990
|
-
options: options
|
|
2991
|
-
}, listBySubscriptionNextOperationSpec$1, callback);
|
|
2992
|
-
};
|
|
2993
|
-
DedicatedCloudServices.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2994
|
-
return this.client.sendOperationRequest({
|
|
2995
|
-
nextPageLink: nextPageLink,
|
|
2996
|
-
options: options
|
|
2997
|
-
}, listByResourceGroupNextOperationSpec$1, callback);
|
|
2998
|
-
};
|
|
2999
|
-
return DedicatedCloudServices;
|
|
3000
|
-
}());
|
|
3001
|
-
// Operation Specifications
|
|
3002
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
3003
|
-
var listBySubscriptionOperationSpec$1 = {
|
|
3004
|
-
httpMethod: "GET",
|
|
3005
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices",
|
|
3006
|
-
urlParameters: [
|
|
3007
|
-
subscriptionId
|
|
3008
|
-
],
|
|
3009
|
-
queryParameters: [
|
|
3010
|
-
apiVersion,
|
|
3011
|
-
filter,
|
|
3012
|
-
top,
|
|
3013
|
-
skipToken
|
|
3014
|
-
],
|
|
3015
|
-
headerParameters: [
|
|
3016
|
-
acceptLanguage
|
|
3017
|
-
],
|
|
3018
|
-
responses: {
|
|
3019
|
-
200: {
|
|
3020
|
-
bodyMapper: DedicatedCloudServiceListResponse
|
|
3021
|
-
},
|
|
3022
|
-
default: {
|
|
3023
|
-
bodyMapper: CSRPError
|
|
3024
|
-
}
|
|
3025
|
-
},
|
|
3026
|
-
serializer: serializer$2
|
|
3027
|
-
};
|
|
3028
|
-
var listByResourceGroupOperationSpec$1 = {
|
|
3029
|
-
httpMethod: "GET",
|
|
3030
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices",
|
|
3031
|
-
urlParameters: [
|
|
3032
|
-
subscriptionId,
|
|
3033
|
-
resourceGroupName
|
|
3034
|
-
],
|
|
3035
|
-
queryParameters: [
|
|
3036
|
-
apiVersion,
|
|
3037
|
-
filter,
|
|
3038
|
-
top,
|
|
3039
|
-
skipToken
|
|
3040
|
-
],
|
|
3041
|
-
headerParameters: [
|
|
3042
|
-
acceptLanguage
|
|
3043
|
-
],
|
|
3044
|
-
responses: {
|
|
3045
|
-
200: {
|
|
3046
|
-
bodyMapper: DedicatedCloudServiceListResponse
|
|
3047
|
-
},
|
|
3048
|
-
default: {
|
|
3049
|
-
bodyMapper: CSRPError
|
|
3050
|
-
}
|
|
3051
|
-
},
|
|
3052
|
-
serializer: serializer$2
|
|
3053
|
-
};
|
|
3054
|
-
var getOperationSpec$2 = {
|
|
3055
|
-
httpMethod: "GET",
|
|
3056
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName}",
|
|
3057
|
-
urlParameters: [
|
|
3058
|
-
subscriptionId,
|
|
3059
|
-
resourceGroupName,
|
|
3060
|
-
dedicatedCloudServiceName0
|
|
3061
|
-
],
|
|
3062
|
-
queryParameters: [
|
|
3063
|
-
apiVersion
|
|
3064
|
-
],
|
|
3065
|
-
headerParameters: [
|
|
3066
|
-
acceptLanguage
|
|
3067
|
-
],
|
|
3068
|
-
responses: {
|
|
3069
|
-
200: {
|
|
3070
|
-
bodyMapper: DedicatedCloudService
|
|
3071
|
-
},
|
|
3072
|
-
default: {
|
|
3073
|
-
bodyMapper: CSRPError
|
|
3074
|
-
}
|
|
3075
|
-
},
|
|
3076
|
-
serializer: serializer$2
|
|
3077
|
-
};
|
|
3078
|
-
var createOrUpdateOperationSpec = {
|
|
3079
|
-
httpMethod: "PUT",
|
|
3080
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName}",
|
|
3081
|
-
urlParameters: [
|
|
3082
|
-
subscriptionId,
|
|
3083
|
-
resourceGroupName,
|
|
3084
|
-
dedicatedCloudServiceName1
|
|
3085
|
-
],
|
|
3086
|
-
queryParameters: [
|
|
3087
|
-
apiVersion
|
|
3088
|
-
],
|
|
3089
|
-
headerParameters: [
|
|
3090
|
-
acceptLanguage
|
|
3091
|
-
],
|
|
3092
|
-
requestBody: {
|
|
3093
|
-
parameterPath: "dedicatedCloudServiceRequest",
|
|
3094
|
-
mapper: __assign(__assign({}, DedicatedCloudService), { required: true })
|
|
3095
|
-
},
|
|
3096
|
-
responses: {
|
|
3097
|
-
200: {
|
|
3098
|
-
bodyMapper: DedicatedCloudService
|
|
3099
|
-
},
|
|
3100
|
-
default: {
|
|
3101
|
-
bodyMapper: CSRPError
|
|
3102
|
-
}
|
|
3103
|
-
},
|
|
3104
|
-
serializer: serializer$2
|
|
3105
|
-
};
|
|
3106
|
-
var updateOperationSpec$1 = {
|
|
3107
|
-
httpMethod: "PATCH",
|
|
3108
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName}",
|
|
3109
|
-
urlParameters: [
|
|
3110
|
-
subscriptionId,
|
|
3111
|
-
resourceGroupName,
|
|
3112
|
-
dedicatedCloudServiceName0
|
|
3113
|
-
],
|
|
3114
|
-
queryParameters: [
|
|
3115
|
-
apiVersion
|
|
3116
|
-
],
|
|
3117
|
-
headerParameters: [
|
|
3118
|
-
acceptLanguage
|
|
3119
|
-
],
|
|
3120
|
-
requestBody: {
|
|
3121
|
-
parameterPath: {
|
|
3122
|
-
tags: [
|
|
3123
|
-
"options",
|
|
3124
|
-
"tags"
|
|
3125
|
-
]
|
|
3126
|
-
},
|
|
3127
|
-
mapper: __assign(__assign({}, PatchPayload), { required: true })
|
|
3128
|
-
},
|
|
3129
|
-
responses: {
|
|
3130
|
-
200: {
|
|
3131
|
-
bodyMapper: DedicatedCloudService
|
|
3132
|
-
},
|
|
3133
|
-
default: {
|
|
3134
|
-
bodyMapper: CSRPError
|
|
3135
|
-
}
|
|
3136
|
-
},
|
|
3137
|
-
serializer: serializer$2
|
|
3138
|
-
};
|
|
3139
|
-
var beginDeleteMethodOperationSpec = {
|
|
3140
|
-
httpMethod: "DELETE",
|
|
3141
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/{dedicatedCloudServiceName}",
|
|
3142
|
-
urlParameters: [
|
|
3143
|
-
subscriptionId,
|
|
3144
|
-
resourceGroupName,
|
|
3145
|
-
dedicatedCloudServiceName0
|
|
3146
|
-
],
|
|
3147
|
-
queryParameters: [
|
|
3148
|
-
apiVersion
|
|
3149
|
-
],
|
|
3150
|
-
headerParameters: [
|
|
3151
|
-
acceptLanguage
|
|
3152
|
-
],
|
|
3153
|
-
responses: {
|
|
3154
|
-
204: {
|
|
3155
|
-
headersMapper: DedicatedCloudServicesDeleteHeaders
|
|
3156
|
-
},
|
|
3157
|
-
default: {
|
|
3158
|
-
bodyMapper: CSRPError
|
|
3159
|
-
}
|
|
3160
|
-
},
|
|
3161
|
-
serializer: serializer$2
|
|
3162
|
-
};
|
|
3163
|
-
var listBySubscriptionNextOperationSpec$1 = {
|
|
3164
|
-
httpMethod: "GET",
|
|
3165
|
-
baseUrl: "https://management.azure.com",
|
|
3166
|
-
path: "{nextLink}",
|
|
3167
|
-
urlParameters: [
|
|
3168
|
-
nextPageLink
|
|
3169
|
-
],
|
|
3170
|
-
headerParameters: [
|
|
3171
|
-
acceptLanguage
|
|
3172
|
-
],
|
|
3173
|
-
responses: {
|
|
3174
|
-
200: {
|
|
3175
|
-
bodyMapper: DedicatedCloudServiceListResponse
|
|
3176
|
-
},
|
|
3177
|
-
default: {
|
|
3178
|
-
bodyMapper: CSRPError
|
|
3179
|
-
}
|
|
3180
|
-
},
|
|
3181
|
-
serializer: serializer$2
|
|
3182
|
-
};
|
|
3183
|
-
var listByResourceGroupNextOperationSpec$1 = {
|
|
3184
|
-
httpMethod: "GET",
|
|
3185
|
-
baseUrl: "https://management.azure.com",
|
|
3186
|
-
path: "{nextLink}",
|
|
3187
|
-
urlParameters: [
|
|
3188
|
-
nextPageLink
|
|
3189
|
-
],
|
|
3190
|
-
headerParameters: [
|
|
3191
|
-
acceptLanguage
|
|
3192
|
-
],
|
|
3193
|
-
responses: {
|
|
3194
|
-
200: {
|
|
3195
|
-
bodyMapper: DedicatedCloudServiceListResponse
|
|
3196
|
-
},
|
|
3197
|
-
default: {
|
|
3198
|
-
bodyMapper: CSRPError
|
|
3199
|
-
}
|
|
3200
|
-
},
|
|
3201
|
-
serializer: serializer$2
|
|
3202
|
-
};
|
|
3203
|
-
|
|
3204
|
-
/*
|
|
3205
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3206
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3207
|
-
*
|
|
3208
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3209
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3210
|
-
*/
|
|
3211
|
-
|
|
3212
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
3213
|
-
__proto__: null,
|
|
3214
|
-
CSRPError: CSRPError,
|
|
3215
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3216
|
-
SkuAvailability: SkuAvailability,
|
|
3217
|
-
SkuAvailabilityListResponse: SkuAvailabilityListResponse
|
|
3218
|
-
});
|
|
3219
|
-
|
|
3220
|
-
/*
|
|
3221
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3222
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3223
|
-
* license information.
|
|
3224
|
-
*
|
|
3225
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3226
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3227
|
-
* regenerated.
|
|
3228
|
-
*/
|
|
3229
|
-
/** Class representing a SkusAvailability. */
|
|
3230
|
-
var SkusAvailability = /** @class */ (function () {
|
|
3231
|
-
/**
|
|
3232
|
-
* Create a SkusAvailability.
|
|
3233
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3234
|
-
*/
|
|
3235
|
-
function SkusAvailability(client) {
|
|
3236
|
-
this.client = client;
|
|
3237
|
-
}
|
|
3238
|
-
SkusAvailability.prototype.list = function (regionId, options, callback) {
|
|
3239
|
-
return this.client.sendOperationRequest({
|
|
3240
|
-
regionId: regionId,
|
|
3241
|
-
options: options
|
|
3242
|
-
}, listOperationSpec$1, callback);
|
|
3243
|
-
};
|
|
3244
|
-
SkusAvailability.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3245
|
-
return this.client.sendOperationRequest({
|
|
3246
|
-
nextPageLink: nextPageLink,
|
|
3247
|
-
options: options
|
|
3248
|
-
}, listNextOperationSpec$1, callback);
|
|
3249
|
-
};
|
|
3250
|
-
return SkusAvailability;
|
|
3251
|
-
}());
|
|
3252
|
-
// Operation Specifications
|
|
3253
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
3254
|
-
var listOperationSpec$1 = {
|
|
3255
|
-
httpMethod: "GET",
|
|
3256
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/availabilities",
|
|
3257
|
-
urlParameters: [
|
|
3258
|
-
subscriptionId,
|
|
3259
|
-
regionId
|
|
3260
|
-
],
|
|
3261
|
-
queryParameters: [
|
|
3262
|
-
skuId,
|
|
3263
|
-
apiVersion
|
|
3264
|
-
],
|
|
3265
|
-
headerParameters: [
|
|
3266
|
-
acceptLanguage
|
|
3267
|
-
],
|
|
3268
|
-
responses: {
|
|
3269
|
-
200: {
|
|
3270
|
-
bodyMapper: SkuAvailabilityListResponse
|
|
3271
|
-
},
|
|
3272
|
-
default: {
|
|
3273
|
-
bodyMapper: CSRPError
|
|
3274
|
-
}
|
|
3275
|
-
},
|
|
3276
|
-
serializer: serializer$3
|
|
3277
|
-
};
|
|
3278
|
-
var listNextOperationSpec$1 = {
|
|
3279
|
-
httpMethod: "GET",
|
|
3280
|
-
baseUrl: "https://management.azure.com",
|
|
3281
|
-
path: "{nextLink}",
|
|
3282
|
-
urlParameters: [
|
|
3283
|
-
nextPageLink
|
|
3284
|
-
],
|
|
3285
|
-
headerParameters: [
|
|
3286
|
-
acceptLanguage
|
|
3287
|
-
],
|
|
3288
|
-
responses: {
|
|
3289
|
-
200: {
|
|
3290
|
-
bodyMapper: SkuAvailabilityListResponse
|
|
3291
|
-
},
|
|
3292
|
-
default: {
|
|
3293
|
-
bodyMapper: CSRPError
|
|
3294
|
-
}
|
|
3295
|
-
},
|
|
3296
|
-
serializer: serializer$3
|
|
3297
|
-
};
|
|
3298
|
-
|
|
3299
|
-
/*
|
|
3300
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3301
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3302
|
-
*
|
|
3303
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3304
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3305
|
-
*/
|
|
3306
|
-
|
|
3307
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
3308
|
-
__proto__: null,
|
|
3309
|
-
CSRPError: CSRPError,
|
|
3310
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3311
|
-
PrivateCloud: PrivateCloud,
|
|
3312
|
-
PrivateCloudList: PrivateCloudList,
|
|
3313
|
-
ResourcePool: ResourcePool,
|
|
3314
|
-
VirtualDisk: VirtualDisk,
|
|
3315
|
-
VirtualDiskController: VirtualDiskController,
|
|
3316
|
-
VirtualMachineTemplate: VirtualMachineTemplate,
|
|
3317
|
-
VirtualNetwork: VirtualNetwork,
|
|
3318
|
-
VirtualNic: VirtualNic
|
|
3319
|
-
});
|
|
3320
|
-
|
|
3321
|
-
/*
|
|
3322
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3323
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3324
|
-
* license information.
|
|
3325
|
-
*
|
|
3326
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3327
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3328
|
-
* regenerated.
|
|
3329
|
-
*/
|
|
3330
|
-
/** Class representing a PrivateClouds. */
|
|
3331
|
-
var PrivateClouds = /** @class */ (function () {
|
|
3332
|
-
/**
|
|
3333
|
-
* Create a PrivateClouds.
|
|
3334
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3335
|
-
*/
|
|
3336
|
-
function PrivateClouds(client) {
|
|
3337
|
-
this.client = client;
|
|
3338
|
-
}
|
|
3339
|
-
PrivateClouds.prototype.list = function (regionId, options, callback) {
|
|
3340
|
-
return this.client.sendOperationRequest({
|
|
3341
|
-
regionId: regionId,
|
|
3342
|
-
options: options
|
|
3343
|
-
}, listOperationSpec$2, callback);
|
|
3344
|
-
};
|
|
3345
|
-
PrivateClouds.prototype.get = function (pcName, regionId, options, callback) {
|
|
3346
|
-
return this.client.sendOperationRequest({
|
|
3347
|
-
pcName: pcName,
|
|
3348
|
-
regionId: regionId,
|
|
3349
|
-
options: options
|
|
3350
|
-
}, getOperationSpec$3, callback);
|
|
3351
|
-
};
|
|
3352
|
-
PrivateClouds.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3353
|
-
return this.client.sendOperationRequest({
|
|
3354
|
-
nextPageLink: nextPageLink,
|
|
3355
|
-
options: options
|
|
3356
|
-
}, listNextOperationSpec$2, callback);
|
|
3357
|
-
};
|
|
3358
|
-
return PrivateClouds;
|
|
3359
|
-
}());
|
|
3360
|
-
// Operation Specifications
|
|
3361
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
|
3362
|
-
var listOperationSpec$2 = {
|
|
3363
|
-
httpMethod: "GET",
|
|
3364
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds",
|
|
3365
|
-
urlParameters: [
|
|
3366
|
-
subscriptionId,
|
|
3367
|
-
regionId
|
|
3368
|
-
],
|
|
3369
|
-
queryParameters: [
|
|
3370
|
-
apiVersion
|
|
3371
|
-
],
|
|
3372
|
-
headerParameters: [
|
|
3373
|
-
acceptLanguage
|
|
3374
|
-
],
|
|
3375
|
-
responses: {
|
|
3376
|
-
200: {
|
|
3377
|
-
bodyMapper: PrivateCloudList
|
|
3378
|
-
},
|
|
3379
|
-
default: {
|
|
3380
|
-
bodyMapper: CSRPError
|
|
3381
|
-
}
|
|
3382
|
-
},
|
|
3383
|
-
serializer: serializer$4
|
|
3384
|
-
};
|
|
3385
|
-
var getOperationSpec$3 = {
|
|
3386
|
-
httpMethod: "GET",
|
|
3387
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}",
|
|
3388
|
-
urlParameters: [
|
|
3389
|
-
subscriptionId,
|
|
3390
|
-
pcName,
|
|
3391
|
-
regionId
|
|
3392
|
-
],
|
|
3393
|
-
queryParameters: [
|
|
3394
|
-
apiVersion
|
|
3395
|
-
],
|
|
3396
|
-
headerParameters: [
|
|
3397
|
-
acceptLanguage
|
|
3398
|
-
],
|
|
3399
|
-
responses: {
|
|
3400
|
-
200: {
|
|
3401
|
-
bodyMapper: PrivateCloud
|
|
3402
|
-
},
|
|
3403
|
-
default: {
|
|
3404
|
-
bodyMapper: CSRPError
|
|
3405
|
-
}
|
|
3406
|
-
},
|
|
3407
|
-
serializer: serializer$4
|
|
3408
|
-
};
|
|
3409
|
-
var listNextOperationSpec$2 = {
|
|
3410
|
-
httpMethod: "GET",
|
|
3411
|
-
baseUrl: "https://management.azure.com",
|
|
3412
|
-
path: "{nextLink}",
|
|
3413
|
-
urlParameters: [
|
|
3414
|
-
nextPageLink
|
|
3415
|
-
],
|
|
3416
|
-
headerParameters: [
|
|
3417
|
-
acceptLanguage
|
|
3418
|
-
],
|
|
3419
|
-
responses: {
|
|
3420
|
-
200: {
|
|
3421
|
-
bodyMapper: PrivateCloudList
|
|
3422
|
-
},
|
|
3423
|
-
default: {
|
|
3424
|
-
bodyMapper: CSRPError
|
|
3425
|
-
}
|
|
3426
|
-
},
|
|
3427
|
-
serializer: serializer$4
|
|
3428
|
-
};
|
|
3429
|
-
|
|
3430
|
-
/*
|
|
3431
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3432
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3433
|
-
*
|
|
3434
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3435
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3436
|
-
*/
|
|
3437
|
-
|
|
3438
|
-
var Mappers$5 = /*#__PURE__*/Object.freeze({
|
|
3439
|
-
__proto__: null,
|
|
3440
|
-
CSRPError: CSRPError,
|
|
3441
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3442
|
-
ResourcePool: ResourcePool,
|
|
3443
|
-
ResourcePoolsListResponse: ResourcePoolsListResponse
|
|
3444
|
-
});
|
|
3445
|
-
|
|
3446
|
-
/*
|
|
3447
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3448
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3449
|
-
* license information.
|
|
3450
|
-
*
|
|
3451
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3452
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3453
|
-
* regenerated.
|
|
3454
|
-
*/
|
|
3455
|
-
/** Class representing a ResourcePools. */
|
|
3456
|
-
var ResourcePools = /** @class */ (function () {
|
|
3457
|
-
/**
|
|
3458
|
-
* Create a ResourcePools.
|
|
3459
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3460
|
-
*/
|
|
3461
|
-
function ResourcePools(client) {
|
|
3462
|
-
this.client = client;
|
|
3463
|
-
}
|
|
3464
|
-
ResourcePools.prototype.list = function (regionId, pcName, options, callback) {
|
|
3465
|
-
return this.client.sendOperationRequest({
|
|
3466
|
-
regionId: regionId,
|
|
3467
|
-
pcName: pcName,
|
|
3468
|
-
options: options
|
|
3469
|
-
}, listOperationSpec$3, callback);
|
|
3470
|
-
};
|
|
3471
|
-
ResourcePools.prototype.get = function (regionId, pcName, resourcePoolName, options, callback) {
|
|
3472
|
-
return this.client.sendOperationRequest({
|
|
3473
|
-
regionId: regionId,
|
|
3474
|
-
pcName: pcName,
|
|
3475
|
-
resourcePoolName: resourcePoolName,
|
|
3476
|
-
options: options
|
|
3477
|
-
}, getOperationSpec$4, callback);
|
|
3478
|
-
};
|
|
3479
|
-
ResourcePools.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3480
|
-
return this.client.sendOperationRequest({
|
|
3481
|
-
nextPageLink: nextPageLink,
|
|
3482
|
-
options: options
|
|
3483
|
-
}, listNextOperationSpec$3, callback);
|
|
3484
|
-
};
|
|
3485
|
-
return ResourcePools;
|
|
3486
|
-
}());
|
|
3487
|
-
// Operation Specifications
|
|
3488
|
-
var serializer$5 = new msRest.Serializer(Mappers$5);
|
|
3489
|
-
var listOperationSpec$3 = {
|
|
3490
|
-
httpMethod: "GET",
|
|
3491
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools",
|
|
3492
|
-
urlParameters: [
|
|
3493
|
-
subscriptionId,
|
|
3494
|
-
regionId,
|
|
3495
|
-
pcName
|
|
3496
|
-
],
|
|
3497
|
-
queryParameters: [
|
|
3498
|
-
apiVersion
|
|
3499
|
-
],
|
|
3500
|
-
headerParameters: [
|
|
3501
|
-
acceptLanguage
|
|
3502
|
-
],
|
|
3503
|
-
responses: {
|
|
3504
|
-
200: {
|
|
3505
|
-
bodyMapper: ResourcePoolsListResponse
|
|
3506
|
-
},
|
|
3507
|
-
default: {
|
|
3508
|
-
bodyMapper: CSRPError
|
|
3509
|
-
}
|
|
3510
|
-
},
|
|
3511
|
-
serializer: serializer$5
|
|
3512
|
-
};
|
|
3513
|
-
var getOperationSpec$4 = {
|
|
3514
|
-
httpMethod: "GET",
|
|
3515
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/resourcePools/{resourcePoolName}",
|
|
3516
|
-
urlParameters: [
|
|
3517
|
-
subscriptionId,
|
|
3518
|
-
regionId,
|
|
3519
|
-
pcName,
|
|
3520
|
-
resourcePoolName
|
|
3521
|
-
],
|
|
3522
|
-
queryParameters: [
|
|
3523
|
-
apiVersion
|
|
3524
|
-
],
|
|
3525
|
-
headerParameters: [
|
|
3526
|
-
acceptLanguage
|
|
3527
|
-
],
|
|
3528
|
-
responses: {
|
|
3529
|
-
200: {
|
|
3530
|
-
bodyMapper: ResourcePool
|
|
3531
|
-
},
|
|
3532
|
-
default: {
|
|
3533
|
-
bodyMapper: CSRPError
|
|
3534
|
-
}
|
|
3535
|
-
},
|
|
3536
|
-
serializer: serializer$5
|
|
3537
|
-
};
|
|
3538
|
-
var listNextOperationSpec$3 = {
|
|
3539
|
-
httpMethod: "GET",
|
|
3540
|
-
baseUrl: "https://management.azure.com",
|
|
3541
|
-
path: "{nextLink}",
|
|
3542
|
-
urlParameters: [
|
|
3543
|
-
nextPageLink
|
|
3544
|
-
],
|
|
3545
|
-
headerParameters: [
|
|
3546
|
-
acceptLanguage
|
|
3547
|
-
],
|
|
3548
|
-
responses: {
|
|
3549
|
-
200: {
|
|
3550
|
-
bodyMapper: ResourcePoolsListResponse
|
|
3551
|
-
},
|
|
3552
|
-
default: {
|
|
3553
|
-
bodyMapper: CSRPError
|
|
3554
|
-
}
|
|
3555
|
-
},
|
|
3556
|
-
serializer: serializer$5
|
|
3557
|
-
};
|
|
3558
|
-
|
|
3559
|
-
/*
|
|
3560
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3561
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3562
|
-
*
|
|
3563
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3564
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3565
|
-
*/
|
|
3566
|
-
|
|
3567
|
-
var Mappers$6 = /*#__PURE__*/Object.freeze({
|
|
3568
|
-
__proto__: null,
|
|
3569
|
-
CSRPError: CSRPError,
|
|
3570
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3571
|
-
VirtualDisk: VirtualDisk,
|
|
3572
|
-
VirtualDiskController: VirtualDiskController,
|
|
3573
|
-
VirtualMachineTemplate: VirtualMachineTemplate,
|
|
3574
|
-
VirtualMachineTemplateListResponse: VirtualMachineTemplateListResponse,
|
|
3575
|
-
VirtualNetwork: VirtualNetwork,
|
|
3576
|
-
VirtualNic: VirtualNic
|
|
3577
|
-
});
|
|
3578
|
-
|
|
3579
|
-
/*
|
|
3580
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3581
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3582
|
-
* license information.
|
|
3583
|
-
*
|
|
3584
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3585
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3586
|
-
* regenerated.
|
|
3587
|
-
*/
|
|
3588
|
-
/** Class representing a VirtualMachineTemplates. */
|
|
3589
|
-
var VirtualMachineTemplates = /** @class */ (function () {
|
|
3590
|
-
/**
|
|
3591
|
-
* Create a VirtualMachineTemplates.
|
|
3592
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3593
|
-
*/
|
|
3594
|
-
function VirtualMachineTemplates(client) {
|
|
3595
|
-
this.client = client;
|
|
3596
|
-
}
|
|
3597
|
-
VirtualMachineTemplates.prototype.list = function (pcName, regionId, resourcePoolName, options, callback) {
|
|
3598
|
-
return this.client.sendOperationRequest({
|
|
3599
|
-
pcName: pcName,
|
|
3600
|
-
regionId: regionId,
|
|
3601
|
-
resourcePoolName: resourcePoolName,
|
|
3602
|
-
options: options
|
|
3603
|
-
}, listOperationSpec$4, callback);
|
|
3604
|
-
};
|
|
3605
|
-
VirtualMachineTemplates.prototype.get = function (regionId, pcName, virtualMachineTemplateName, options, callback) {
|
|
3606
|
-
return this.client.sendOperationRequest({
|
|
3607
|
-
regionId: regionId,
|
|
3608
|
-
pcName: pcName,
|
|
3609
|
-
virtualMachineTemplateName: virtualMachineTemplateName,
|
|
3610
|
-
options: options
|
|
3611
|
-
}, getOperationSpec$5, callback);
|
|
3612
|
-
};
|
|
3613
|
-
VirtualMachineTemplates.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3614
|
-
return this.client.sendOperationRequest({
|
|
3615
|
-
nextPageLink: nextPageLink,
|
|
3616
|
-
options: options
|
|
3617
|
-
}, listNextOperationSpec$4, callback);
|
|
3618
|
-
};
|
|
3619
|
-
return VirtualMachineTemplates;
|
|
3620
|
-
}());
|
|
3621
|
-
// Operation Specifications
|
|
3622
|
-
var serializer$6 = new msRest.Serializer(Mappers$6);
|
|
3623
|
-
var listOperationSpec$4 = {
|
|
3624
|
-
httpMethod: "GET",
|
|
3625
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualMachineTemplates",
|
|
3626
|
-
urlParameters: [
|
|
3627
|
-
subscriptionId,
|
|
3628
|
-
pcName,
|
|
3629
|
-
regionId
|
|
3630
|
-
],
|
|
3631
|
-
queryParameters: [
|
|
3632
|
-
apiVersion,
|
|
3633
|
-
resourcePoolName
|
|
3634
|
-
],
|
|
3635
|
-
headerParameters: [
|
|
3636
|
-
acceptLanguage
|
|
3637
|
-
],
|
|
3638
|
-
responses: {
|
|
3639
|
-
200: {
|
|
3640
|
-
bodyMapper: VirtualMachineTemplateListResponse
|
|
3641
|
-
},
|
|
3642
|
-
default: {
|
|
3643
|
-
bodyMapper: CSRPError
|
|
3644
|
-
}
|
|
3645
|
-
},
|
|
3646
|
-
serializer: serializer$6
|
|
3647
|
-
};
|
|
3648
|
-
var getOperationSpec$5 = {
|
|
3649
|
-
httpMethod: "GET",
|
|
3650
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualMachineTemplates/{virtualMachineTemplateName}",
|
|
3651
|
-
urlParameters: [
|
|
3652
|
-
subscriptionId,
|
|
3653
|
-
regionId,
|
|
3654
|
-
pcName,
|
|
3655
|
-
virtualMachineTemplateName
|
|
3656
|
-
],
|
|
3657
|
-
queryParameters: [
|
|
3658
|
-
apiVersion
|
|
3659
|
-
],
|
|
3660
|
-
headerParameters: [
|
|
3661
|
-
acceptLanguage
|
|
3662
|
-
],
|
|
3663
|
-
responses: {
|
|
3664
|
-
200: {
|
|
3665
|
-
bodyMapper: VirtualMachineTemplate
|
|
3666
|
-
},
|
|
3667
|
-
default: {
|
|
3668
|
-
bodyMapper: CSRPError
|
|
3669
|
-
}
|
|
3670
|
-
},
|
|
3671
|
-
serializer: serializer$6
|
|
3672
|
-
};
|
|
3673
|
-
var listNextOperationSpec$4 = {
|
|
3674
|
-
httpMethod: "GET",
|
|
3675
|
-
baseUrl: "https://management.azure.com",
|
|
3676
|
-
path: "{nextLink}",
|
|
3677
|
-
urlParameters: [
|
|
3678
|
-
nextPageLink
|
|
3679
|
-
],
|
|
3680
|
-
headerParameters: [
|
|
3681
|
-
acceptLanguage
|
|
3682
|
-
],
|
|
3683
|
-
responses: {
|
|
3684
|
-
200: {
|
|
3685
|
-
bodyMapper: VirtualMachineTemplateListResponse
|
|
3686
|
-
},
|
|
3687
|
-
default: {
|
|
3688
|
-
bodyMapper: CSRPError
|
|
3689
|
-
}
|
|
3690
|
-
},
|
|
3691
|
-
serializer: serializer$6
|
|
3692
|
-
};
|
|
3693
|
-
|
|
3694
|
-
/*
|
|
3695
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3696
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3697
|
-
*
|
|
3698
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3699
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3700
|
-
*/
|
|
3701
|
-
|
|
3702
|
-
var Mappers$7 = /*#__PURE__*/Object.freeze({
|
|
3703
|
-
__proto__: null,
|
|
3704
|
-
CSRPError: CSRPError,
|
|
3705
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3706
|
-
VirtualNetwork: VirtualNetwork,
|
|
3707
|
-
VirtualNetworkListResponse: VirtualNetworkListResponse
|
|
3708
|
-
});
|
|
3709
|
-
|
|
3710
|
-
/*
|
|
3711
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3712
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3713
|
-
* license information.
|
|
3714
|
-
*
|
|
3715
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3716
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3717
|
-
* regenerated.
|
|
3718
|
-
*/
|
|
3719
|
-
/** Class representing a VirtualNetworks. */
|
|
3720
|
-
var VirtualNetworks = /** @class */ (function () {
|
|
3721
|
-
/**
|
|
3722
|
-
* Create a VirtualNetworks.
|
|
3723
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3724
|
-
*/
|
|
3725
|
-
function VirtualNetworks(client) {
|
|
3726
|
-
this.client = client;
|
|
3727
|
-
}
|
|
3728
|
-
VirtualNetworks.prototype.list = function (regionId, pcName, resourcePoolName, options, callback) {
|
|
3729
|
-
return this.client.sendOperationRequest({
|
|
3730
|
-
regionId: regionId,
|
|
3731
|
-
pcName: pcName,
|
|
3732
|
-
resourcePoolName: resourcePoolName,
|
|
3733
|
-
options: options
|
|
3734
|
-
}, listOperationSpec$5, callback);
|
|
3735
|
-
};
|
|
3736
|
-
VirtualNetworks.prototype.get = function (regionId, pcName, virtualNetworkName, options, callback) {
|
|
3737
|
-
return this.client.sendOperationRequest({
|
|
3738
|
-
regionId: regionId,
|
|
3739
|
-
pcName: pcName,
|
|
3740
|
-
virtualNetworkName: virtualNetworkName,
|
|
3741
|
-
options: options
|
|
3742
|
-
}, getOperationSpec$6, callback);
|
|
3743
|
-
};
|
|
3744
|
-
VirtualNetworks.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3745
|
-
return this.client.sendOperationRequest({
|
|
3746
|
-
nextPageLink: nextPageLink,
|
|
3747
|
-
options: options
|
|
3748
|
-
}, listNextOperationSpec$5, callback);
|
|
3749
|
-
};
|
|
3750
|
-
return VirtualNetworks;
|
|
3751
|
-
}());
|
|
3752
|
-
// Operation Specifications
|
|
3753
|
-
var serializer$7 = new msRest.Serializer(Mappers$7);
|
|
3754
|
-
var listOperationSpec$5 = {
|
|
3755
|
-
httpMethod: "GET",
|
|
3756
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks",
|
|
3757
|
-
urlParameters: [
|
|
3758
|
-
subscriptionId,
|
|
3759
|
-
regionId,
|
|
3760
|
-
pcName
|
|
3761
|
-
],
|
|
3762
|
-
queryParameters: [
|
|
3763
|
-
apiVersion,
|
|
3764
|
-
resourcePoolName
|
|
3765
|
-
],
|
|
3766
|
-
headerParameters: [
|
|
3767
|
-
acceptLanguage
|
|
3768
|
-
],
|
|
3769
|
-
responses: {
|
|
3770
|
-
200: {
|
|
3771
|
-
bodyMapper: VirtualNetworkListResponse
|
|
3772
|
-
},
|
|
3773
|
-
default: {
|
|
3774
|
-
bodyMapper: CSRPError
|
|
3775
|
-
}
|
|
3776
|
-
},
|
|
3777
|
-
serializer: serializer$7
|
|
3778
|
-
};
|
|
3779
|
-
var getOperationSpec$6 = {
|
|
3780
|
-
httpMethod: "GET",
|
|
3781
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/privateClouds/{pcName}/virtualNetworks/{virtualNetworkName}",
|
|
3782
|
-
urlParameters: [
|
|
3783
|
-
subscriptionId,
|
|
3784
|
-
regionId,
|
|
3785
|
-
pcName,
|
|
3786
|
-
virtualNetworkName
|
|
3787
|
-
],
|
|
3788
|
-
queryParameters: [
|
|
3789
|
-
apiVersion
|
|
3790
|
-
],
|
|
3791
|
-
headerParameters: [
|
|
3792
|
-
acceptLanguage
|
|
3793
|
-
],
|
|
3794
|
-
responses: {
|
|
3795
|
-
200: {
|
|
3796
|
-
bodyMapper: VirtualNetwork
|
|
3797
|
-
},
|
|
3798
|
-
default: {
|
|
3799
|
-
bodyMapper: CSRPError
|
|
3800
|
-
}
|
|
3801
|
-
},
|
|
3802
|
-
serializer: serializer$7
|
|
3803
|
-
};
|
|
3804
|
-
var listNextOperationSpec$5 = {
|
|
3805
|
-
httpMethod: "GET",
|
|
3806
|
-
baseUrl: "https://management.azure.com",
|
|
3807
|
-
path: "{nextLink}",
|
|
3808
|
-
urlParameters: [
|
|
3809
|
-
nextPageLink
|
|
3810
|
-
],
|
|
3811
|
-
headerParameters: [
|
|
3812
|
-
acceptLanguage
|
|
3813
|
-
],
|
|
3814
|
-
responses: {
|
|
3815
|
-
200: {
|
|
3816
|
-
bodyMapper: VirtualNetworkListResponse
|
|
3817
|
-
},
|
|
3818
|
-
default: {
|
|
3819
|
-
bodyMapper: CSRPError
|
|
3820
|
-
}
|
|
3821
|
-
},
|
|
3822
|
-
serializer: serializer$7
|
|
3823
|
-
};
|
|
3824
|
-
|
|
3825
|
-
/*
|
|
3826
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3827
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3828
|
-
*
|
|
3829
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3830
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3831
|
-
*/
|
|
3832
|
-
|
|
3833
|
-
var Mappers$8 = /*#__PURE__*/Object.freeze({
|
|
3834
|
-
__proto__: null,
|
|
3835
|
-
CSRPError: CSRPError,
|
|
3836
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3837
|
-
Usage: Usage,
|
|
3838
|
-
UsageListResponse: UsageListResponse,
|
|
3839
|
-
UsageName: UsageName
|
|
3840
|
-
});
|
|
3841
|
-
|
|
3842
|
-
/*
|
|
3843
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3844
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3845
|
-
* license information.
|
|
3846
|
-
*
|
|
3847
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3848
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3849
|
-
* regenerated.
|
|
3850
|
-
*/
|
|
3851
|
-
/** Class representing a Usages. */
|
|
3852
|
-
var Usages = /** @class */ (function () {
|
|
3853
|
-
/**
|
|
3854
|
-
* Create a Usages.
|
|
3855
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3856
|
-
*/
|
|
3857
|
-
function Usages(client) {
|
|
3858
|
-
this.client = client;
|
|
3859
|
-
}
|
|
3860
|
-
Usages.prototype.list = function (regionId, options, callback) {
|
|
3861
|
-
return this.client.sendOperationRequest({
|
|
3862
|
-
regionId: regionId,
|
|
3863
|
-
options: options
|
|
3864
|
-
}, listOperationSpec$6, callback);
|
|
3865
|
-
};
|
|
3866
|
-
Usages.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3867
|
-
return this.client.sendOperationRequest({
|
|
3868
|
-
nextPageLink: nextPageLink,
|
|
3869
|
-
options: options
|
|
3870
|
-
}, listNextOperationSpec$6, callback);
|
|
3871
|
-
};
|
|
3872
|
-
return Usages;
|
|
3873
|
-
}());
|
|
3874
|
-
// Operation Specifications
|
|
3875
|
-
var serializer$8 = new msRest.Serializer(Mappers$8);
|
|
3876
|
-
var listOperationSpec$6 = {
|
|
3877
|
-
httpMethod: "GET",
|
|
3878
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/locations/{regionId}/usages",
|
|
3879
|
-
urlParameters: [
|
|
3880
|
-
subscriptionId,
|
|
3881
|
-
regionId
|
|
3882
|
-
],
|
|
3883
|
-
queryParameters: [
|
|
3884
|
-
filter,
|
|
3885
|
-
apiVersion
|
|
3886
|
-
],
|
|
3887
|
-
headerParameters: [
|
|
3888
|
-
acceptLanguage
|
|
3889
|
-
],
|
|
3890
|
-
responses: {
|
|
3891
|
-
200: {
|
|
3892
|
-
bodyMapper: UsageListResponse
|
|
3893
|
-
},
|
|
3894
|
-
default: {
|
|
3895
|
-
bodyMapper: CSRPError
|
|
3896
|
-
}
|
|
3897
|
-
},
|
|
3898
|
-
serializer: serializer$8
|
|
3899
|
-
};
|
|
3900
|
-
var listNextOperationSpec$6 = {
|
|
3901
|
-
httpMethod: "GET",
|
|
3902
|
-
baseUrl: "https://management.azure.com",
|
|
3903
|
-
path: "{nextLink}",
|
|
3904
|
-
urlParameters: [
|
|
3905
|
-
nextPageLink
|
|
3906
|
-
],
|
|
3907
|
-
headerParameters: [
|
|
3908
|
-
acceptLanguage
|
|
3909
|
-
],
|
|
3910
|
-
responses: {
|
|
3911
|
-
200: {
|
|
3912
|
-
bodyMapper: UsageListResponse
|
|
3913
|
-
},
|
|
3914
|
-
default: {
|
|
3915
|
-
bodyMapper: CSRPError
|
|
3916
|
-
}
|
|
3917
|
-
},
|
|
3918
|
-
serializer: serializer$8
|
|
3919
|
-
};
|
|
3920
|
-
|
|
3921
|
-
/*
|
|
3922
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3923
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
3924
|
-
*
|
|
3925
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3926
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3927
|
-
*/
|
|
3928
|
-
|
|
3929
|
-
var Mappers$9 = /*#__PURE__*/Object.freeze({
|
|
3930
|
-
__proto__: null,
|
|
3931
|
-
BaseResource: BaseResource,
|
|
3932
|
-
CSRPError: CSRPError,
|
|
3933
|
-
CSRPErrorBody: CSRPErrorBody,
|
|
3934
|
-
DedicatedCloudNode: DedicatedCloudNode,
|
|
3935
|
-
DedicatedCloudService: DedicatedCloudService,
|
|
3936
|
-
PatchPayload: PatchPayload,
|
|
3937
|
-
ResourcePool: ResourcePool,
|
|
3938
|
-
Sku: Sku,
|
|
3939
|
-
VirtualDisk: VirtualDisk,
|
|
3940
|
-
VirtualDiskController: VirtualDiskController,
|
|
3941
|
-
VirtualMachine: VirtualMachine,
|
|
3942
|
-
VirtualMachineListResponse: VirtualMachineListResponse,
|
|
3943
|
-
VirtualMachinesCreateOrUpdateHeaders: VirtualMachinesCreateOrUpdateHeaders,
|
|
3944
|
-
VirtualMachinesDeleteHeaders: VirtualMachinesDeleteHeaders,
|
|
3945
|
-
VirtualMachinesStartHeaders: VirtualMachinesStartHeaders,
|
|
3946
|
-
VirtualMachinesStopHeaders: VirtualMachinesStopHeaders,
|
|
3947
|
-
VirtualMachineStopMode: VirtualMachineStopMode,
|
|
3948
|
-
VirtualNetwork: VirtualNetwork,
|
|
3949
|
-
VirtualNic: VirtualNic
|
|
3950
|
-
});
|
|
3951
|
-
|
|
3952
|
-
/*
|
|
3953
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3954
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
3955
|
-
* license information.
|
|
3956
|
-
*
|
|
3957
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3958
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3959
|
-
* regenerated.
|
|
3960
|
-
*/
|
|
3961
|
-
/** Class representing a VirtualMachines. */
|
|
3962
|
-
var VirtualMachines = /** @class */ (function () {
|
|
3963
|
-
/**
|
|
3964
|
-
* Create a VirtualMachines.
|
|
3965
|
-
* @param {VMwareCloudSimpleClientContext} client Reference to the service client.
|
|
3966
|
-
*/
|
|
3967
|
-
function VirtualMachines(client) {
|
|
3968
|
-
this.client = client;
|
|
3969
|
-
}
|
|
3970
|
-
VirtualMachines.prototype.listBySubscription = function (options, callback) {
|
|
3971
|
-
return this.client.sendOperationRequest({
|
|
3972
|
-
options: options
|
|
3973
|
-
}, listBySubscriptionOperationSpec$2, callback);
|
|
3974
|
-
};
|
|
3975
|
-
VirtualMachines.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
3976
|
-
return this.client.sendOperationRequest({
|
|
3977
|
-
resourceGroupName: resourceGroupName,
|
|
3978
|
-
options: options
|
|
3979
|
-
}, listByResourceGroupOperationSpec$2, callback);
|
|
3980
|
-
};
|
|
3981
|
-
VirtualMachines.prototype.get = function (resourceGroupName, virtualMachineName, options, callback) {
|
|
3982
|
-
return this.client.sendOperationRequest({
|
|
3983
|
-
resourceGroupName: resourceGroupName,
|
|
3984
|
-
virtualMachineName: virtualMachineName,
|
|
3985
|
-
options: options
|
|
3986
|
-
}, getOperationSpec$7, callback);
|
|
3987
|
-
};
|
|
3988
|
-
/**
|
|
3989
|
-
* Create Or Update Virtual Machine
|
|
3990
|
-
* @summary Implements virtual machine PUT method
|
|
3991
|
-
* @param resourceGroupName The name of the resource group
|
|
3992
|
-
* @param virtualMachineName virtual machine name
|
|
3993
|
-
* @param virtualMachineRequest Create or Update Virtual Machine request
|
|
3994
|
-
* @param [options] The optional parameters
|
|
3995
|
-
* @returns Promise<Models.VirtualMachinesCreateOrUpdateResponse>
|
|
3996
|
-
*/
|
|
3997
|
-
VirtualMachines.prototype.createOrUpdate = function (resourceGroupName, virtualMachineName, virtualMachineRequest, options) {
|
|
3998
|
-
return this.beginCreateOrUpdate(resourceGroupName, virtualMachineName, virtualMachineRequest, options)
|
|
3999
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
4000
|
-
};
|
|
4001
|
-
/**
|
|
4002
|
-
* Delete virtual machine
|
|
4003
|
-
* @summary Implements virtual machine DELETE method
|
|
4004
|
-
* @param resourceGroupName The name of the resource group
|
|
4005
|
-
* @param virtualMachineName virtual machine name
|
|
4006
|
-
* @param [options] The optional parameters
|
|
4007
|
-
* @returns Promise<Models.VirtualMachinesDeleteResponse>
|
|
4008
|
-
*/
|
|
4009
|
-
VirtualMachines.prototype.deleteMethod = function (resourceGroupName, virtualMachineName, options) {
|
|
4010
|
-
return this.beginDeleteMethod(resourceGroupName, virtualMachineName, options)
|
|
4011
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
4012
|
-
};
|
|
4013
|
-
/**
|
|
4014
|
-
* Patch virtual machine properties
|
|
4015
|
-
* @summary Implements virtual machine PATCH method
|
|
4016
|
-
* @param resourceGroupName The name of the resource group
|
|
4017
|
-
* @param virtualMachineName virtual machine name
|
|
4018
|
-
* @param [options] The optional parameters
|
|
4019
|
-
* @returns Promise<Models.VirtualMachinesUpdateResponse>
|
|
4020
|
-
*/
|
|
4021
|
-
VirtualMachines.prototype.update = function (resourceGroupName, virtualMachineName, options) {
|
|
4022
|
-
return this.beginUpdate(resourceGroupName, virtualMachineName, options)
|
|
4023
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
4024
|
-
};
|
|
4025
|
-
/**
|
|
4026
|
-
* Power on virtual machine
|
|
4027
|
-
* @summary Implements a start method for a virtual machine
|
|
4028
|
-
* @param resourceGroupName The name of the resource group
|
|
4029
|
-
* @param virtualMachineName virtual machine name
|
|
4030
|
-
* @param [options] The optional parameters
|
|
4031
|
-
* @returns Promise<Models.VirtualMachinesStartResponse>
|
|
4032
|
-
*/
|
|
4033
|
-
VirtualMachines.prototype.start = function (resourceGroupName, virtualMachineName, options) {
|
|
4034
|
-
return this.beginStart(resourceGroupName, virtualMachineName, options)
|
|
4035
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
4036
|
-
};
|
|
4037
|
-
/**
|
|
4038
|
-
* Power off virtual machine, options: shutdown, poweroff, and suspend
|
|
4039
|
-
* @summary Implements shutdown, poweroff, and suspend method for a virtual machine
|
|
4040
|
-
* @param resourceGroupName The name of the resource group
|
|
4041
|
-
* @param virtualMachineName virtual machine name
|
|
4042
|
-
* @param [options] The optional parameters
|
|
4043
|
-
* @returns Promise<Models.VirtualMachinesStopResponse>
|
|
4044
|
-
*/
|
|
4045
|
-
VirtualMachines.prototype.stop = function (resourceGroupName, virtualMachineName, options) {
|
|
4046
|
-
return this.beginStop(resourceGroupName, virtualMachineName, options)
|
|
4047
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
4048
|
-
};
|
|
4049
|
-
/**
|
|
4050
|
-
* Create Or Update Virtual Machine
|
|
4051
|
-
* @summary Implements virtual machine PUT method
|
|
4052
|
-
* @param resourceGroupName The name of the resource group
|
|
4053
|
-
* @param virtualMachineName virtual machine name
|
|
4054
|
-
* @param virtualMachineRequest Create or Update Virtual Machine request
|
|
4055
|
-
* @param [options] The optional parameters
|
|
4056
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
4057
|
-
*/
|
|
4058
|
-
VirtualMachines.prototype.beginCreateOrUpdate = function (resourceGroupName, virtualMachineName, virtualMachineRequest, options) {
|
|
4059
|
-
return this.client.sendLRORequest({
|
|
4060
|
-
resourceGroupName: resourceGroupName,
|
|
4061
|
-
virtualMachineName: virtualMachineName,
|
|
4062
|
-
virtualMachineRequest: virtualMachineRequest,
|
|
4063
|
-
options: options
|
|
4064
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
4065
|
-
};
|
|
4066
|
-
/**
|
|
4067
|
-
* Delete virtual machine
|
|
4068
|
-
* @summary Implements virtual machine DELETE method
|
|
4069
|
-
* @param resourceGroupName The name of the resource group
|
|
4070
|
-
* @param virtualMachineName virtual machine name
|
|
4071
|
-
* @param [options] The optional parameters
|
|
4072
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
4073
|
-
*/
|
|
4074
|
-
VirtualMachines.prototype.beginDeleteMethod = function (resourceGroupName, virtualMachineName, options) {
|
|
4075
|
-
return this.client.sendLRORequest({
|
|
4076
|
-
resourceGroupName: resourceGroupName,
|
|
4077
|
-
virtualMachineName: virtualMachineName,
|
|
4078
|
-
options: options
|
|
4079
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
4080
|
-
};
|
|
4081
|
-
/**
|
|
4082
|
-
* Patch virtual machine properties
|
|
4083
|
-
* @summary Implements virtual machine PATCH method
|
|
4084
|
-
* @param resourceGroupName The name of the resource group
|
|
4085
|
-
* @param virtualMachineName virtual machine name
|
|
4086
|
-
* @param [options] The optional parameters
|
|
4087
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
4088
|
-
*/
|
|
4089
|
-
VirtualMachines.prototype.beginUpdate = function (resourceGroupName, virtualMachineName, options) {
|
|
4090
|
-
return this.client.sendLRORequest({
|
|
4091
|
-
resourceGroupName: resourceGroupName,
|
|
4092
|
-
virtualMachineName: virtualMachineName,
|
|
4093
|
-
options: options
|
|
4094
|
-
}, beginUpdateOperationSpec, options);
|
|
4095
|
-
};
|
|
4096
|
-
/**
|
|
4097
|
-
* Power on virtual machine
|
|
4098
|
-
* @summary Implements a start method for a virtual machine
|
|
4099
|
-
* @param resourceGroupName The name of the resource group
|
|
4100
|
-
* @param virtualMachineName virtual machine name
|
|
4101
|
-
* @param [options] The optional parameters
|
|
4102
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
4103
|
-
*/
|
|
4104
|
-
VirtualMachines.prototype.beginStart = function (resourceGroupName, virtualMachineName, options) {
|
|
4105
|
-
return this.client.sendLRORequest({
|
|
4106
|
-
resourceGroupName: resourceGroupName,
|
|
4107
|
-
virtualMachineName: virtualMachineName,
|
|
4108
|
-
options: options
|
|
4109
|
-
}, beginStartOperationSpec, options);
|
|
4110
|
-
};
|
|
4111
|
-
/**
|
|
4112
|
-
* Power off virtual machine, options: shutdown, poweroff, and suspend
|
|
4113
|
-
* @summary Implements shutdown, poweroff, and suspend method for a virtual machine
|
|
4114
|
-
* @param resourceGroupName The name of the resource group
|
|
4115
|
-
* @param virtualMachineName virtual machine name
|
|
4116
|
-
* @param [options] The optional parameters
|
|
4117
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
4118
|
-
*/
|
|
4119
|
-
VirtualMachines.prototype.beginStop = function (resourceGroupName, virtualMachineName, options) {
|
|
4120
|
-
return this.client.sendLRORequest({
|
|
4121
|
-
resourceGroupName: resourceGroupName,
|
|
4122
|
-
virtualMachineName: virtualMachineName,
|
|
4123
|
-
options: options
|
|
4124
|
-
}, beginStopOperationSpec, options);
|
|
4125
|
-
};
|
|
4126
|
-
VirtualMachines.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
4127
|
-
return this.client.sendOperationRequest({
|
|
4128
|
-
nextPageLink: nextPageLink,
|
|
4129
|
-
options: options
|
|
4130
|
-
}, listBySubscriptionNextOperationSpec$2, callback);
|
|
4131
|
-
};
|
|
4132
|
-
VirtualMachines.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
4133
|
-
return this.client.sendOperationRequest({
|
|
4134
|
-
nextPageLink: nextPageLink,
|
|
4135
|
-
options: options
|
|
4136
|
-
}, listByResourceGroupNextOperationSpec$2, callback);
|
|
4137
|
-
};
|
|
4138
|
-
return VirtualMachines;
|
|
4139
|
-
}());
|
|
4140
|
-
// Operation Specifications
|
|
4141
|
-
var serializer$9 = new msRest.Serializer(Mappers$9);
|
|
4142
|
-
var listBySubscriptionOperationSpec$2 = {
|
|
4143
|
-
httpMethod: "GET",
|
|
4144
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.VMwareCloudSimple/virtualMachines",
|
|
4145
|
-
urlParameters: [
|
|
4146
|
-
subscriptionId
|
|
4147
|
-
],
|
|
4148
|
-
queryParameters: [
|
|
4149
|
-
apiVersion,
|
|
4150
|
-
filter,
|
|
4151
|
-
top,
|
|
4152
|
-
skipToken
|
|
4153
|
-
],
|
|
4154
|
-
headerParameters: [
|
|
4155
|
-
acceptLanguage
|
|
4156
|
-
],
|
|
4157
|
-
responses: {
|
|
4158
|
-
200: {
|
|
4159
|
-
bodyMapper: VirtualMachineListResponse
|
|
4160
|
-
},
|
|
4161
|
-
default: {
|
|
4162
|
-
bodyMapper: CSRPError
|
|
4163
|
-
}
|
|
4164
|
-
},
|
|
4165
|
-
serializer: serializer$9
|
|
4166
|
-
};
|
|
4167
|
-
var listByResourceGroupOperationSpec$2 = {
|
|
4168
|
-
httpMethod: "GET",
|
|
4169
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines",
|
|
4170
|
-
urlParameters: [
|
|
4171
|
-
subscriptionId,
|
|
4172
|
-
resourceGroupName
|
|
4173
|
-
],
|
|
4174
|
-
queryParameters: [
|
|
4175
|
-
apiVersion,
|
|
4176
|
-
filter,
|
|
4177
|
-
top,
|
|
4178
|
-
skipToken
|
|
4179
|
-
],
|
|
4180
|
-
headerParameters: [
|
|
4181
|
-
acceptLanguage
|
|
4182
|
-
],
|
|
4183
|
-
responses: {
|
|
4184
|
-
200: {
|
|
4185
|
-
bodyMapper: VirtualMachineListResponse
|
|
4186
|
-
},
|
|
4187
|
-
default: {
|
|
4188
|
-
bodyMapper: CSRPError
|
|
4189
|
-
}
|
|
4190
|
-
},
|
|
4191
|
-
serializer: serializer$9
|
|
4192
|
-
};
|
|
4193
|
-
var getOperationSpec$7 = {
|
|
4194
|
-
httpMethod: "GET",
|
|
4195
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}",
|
|
4196
|
-
urlParameters: [
|
|
4197
|
-
subscriptionId,
|
|
4198
|
-
resourceGroupName,
|
|
4199
|
-
virtualMachineName0
|
|
4200
|
-
],
|
|
4201
|
-
queryParameters: [
|
|
4202
|
-
apiVersion
|
|
4203
|
-
],
|
|
4204
|
-
headerParameters: [
|
|
4205
|
-
acceptLanguage
|
|
4206
|
-
],
|
|
4207
|
-
responses: {
|
|
4208
|
-
200: {
|
|
4209
|
-
bodyMapper: VirtualMachine
|
|
4210
|
-
},
|
|
4211
|
-
default: {
|
|
4212
|
-
bodyMapper: CSRPError
|
|
4213
|
-
}
|
|
4214
|
-
},
|
|
4215
|
-
serializer: serializer$9
|
|
4216
|
-
};
|
|
4217
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
4218
|
-
httpMethod: "PUT",
|
|
4219
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}",
|
|
4220
|
-
urlParameters: [
|
|
4221
|
-
subscriptionId,
|
|
4222
|
-
resourceGroupName,
|
|
4223
|
-
virtualMachineName1
|
|
4224
|
-
],
|
|
4225
|
-
queryParameters: [
|
|
4226
|
-
apiVersion
|
|
4227
|
-
],
|
|
4228
|
-
headerParameters: [
|
|
4229
|
-
referer,
|
|
4230
|
-
acceptLanguage
|
|
4231
|
-
],
|
|
4232
|
-
requestBody: {
|
|
4233
|
-
parameterPath: "virtualMachineRequest",
|
|
4234
|
-
mapper: __assign(__assign({}, VirtualMachine), { required: true })
|
|
4235
|
-
},
|
|
4236
|
-
responses: {
|
|
4237
|
-
200: {
|
|
4238
|
-
bodyMapper: VirtualMachine,
|
|
4239
|
-
headersMapper: VirtualMachinesCreateOrUpdateHeaders
|
|
4240
|
-
},
|
|
4241
|
-
201: {
|
|
4242
|
-
bodyMapper: VirtualMachine,
|
|
4243
|
-
headersMapper: VirtualMachinesCreateOrUpdateHeaders
|
|
4244
|
-
},
|
|
4245
|
-
default: {
|
|
4246
|
-
bodyMapper: CSRPError
|
|
4247
|
-
}
|
|
4248
|
-
},
|
|
4249
|
-
serializer: serializer$9
|
|
4250
|
-
};
|
|
4251
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
4252
|
-
httpMethod: "DELETE",
|
|
4253
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}",
|
|
4254
|
-
urlParameters: [
|
|
4255
|
-
subscriptionId,
|
|
4256
|
-
resourceGroupName,
|
|
4257
|
-
virtualMachineName0
|
|
4258
|
-
],
|
|
4259
|
-
queryParameters: [
|
|
4260
|
-
apiVersion
|
|
4261
|
-
],
|
|
4262
|
-
headerParameters: [
|
|
4263
|
-
referer,
|
|
4264
|
-
acceptLanguage
|
|
4265
|
-
],
|
|
4266
|
-
responses: {
|
|
4267
|
-
202: {
|
|
4268
|
-
headersMapper: VirtualMachinesDeleteHeaders
|
|
4269
|
-
},
|
|
4270
|
-
204: {
|
|
4271
|
-
headersMapper: VirtualMachinesDeleteHeaders
|
|
4272
|
-
},
|
|
4273
|
-
default: {
|
|
4274
|
-
bodyMapper: CSRPError
|
|
4275
|
-
}
|
|
4276
|
-
},
|
|
4277
|
-
serializer: serializer$9
|
|
4278
|
-
};
|
|
4279
|
-
var beginUpdateOperationSpec = {
|
|
4280
|
-
httpMethod: "PATCH",
|
|
4281
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}",
|
|
4282
|
-
urlParameters: [
|
|
4283
|
-
subscriptionId,
|
|
4284
|
-
resourceGroupName,
|
|
4285
|
-
virtualMachineName0
|
|
4286
|
-
],
|
|
4287
|
-
queryParameters: [
|
|
4288
|
-
apiVersion
|
|
4289
|
-
],
|
|
4290
|
-
headerParameters: [
|
|
4291
|
-
acceptLanguage
|
|
4292
|
-
],
|
|
4293
|
-
requestBody: {
|
|
4294
|
-
parameterPath: {
|
|
4295
|
-
tags: [
|
|
4296
|
-
"options",
|
|
4297
|
-
"tags"
|
|
4298
|
-
]
|
|
4299
|
-
},
|
|
4300
|
-
mapper: __assign(__assign({}, PatchPayload), { required: true })
|
|
4301
|
-
},
|
|
4302
|
-
responses: {
|
|
4303
|
-
200: {
|
|
4304
|
-
bodyMapper: VirtualMachine
|
|
4305
|
-
},
|
|
4306
|
-
default: {
|
|
4307
|
-
bodyMapper: CSRPError
|
|
4308
|
-
}
|
|
4309
|
-
},
|
|
4310
|
-
serializer: serializer$9
|
|
4311
|
-
};
|
|
4312
|
-
var beginStartOperationSpec = {
|
|
4313
|
-
httpMethod: "POST",
|
|
4314
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}/start",
|
|
4315
|
-
urlParameters: [
|
|
4316
|
-
subscriptionId,
|
|
4317
|
-
resourceGroupName,
|
|
4318
|
-
virtualMachineName0
|
|
4319
|
-
],
|
|
4320
|
-
queryParameters: [
|
|
4321
|
-
apiVersion
|
|
4322
|
-
],
|
|
4323
|
-
headerParameters: [
|
|
4324
|
-
referer,
|
|
4325
|
-
acceptLanguage
|
|
4326
|
-
],
|
|
4327
|
-
responses: {
|
|
4328
|
-
200: {
|
|
4329
|
-
headersMapper: VirtualMachinesStartHeaders
|
|
4330
|
-
},
|
|
4331
|
-
202: {
|
|
4332
|
-
headersMapper: VirtualMachinesStartHeaders
|
|
4333
|
-
},
|
|
4334
|
-
default: {
|
|
4335
|
-
bodyMapper: CSRPError
|
|
4336
|
-
}
|
|
4337
|
-
},
|
|
4338
|
-
serializer: serializer$9
|
|
4339
|
-
};
|
|
4340
|
-
var beginStopOperationSpec = {
|
|
4341
|
-
httpMethod: "POST",
|
|
4342
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VMwareCloudSimple/virtualMachines/{virtualMachineName}/stop",
|
|
4343
|
-
urlParameters: [
|
|
4344
|
-
subscriptionId,
|
|
4345
|
-
resourceGroupName,
|
|
4346
|
-
virtualMachineName0
|
|
4347
|
-
],
|
|
4348
|
-
queryParameters: [
|
|
4349
|
-
mode,
|
|
4350
|
-
apiVersion
|
|
4351
|
-
],
|
|
4352
|
-
headerParameters: [
|
|
4353
|
-
referer,
|
|
4354
|
-
acceptLanguage
|
|
4355
|
-
],
|
|
4356
|
-
requestBody: {
|
|
4357
|
-
parameterPath: {
|
|
4358
|
-
mode: [
|
|
4359
|
-
"options",
|
|
4360
|
-
"mode1"
|
|
4361
|
-
]
|
|
4362
|
-
},
|
|
4363
|
-
mapper: VirtualMachineStopMode
|
|
4364
|
-
},
|
|
4365
|
-
responses: {
|
|
4366
|
-
200: {
|
|
4367
|
-
headersMapper: VirtualMachinesStopHeaders
|
|
4368
|
-
},
|
|
4369
|
-
202: {
|
|
4370
|
-
headersMapper: VirtualMachinesStopHeaders
|
|
4371
|
-
},
|
|
4372
|
-
default: {
|
|
4373
|
-
bodyMapper: CSRPError
|
|
4374
|
-
}
|
|
4375
|
-
},
|
|
4376
|
-
serializer: serializer$9
|
|
4377
|
-
};
|
|
4378
|
-
var listBySubscriptionNextOperationSpec$2 = {
|
|
4379
|
-
httpMethod: "GET",
|
|
4380
|
-
baseUrl: "https://management.azure.com",
|
|
4381
|
-
path: "{nextLink}",
|
|
4382
|
-
urlParameters: [
|
|
4383
|
-
nextPageLink
|
|
4384
|
-
],
|
|
4385
|
-
headerParameters: [
|
|
4386
|
-
acceptLanguage
|
|
4387
|
-
],
|
|
4388
|
-
responses: {
|
|
4389
|
-
200: {
|
|
4390
|
-
bodyMapper: VirtualMachineListResponse
|
|
4391
|
-
},
|
|
4392
|
-
default: {
|
|
4393
|
-
bodyMapper: CSRPError
|
|
4394
|
-
}
|
|
4395
|
-
},
|
|
4396
|
-
serializer: serializer$9
|
|
4397
|
-
};
|
|
4398
|
-
var listByResourceGroupNextOperationSpec$2 = {
|
|
4399
|
-
httpMethod: "GET",
|
|
4400
|
-
baseUrl: "https://management.azure.com",
|
|
4401
|
-
path: "{nextLink}",
|
|
4402
|
-
urlParameters: [
|
|
4403
|
-
nextPageLink
|
|
4404
|
-
],
|
|
4405
|
-
headerParameters: [
|
|
4406
|
-
acceptLanguage
|
|
4407
|
-
],
|
|
4408
|
-
responses: {
|
|
4409
|
-
200: {
|
|
4410
|
-
bodyMapper: VirtualMachineListResponse
|
|
4411
|
-
},
|
|
4412
|
-
default: {
|
|
4413
|
-
bodyMapper: CSRPError
|
|
4414
|
-
}
|
|
4415
|
-
},
|
|
4416
|
-
serializer: serializer$9
|
|
4417
|
-
};
|
|
4418
|
-
|
|
4419
|
-
/*
|
|
4420
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4421
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4422
|
-
* license information.
|
|
4423
|
-
*
|
|
4424
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4425
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
4426
|
-
* regenerated.
|
|
4427
|
-
*/
|
|
4428
|
-
var packageName = "@azure/arm-vmwarecloudsimple";
|
|
4429
|
-
var packageVersion = "1.1.1";
|
|
4430
|
-
var VMwareCloudSimpleClientContext = /** @class */ (function (_super) {
|
|
4431
|
-
__extends(VMwareCloudSimpleClientContext, _super);
|
|
4432
|
-
/**
|
|
4433
|
-
* Initializes a new instance of the VMwareCloudSimpleClient class.
|
|
4434
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
4435
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
4436
|
-
* more information about these credentials, see
|
|
4437
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
4438
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
4439
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
4440
|
-
* @param subscriptionId The subscription ID.
|
|
4441
|
-
* @param referer referer url
|
|
4442
|
-
* @param [options] The parameter options
|
|
4443
|
-
*/
|
|
4444
|
-
function VMwareCloudSimpleClientContext(credentials, subscriptionId, referer, options) {
|
|
4445
|
-
var _this = this;
|
|
4446
|
-
if (credentials == undefined) {
|
|
4447
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
4448
|
-
}
|
|
4449
|
-
if (subscriptionId == undefined) {
|
|
4450
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
4451
|
-
}
|
|
4452
|
-
if (referer == undefined) {
|
|
4453
|
-
throw new Error('\'referer\' cannot be null.');
|
|
4454
|
-
}
|
|
4455
|
-
if (!options) {
|
|
4456
|
-
options = {};
|
|
4457
|
-
}
|
|
4458
|
-
if (!options.userAgent) {
|
|
4459
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
4460
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
4461
|
-
}
|
|
4462
|
-
_this = _super.call(this, credentials, options) || this;
|
|
4463
|
-
_this.apiVersion = '2019-04-01';
|
|
4464
|
-
_this.acceptLanguage = 'en-US';
|
|
4465
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
4466
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
4467
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
4468
|
-
_this.credentials = credentials;
|
|
4469
|
-
_this.subscriptionId = subscriptionId;
|
|
4470
|
-
_this.referer = referer;
|
|
4471
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
4472
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
4473
|
-
}
|
|
4474
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
4475
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
4476
|
-
}
|
|
4477
|
-
return _this;
|
|
4478
|
-
}
|
|
4479
|
-
return VMwareCloudSimpleClientContext;
|
|
4480
|
-
}(msRestAzure.AzureServiceClient));
|
|
4481
|
-
|
|
4482
|
-
/*
|
|
4483
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4484
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4485
|
-
* license information.
|
|
4486
|
-
*
|
|
4487
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4488
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
4489
|
-
* regenerated.
|
|
4490
|
-
*/
|
|
4491
|
-
var VMwareCloudSimpleClient = /** @class */ (function (_super) {
|
|
4492
|
-
__extends(VMwareCloudSimpleClient, _super);
|
|
4493
|
-
/**
|
|
4494
|
-
* Initializes a new instance of the VMwareCloudSimpleClient class.
|
|
4495
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
4496
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
4497
|
-
* more information about these credentials, see
|
|
4498
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
4499
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
4500
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
4501
|
-
* @param subscriptionId The subscription ID.
|
|
4502
|
-
* @param referer referer url
|
|
4503
|
-
* @param [options] The parameter options
|
|
4504
|
-
*/
|
|
4505
|
-
function VMwareCloudSimpleClient(credentials, subscriptionId, referer, options) {
|
|
4506
|
-
var _this = _super.call(this, credentials, subscriptionId, referer, options) || this;
|
|
4507
|
-
_this.operations = new Operations(_this);
|
|
4508
|
-
_this.dedicatedCloudNodes = new DedicatedCloudNodes(_this);
|
|
4509
|
-
_this.dedicatedCloudServices = new DedicatedCloudServices(_this);
|
|
4510
|
-
_this.skusAvailability = new SkusAvailability(_this);
|
|
4511
|
-
_this.privateClouds = new PrivateClouds(_this);
|
|
4512
|
-
_this.resourcePools = new ResourcePools(_this);
|
|
4513
|
-
_this.virtualMachineTemplates = new VirtualMachineTemplates(_this);
|
|
4514
|
-
_this.virtualNetworks = new VirtualNetworks(_this);
|
|
4515
|
-
_this.usages = new Usages(_this);
|
|
4516
|
-
_this.virtualMachines = new VirtualMachines(_this);
|
|
4517
|
-
return _this;
|
|
4518
|
-
}
|
|
4519
|
-
return VMwareCloudSimpleClient;
|
|
4520
|
-
}(VMwareCloudSimpleClientContext));
|
|
4521
|
-
|
|
4522
|
-
exports.DedicatedCloudNodes = DedicatedCloudNodes;
|
|
4523
|
-
exports.DedicatedCloudServices = DedicatedCloudServices;
|
|
4524
|
-
exports.Operations = Operations;
|
|
4525
|
-
exports.PrivateClouds = PrivateClouds;
|
|
4526
|
-
exports.ResourcePools = ResourcePools;
|
|
4527
|
-
exports.SkusAvailability = SkusAvailability;
|
|
4528
|
-
exports.Usages = Usages;
|
|
4529
|
-
exports.VMwareCloudSimpleClient = VMwareCloudSimpleClient;
|
|
4530
|
-
exports.VMwareCloudSimpleClientContext = VMwareCloudSimpleClientContext;
|
|
4531
|
-
exports.VMwareCloudSimpleMappers = mappers;
|
|
4532
|
-
exports.VMwareCloudSimpleModels = index;
|
|
4533
|
-
exports.VirtualMachineTemplates = VirtualMachineTemplates;
|
|
4534
|
-
exports.VirtualMachines = VirtualMachines;
|
|
4535
|
-
exports.VirtualNetworks = VirtualNetworks;
|
|
4536
|
-
|
|
4537
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4538
|
-
|
|
4539
|
-
})));
|
|
4540
|
-
//# sourceMappingURL=arm-vmwarecloudsimple.js.map
|