@azure/arm-resourcemover 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 -83
- package/dist/index.js +3878 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsBulkRemove.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsCommit.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.js +37 -0
- package/dist-esm/samples-dev/moveCollectionsCreate.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.js +31 -0
- package/dist-esm/samples-dev/moveCollectionsDelete.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsDiscard.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsGet.js +31 -0
- package/dist-esm/samples-dev/moveCollectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsInitiateMove.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.js +43 -0
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.js +38 -0
- package/dist-esm/samples-dev/moveCollectionsPrepare.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.js +31 -0
- package/dist-esm/samples-dev/moveCollectionsResolveDependencies.js.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.js +36 -0
- package/dist-esm/samples-dev/moveCollectionsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesCreate.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesCreate.js +54 -0
- package/dist-esm/samples-dev/moveResourcesCreate.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesDelete.js +32 -0
- package/dist-esm/samples-dev/moveResourcesDelete.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesGet.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesGet.js +32 -0
- package/dist-esm/samples-dev/moveResourcesGet.js.map +1 -0
- package/dist-esm/samples-dev/moveResourcesList.d.ts +2 -0
- package/dist-esm/samples-dev/moveResourcesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/moveResourcesList.js +45 -0
- package/dist-esm/samples-dev/moveResourcesList.js.map +1 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.d.ts +2 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.js +29 -0
- package/dist-esm/samples-dev/operationsDiscoveryGet.js.map +1 -0
- package/dist-esm/samples-dev/requiredForGet.d.ts +2 -0
- package/dist-esm/samples-dev/requiredForGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/requiredForGet.js +32 -0
- package/dist-esm/samples-dev/requiredForGet.js.map +1 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.d.ts +2 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.js +45 -0
- package/dist-esm/samples-dev/unresolvedDependenciesGet.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/unresolvedDependenciesMappers.js → dist-esm/src/index.js} +5 -2
- 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 +1273 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +93 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +88 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1091 -983
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +23 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +173 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/moveCollections.d.ts +211 -0
- package/dist-esm/src/operations/moveCollections.d.ts.map +1 -0
- package/dist-esm/src/operations/moveCollections.js +961 -0
- package/dist-esm/src/operations/moveCollections.js.map +1 -0
- package/dist-esm/src/operations/moveResources.d.ts +79 -0
- package/dist-esm/src/operations/moveResources.d.ts.map +1 -0
- package/dist-esm/src/operations/moveResources.js +339 -0
- package/dist-esm/src/operations/moveResources.js.map +1 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts +15 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.js +43 -0
- package/dist-esm/src/operations/operationsDiscoveryOperations.js.map +1 -0
- package/dist-esm/src/operations/unresolvedDependencies.d.ts +38 -0
- package/dist-esm/src/operations/unresolvedDependencies.d.ts.map +1 -0
- package/dist-esm/src/operations/unresolvedDependencies.js +147 -0
- package/dist-esm/src/operations/unresolvedDependencies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/moveCollections.d.ts +173 -0
- package/dist-esm/src/operationsInterfaces/moveCollections.d.ts.map +1 -0
- package/{src/models/operationsDiscoveryOperationsMappers.ts → dist-esm/src/operationsInterfaces/moveCollections.js} +2 -8
- package/dist-esm/src/operationsInterfaces/moveCollections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/moveResources.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/moveResources.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/moveResources.js} +2 -1
- package/dist-esm/src/operationsInterfaces/moveResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
- package/{esm/models/operationsDiscoveryOperationsMappers.js → dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js +9 -0
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js.map +1 -0
- package/dist-esm/src/resourceMoverServiceAPI.d.ts +21 -0
- package/dist-esm/src/resourceMoverServiceAPI.d.ts.map +1 -0
- package/dist-esm/src/resourceMoverServiceAPI.js +54 -0
- package/dist-esm/src/resourceMoverServiceAPI.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 +77 -33
- package/review/arm-resourcemover.api.md +946 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1043 -1764
- package/src/models/mappers.ts +1096 -976
- package/src/models/parameters.ts +128 -48
- package/src/operations/index.ts +1 -2
- package/src/operations/moveCollections.ts +1014 -621
- package/src/operations/moveResources.ts +357 -203
- package/src/operations/operationsDiscoveryOperations.ts +28 -43
- package/src/operations/unresolvedDependencies.ts +142 -87
- package/src/{models/unresolvedDependenciesMappers.ts → operationsInterfaces/index.ts} +4 -8
- package/src/operationsInterfaces/moveCollections.ts +321 -0
- package/src/operationsInterfaces/moveResources.ts +111 -0
- package/src/operationsInterfaces/operationsDiscoveryOperations.ts +20 -0
- package/src/operationsInterfaces/unresolvedDependencies.ts +29 -0
- package/src/resourceMoverServiceAPI.ts +78 -38
- package/tsconfig.json +5 -4
- package/types/arm-resourcemover.d.ts +1673 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-resourcemover.js +0 -3490
- package/dist/arm-resourcemover.js.map +0 -1
- package/dist/arm-resourcemover.min.js +0 -1
- package/dist/arm-resourcemover.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -1997
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -87
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/moveCollectionsMappers.d.ts +0 -2
- package/esm/models/moveCollectionsMappers.d.ts.map +0 -1
- package/esm/models/moveCollectionsMappers.js +0 -9
- package/esm/models/moveCollectionsMappers.js.map +0 -1
- package/esm/models/moveResourcesMappers.d.ts +0 -2
- package/esm/models/moveResourcesMappers.d.ts.map +0 -1
- package/esm/models/moveResourcesMappers.js +0 -9
- package/esm/models/moveResourcesMappers.js.map +0 -1
- package/esm/models/operationsDiscoveryOperationsMappers.d.ts +0 -2
- package/esm/models/operationsDiscoveryOperationsMappers.d.ts.map +0 -1
- package/esm/models/operationsDiscoveryOperationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -13
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -126
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/unresolvedDependenciesMappers.d.ts +0 -2
- package/esm/models/unresolvedDependenciesMappers.d.ts.map +0 -1
- package/esm/models/unresolvedDependenciesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/moveCollections.d.ts +0 -316
- package/esm/operations/moveCollections.d.ts.map +0 -1
- package/esm/operations/moveCollections.js +0 -699
- package/esm/operations/moveCollections.js.map +0 -1
- package/esm/operations/moveResources.d.ts +0 -113
- package/esm/operations/moveResources.d.ts.map +0 -1
- package/esm/operations/moveResources.js +0 -239
- package/esm/operations/moveResources.js.map +0 -1
- package/esm/operations/operationsDiscoveryOperations.d.ts +0 -27
- package/esm/operations/operationsDiscoveryOperations.d.ts.map +0 -1
- package/esm/operations/operationsDiscoveryOperations.js +0 -50
- package/esm/operations/operationsDiscoveryOperations.js.map +0 -1
- package/esm/operations/unresolvedDependencies.d.ts +0 -52
- package/esm/operations/unresolvedDependencies.d.ts.map +0 -1
- package/esm/operations/unresolvedDependencies.js +0 -92
- package/esm/operations/unresolvedDependencies.js.map +0 -1
- package/esm/resourceMoverServiceAPI.d.ts +0 -27
- package/esm/resourceMoverServiceAPI.d.ts.map +0 -1
- package/esm/resourceMoverServiceAPI.js +0 -40
- package/esm/resourceMoverServiceAPI.js.map +0 -1
- package/esm/resourceMoverServiceAPIContext.d.ts +0 -22
- package/esm/resourceMoverServiceAPIContext.d.ts.map +0 -1
- package/esm/resourceMoverServiceAPIContext.js +0 -60
- package/esm/resourceMoverServiceAPIContext.js.map +0 -1
- package/src/models/moveCollectionsMappers.ts +0 -68
- package/src/models/moveResourcesMappers.ts +0 -63
- package/src/resourceMoverServiceAPIContext.ts +0 -67
|
@@ -1,3490 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
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.ArmResourcemover = {}), 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.
|
|
56
|
-
* Licensed under the MIT License.
|
|
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.
|
|
68
|
-
* Licensed under the MIT License.
|
|
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 Identity = {
|
|
76
|
-
serializedName: "Identity",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "Identity",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
type: {
|
|
82
|
-
serializedName: "type",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
principalId: {
|
|
88
|
-
serializedName: "principalId",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
tenantId: {
|
|
94
|
-
serializedName: "tenantId",
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
var JobStatus = {
|
|
103
|
-
serializedName: "JobStatus",
|
|
104
|
-
type: {
|
|
105
|
-
name: "Composite",
|
|
106
|
-
className: "JobStatus",
|
|
107
|
-
modelProperties: {
|
|
108
|
-
jobName: {
|
|
109
|
-
serializedName: "jobName",
|
|
110
|
-
type: {
|
|
111
|
-
name: "String"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
jobProgress: {
|
|
115
|
-
readOnly: true,
|
|
116
|
-
serializedName: "jobProgress",
|
|
117
|
-
type: {
|
|
118
|
-
name: "String"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
var MoveResourceErrorBody = {
|
|
125
|
-
serializedName: "MoveResourceErrorBody",
|
|
126
|
-
type: {
|
|
127
|
-
name: "Composite",
|
|
128
|
-
className: "MoveResourceErrorBody",
|
|
129
|
-
modelProperties: {
|
|
130
|
-
code: {
|
|
131
|
-
readOnly: true,
|
|
132
|
-
serializedName: "code",
|
|
133
|
-
type: {
|
|
134
|
-
name: "String"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
message: {
|
|
138
|
-
readOnly: true,
|
|
139
|
-
serializedName: "message",
|
|
140
|
-
type: {
|
|
141
|
-
name: "String"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
target: {
|
|
145
|
-
readOnly: true,
|
|
146
|
-
serializedName: "target",
|
|
147
|
-
type: {
|
|
148
|
-
name: "String"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
details: {
|
|
152
|
-
readOnly: true,
|
|
153
|
-
serializedName: "details",
|
|
154
|
-
type: {
|
|
155
|
-
name: "Sequence",
|
|
156
|
-
element: {
|
|
157
|
-
type: {
|
|
158
|
-
name: "Composite",
|
|
159
|
-
className: "MoveResourceErrorBody"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
};
|
|
167
|
-
var MoveResourceError = {
|
|
168
|
-
serializedName: "MoveResourceError",
|
|
169
|
-
type: {
|
|
170
|
-
name: "Composite",
|
|
171
|
-
className: "MoveResourceError",
|
|
172
|
-
modelProperties: {
|
|
173
|
-
properties: {
|
|
174
|
-
serializedName: "properties",
|
|
175
|
-
type: {
|
|
176
|
-
name: "Composite",
|
|
177
|
-
className: "MoveResourceErrorBody"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
var MoveResourceStatus = {
|
|
184
|
-
serializedName: "MoveResourceStatus",
|
|
185
|
-
type: {
|
|
186
|
-
name: "Composite",
|
|
187
|
-
className: "MoveResourceStatus",
|
|
188
|
-
modelProperties: {
|
|
189
|
-
moveState: {
|
|
190
|
-
serializedName: "moveState",
|
|
191
|
-
type: {
|
|
192
|
-
name: "String"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
jobStatus: {
|
|
196
|
-
serializedName: "jobStatus",
|
|
197
|
-
type: {
|
|
198
|
-
name: "Composite",
|
|
199
|
-
className: "JobStatus"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
errors: {
|
|
203
|
-
serializedName: "errors",
|
|
204
|
-
type: {
|
|
205
|
-
name: "Composite",
|
|
206
|
-
className: "MoveResourceError"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
var ManualResolutionProperties = {
|
|
213
|
-
serializedName: "ManualResolutionProperties",
|
|
214
|
-
type: {
|
|
215
|
-
name: "Composite",
|
|
216
|
-
className: "ManualResolutionProperties",
|
|
217
|
-
modelProperties: {
|
|
218
|
-
targetId: {
|
|
219
|
-
serializedName: "targetId",
|
|
220
|
-
type: {
|
|
221
|
-
name: "String"
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
var AutomaticResolutionProperties = {
|
|
228
|
-
serializedName: "AutomaticResolutionProperties",
|
|
229
|
-
type: {
|
|
230
|
-
name: "Composite",
|
|
231
|
-
className: "AutomaticResolutionProperties",
|
|
232
|
-
modelProperties: {
|
|
233
|
-
moveResourceId: {
|
|
234
|
-
serializedName: "moveResourceId",
|
|
235
|
-
type: {
|
|
236
|
-
name: "String"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
var MoveResourceDependency = {
|
|
243
|
-
serializedName: "MoveResourceDependency",
|
|
244
|
-
type: {
|
|
245
|
-
name: "Composite",
|
|
246
|
-
className: "MoveResourceDependency",
|
|
247
|
-
modelProperties: {
|
|
248
|
-
id: {
|
|
249
|
-
serializedName: "id",
|
|
250
|
-
type: {
|
|
251
|
-
name: "String"
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
resolutionStatus: {
|
|
255
|
-
serializedName: "resolutionStatus",
|
|
256
|
-
type: {
|
|
257
|
-
name: "String"
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
resolutionType: {
|
|
261
|
-
serializedName: "resolutionType",
|
|
262
|
-
type: {
|
|
263
|
-
name: "String"
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
dependencyType: {
|
|
267
|
-
serializedName: "dependencyType",
|
|
268
|
-
type: {
|
|
269
|
-
name: "String"
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
manualResolution: {
|
|
273
|
-
serializedName: "manualResolution",
|
|
274
|
-
type: {
|
|
275
|
-
name: "Composite",
|
|
276
|
-
className: "ManualResolutionProperties"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
automaticResolution: {
|
|
280
|
-
serializedName: "automaticResolution",
|
|
281
|
-
type: {
|
|
282
|
-
name: "Composite",
|
|
283
|
-
className: "AutomaticResolutionProperties"
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
isOptional: {
|
|
287
|
-
serializedName: "isOptional",
|
|
288
|
-
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
};
|
|
295
|
-
var MoveResourceDependencyOverride = {
|
|
296
|
-
serializedName: "MoveResourceDependencyOverride",
|
|
297
|
-
type: {
|
|
298
|
-
name: "Composite",
|
|
299
|
-
className: "MoveResourceDependencyOverride",
|
|
300
|
-
modelProperties: {
|
|
301
|
-
id: {
|
|
302
|
-
serializedName: "id",
|
|
303
|
-
type: {
|
|
304
|
-
name: "String"
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
targetId: {
|
|
308
|
-
serializedName: "targetId",
|
|
309
|
-
type: {
|
|
310
|
-
name: "String"
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
var ResourceSettings = {
|
|
317
|
-
serializedName: "ResourceSettings",
|
|
318
|
-
type: {
|
|
319
|
-
name: "Composite",
|
|
320
|
-
polymorphicDiscriminator: {
|
|
321
|
-
serializedName: "resourceType",
|
|
322
|
-
clientName: "resourceType"
|
|
323
|
-
},
|
|
324
|
-
uberParent: "ResourceSettings",
|
|
325
|
-
className: "ResourceSettings",
|
|
326
|
-
modelProperties: {
|
|
327
|
-
targetResourceName: {
|
|
328
|
-
required: true,
|
|
329
|
-
serializedName: "targetResourceName",
|
|
330
|
-
type: {
|
|
331
|
-
name: "String"
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
resourceType: {
|
|
335
|
-
required: true,
|
|
336
|
-
serializedName: "resourceType",
|
|
337
|
-
type: {
|
|
338
|
-
name: "String"
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
};
|
|
344
|
-
var MoveResourcePropertiesMoveStatus = {
|
|
345
|
-
serializedName: "MoveResourceProperties_moveStatus",
|
|
346
|
-
type: {
|
|
347
|
-
name: "Composite",
|
|
348
|
-
className: "MoveResourcePropertiesMoveStatus",
|
|
349
|
-
modelProperties: __assign({}, MoveResourceStatus.type.modelProperties)
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
var MoveResourcePropertiesErrors = {
|
|
353
|
-
serializedName: "MoveResourceProperties_errors",
|
|
354
|
-
type: {
|
|
355
|
-
name: "Composite",
|
|
356
|
-
className: "MoveResourcePropertiesErrors",
|
|
357
|
-
modelProperties: __assign({}, MoveResourceError.type.modelProperties)
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
var MoveResourceProperties = {
|
|
361
|
-
serializedName: "MoveResourceProperties",
|
|
362
|
-
type: {
|
|
363
|
-
name: "Composite",
|
|
364
|
-
className: "MoveResourceProperties",
|
|
365
|
-
modelProperties: {
|
|
366
|
-
provisioningState: {
|
|
367
|
-
serializedName: "provisioningState",
|
|
368
|
-
type: {
|
|
369
|
-
name: "String"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
sourceId: {
|
|
373
|
-
required: true,
|
|
374
|
-
serializedName: "sourceId",
|
|
375
|
-
type: {
|
|
376
|
-
name: "String"
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
targetId: {
|
|
380
|
-
readOnly: true,
|
|
381
|
-
serializedName: "targetId",
|
|
382
|
-
type: {
|
|
383
|
-
name: "String"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
existingTargetId: {
|
|
387
|
-
serializedName: "existingTargetId",
|
|
388
|
-
type: {
|
|
389
|
-
name: "String"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
resourceSettings: {
|
|
393
|
-
serializedName: "resourceSettings",
|
|
394
|
-
type: {
|
|
395
|
-
name: "Composite",
|
|
396
|
-
className: "ResourceSettings"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
sourceResourceSettings: {
|
|
400
|
-
readOnly: true,
|
|
401
|
-
serializedName: "sourceResourceSettings",
|
|
402
|
-
type: {
|
|
403
|
-
name: "Composite",
|
|
404
|
-
className: "ResourceSettings"
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
moveStatus: {
|
|
408
|
-
readOnly: true,
|
|
409
|
-
serializedName: "moveStatus",
|
|
410
|
-
type: {
|
|
411
|
-
name: "Composite",
|
|
412
|
-
className: "MoveResourcePropertiesMoveStatus"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
dependsOn: {
|
|
416
|
-
readOnly: true,
|
|
417
|
-
serializedName: "dependsOn",
|
|
418
|
-
type: {
|
|
419
|
-
name: "Sequence",
|
|
420
|
-
element: {
|
|
421
|
-
type: {
|
|
422
|
-
name: "Composite",
|
|
423
|
-
className: "MoveResourceDependency"
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
dependsOnOverrides: {
|
|
429
|
-
serializedName: "dependsOnOverrides",
|
|
430
|
-
type: {
|
|
431
|
-
name: "Sequence",
|
|
432
|
-
element: {
|
|
433
|
-
type: {
|
|
434
|
-
name: "Composite",
|
|
435
|
-
className: "MoveResourceDependencyOverride"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
isResolveRequired: {
|
|
441
|
-
readOnly: true,
|
|
442
|
-
serializedName: "isResolveRequired",
|
|
443
|
-
type: {
|
|
444
|
-
name: "Boolean"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
errors: {
|
|
448
|
-
readOnly: true,
|
|
449
|
-
serializedName: "errors",
|
|
450
|
-
type: {
|
|
451
|
-
name: "Composite",
|
|
452
|
-
className: "MoveResourcePropertiesErrors"
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
};
|
|
458
|
-
var MoveResource = {
|
|
459
|
-
serializedName: "MoveResource",
|
|
460
|
-
type: {
|
|
461
|
-
name: "Composite",
|
|
462
|
-
className: "MoveResource",
|
|
463
|
-
modelProperties: {
|
|
464
|
-
id: {
|
|
465
|
-
readOnly: true,
|
|
466
|
-
serializedName: "id",
|
|
467
|
-
type: {
|
|
468
|
-
name: "String"
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
|
-
name: {
|
|
472
|
-
readOnly: true,
|
|
473
|
-
serializedName: "name",
|
|
474
|
-
type: {
|
|
475
|
-
name: "String"
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
type: {
|
|
479
|
-
readOnly: true,
|
|
480
|
-
serializedName: "type",
|
|
481
|
-
type: {
|
|
482
|
-
name: "String"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
properties: {
|
|
486
|
-
serializedName: "properties",
|
|
487
|
-
type: {
|
|
488
|
-
name: "Composite",
|
|
489
|
-
className: "MoveResourceProperties"
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
};
|
|
495
|
-
var Summary = {
|
|
496
|
-
serializedName: "Summary",
|
|
497
|
-
type: {
|
|
498
|
-
name: "Composite",
|
|
499
|
-
className: "Summary",
|
|
500
|
-
modelProperties: {
|
|
501
|
-
count: {
|
|
502
|
-
serializedName: "count",
|
|
503
|
-
type: {
|
|
504
|
-
name: "Number"
|
|
505
|
-
}
|
|
506
|
-
},
|
|
507
|
-
item: {
|
|
508
|
-
serializedName: "item",
|
|
509
|
-
type: {
|
|
510
|
-
name: "String"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
};
|
|
516
|
-
var SummaryCollection = {
|
|
517
|
-
serializedName: "SummaryCollection",
|
|
518
|
-
type: {
|
|
519
|
-
name: "Composite",
|
|
520
|
-
className: "SummaryCollection",
|
|
521
|
-
modelProperties: {
|
|
522
|
-
fieldName: {
|
|
523
|
-
serializedName: "fieldName",
|
|
524
|
-
type: {
|
|
525
|
-
name: "String"
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
summary: {
|
|
529
|
-
serializedName: "summary",
|
|
530
|
-
type: {
|
|
531
|
-
name: "Sequence",
|
|
532
|
-
element: {
|
|
533
|
-
type: {
|
|
534
|
-
name: "Composite",
|
|
535
|
-
className: "Summary"
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
};
|
|
543
|
-
var MoveCollectionPropertiesErrors = {
|
|
544
|
-
serializedName: "MoveCollectionProperties_errors",
|
|
545
|
-
type: {
|
|
546
|
-
name: "Composite",
|
|
547
|
-
className: "MoveCollectionPropertiesErrors",
|
|
548
|
-
modelProperties: __assign({}, MoveResourceError.type.modelProperties)
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
var MoveCollectionProperties = {
|
|
552
|
-
serializedName: "MoveCollectionProperties",
|
|
553
|
-
type: {
|
|
554
|
-
name: "Composite",
|
|
555
|
-
className: "MoveCollectionProperties",
|
|
556
|
-
modelProperties: {
|
|
557
|
-
sourceRegion: {
|
|
558
|
-
required: true,
|
|
559
|
-
serializedName: "sourceRegion",
|
|
560
|
-
type: {
|
|
561
|
-
name: "String"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
targetRegion: {
|
|
565
|
-
required: true,
|
|
566
|
-
serializedName: "targetRegion",
|
|
567
|
-
type: {
|
|
568
|
-
name: "String"
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
provisioningState: {
|
|
572
|
-
serializedName: "provisioningState",
|
|
573
|
-
type: {
|
|
574
|
-
name: "String"
|
|
575
|
-
}
|
|
576
|
-
},
|
|
577
|
-
errors: {
|
|
578
|
-
readOnly: true,
|
|
579
|
-
serializedName: "errors",
|
|
580
|
-
type: {
|
|
581
|
-
name: "Composite",
|
|
582
|
-
className: "MoveCollectionPropertiesErrors"
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
};
|
|
588
|
-
var MoveCollection = {
|
|
589
|
-
serializedName: "MoveCollection",
|
|
590
|
-
type: {
|
|
591
|
-
name: "Composite",
|
|
592
|
-
className: "MoveCollection",
|
|
593
|
-
modelProperties: {
|
|
594
|
-
id: {
|
|
595
|
-
readOnly: true,
|
|
596
|
-
serializedName: "id",
|
|
597
|
-
type: {
|
|
598
|
-
name: "String"
|
|
599
|
-
}
|
|
600
|
-
},
|
|
601
|
-
name: {
|
|
602
|
-
readOnly: true,
|
|
603
|
-
serializedName: "name",
|
|
604
|
-
type: {
|
|
605
|
-
name: "String"
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
type: {
|
|
609
|
-
readOnly: true,
|
|
610
|
-
serializedName: "type",
|
|
611
|
-
type: {
|
|
612
|
-
name: "String"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
etag: {
|
|
616
|
-
readOnly: true,
|
|
617
|
-
serializedName: "etag",
|
|
618
|
-
type: {
|
|
619
|
-
name: "String"
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
tags: {
|
|
623
|
-
serializedName: "tags",
|
|
624
|
-
type: {
|
|
625
|
-
name: "Dictionary",
|
|
626
|
-
value: {
|
|
627
|
-
type: {
|
|
628
|
-
name: "String"
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
location: {
|
|
634
|
-
serializedName: "location",
|
|
635
|
-
type: {
|
|
636
|
-
name: "String"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
identity: {
|
|
640
|
-
serializedName: "identity",
|
|
641
|
-
type: {
|
|
642
|
-
name: "Composite",
|
|
643
|
-
className: "Identity"
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
|
-
properties: {
|
|
647
|
-
serializedName: "properties",
|
|
648
|
-
type: {
|
|
649
|
-
name: "Composite",
|
|
650
|
-
className: "MoveCollectionProperties"
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
};
|
|
656
|
-
var UpdateMoveCollectionRequest = {
|
|
657
|
-
serializedName: "UpdateMoveCollectionRequest",
|
|
658
|
-
type: {
|
|
659
|
-
name: "Composite",
|
|
660
|
-
className: "UpdateMoveCollectionRequest",
|
|
661
|
-
modelProperties: {
|
|
662
|
-
tags: {
|
|
663
|
-
serializedName: "tags",
|
|
664
|
-
type: {
|
|
665
|
-
name: "Dictionary",
|
|
666
|
-
value: {
|
|
667
|
-
type: {
|
|
668
|
-
name: "String"
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
identity: {
|
|
674
|
-
serializedName: "identity",
|
|
675
|
-
type: {
|
|
676
|
-
name: "Composite",
|
|
677
|
-
className: "Identity"
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
};
|
|
683
|
-
var PrepareRequest = {
|
|
684
|
-
serializedName: "PrepareRequest",
|
|
685
|
-
type: {
|
|
686
|
-
name: "Composite",
|
|
687
|
-
className: "PrepareRequest",
|
|
688
|
-
modelProperties: {
|
|
689
|
-
validateOnly: {
|
|
690
|
-
serializedName: "validateOnly",
|
|
691
|
-
type: {
|
|
692
|
-
name: "Boolean"
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
moveResources: {
|
|
696
|
-
required: true,
|
|
697
|
-
serializedName: "moveResources",
|
|
698
|
-
type: {
|
|
699
|
-
name: "Sequence",
|
|
700
|
-
element: {
|
|
701
|
-
type: {
|
|
702
|
-
name: "String"
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
|
-
moveResourceInputType: {
|
|
708
|
-
serializedName: "moveResourceInputType",
|
|
709
|
-
type: {
|
|
710
|
-
name: "String"
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
};
|
|
716
|
-
var ResourceMoveRequest = {
|
|
717
|
-
serializedName: "ResourceMoveRequest",
|
|
718
|
-
type: {
|
|
719
|
-
name: "Composite",
|
|
720
|
-
className: "ResourceMoveRequest",
|
|
721
|
-
modelProperties: {
|
|
722
|
-
validateOnly: {
|
|
723
|
-
serializedName: "validateOnly",
|
|
724
|
-
type: {
|
|
725
|
-
name: "Boolean"
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
moveResources: {
|
|
729
|
-
required: true,
|
|
730
|
-
serializedName: "moveResources",
|
|
731
|
-
type: {
|
|
732
|
-
name: "Sequence",
|
|
733
|
-
element: {
|
|
734
|
-
type: {
|
|
735
|
-
name: "String"
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
moveResourceInputType: {
|
|
741
|
-
serializedName: "moveResourceInputType",
|
|
742
|
-
type: {
|
|
743
|
-
name: "String"
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
};
|
|
749
|
-
var CommitRequest = {
|
|
750
|
-
serializedName: "CommitRequest",
|
|
751
|
-
type: {
|
|
752
|
-
name: "Composite",
|
|
753
|
-
className: "CommitRequest",
|
|
754
|
-
modelProperties: {
|
|
755
|
-
validateOnly: {
|
|
756
|
-
serializedName: "validateOnly",
|
|
757
|
-
type: {
|
|
758
|
-
name: "Boolean"
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
moveResources: {
|
|
762
|
-
required: true,
|
|
763
|
-
serializedName: "moveResources",
|
|
764
|
-
type: {
|
|
765
|
-
name: "Sequence",
|
|
766
|
-
element: {
|
|
767
|
-
type: {
|
|
768
|
-
name: "String"
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
moveResourceInputType: {
|
|
774
|
-
serializedName: "moveResourceInputType",
|
|
775
|
-
type: {
|
|
776
|
-
name: "String"
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
};
|
|
782
|
-
var DiscardRequest = {
|
|
783
|
-
serializedName: "DiscardRequest",
|
|
784
|
-
type: {
|
|
785
|
-
name: "Composite",
|
|
786
|
-
className: "DiscardRequest",
|
|
787
|
-
modelProperties: {
|
|
788
|
-
validateOnly: {
|
|
789
|
-
serializedName: "validateOnly",
|
|
790
|
-
type: {
|
|
791
|
-
name: "Boolean"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
moveResources: {
|
|
795
|
-
required: true,
|
|
796
|
-
serializedName: "moveResources",
|
|
797
|
-
type: {
|
|
798
|
-
name: "Sequence",
|
|
799
|
-
element: {
|
|
800
|
-
type: {
|
|
801
|
-
name: "String"
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
moveResourceInputType: {
|
|
807
|
-
serializedName: "moveResourceInputType",
|
|
808
|
-
type: {
|
|
809
|
-
name: "String"
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
};
|
|
815
|
-
var BulkRemoveRequest = {
|
|
816
|
-
serializedName: "BulkRemoveRequest",
|
|
817
|
-
type: {
|
|
818
|
-
name: "Composite",
|
|
819
|
-
className: "BulkRemoveRequest",
|
|
820
|
-
modelProperties: {
|
|
821
|
-
validateOnly: {
|
|
822
|
-
serializedName: "validateOnly",
|
|
823
|
-
type: {
|
|
824
|
-
name: "Boolean"
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
|
-
moveResources: {
|
|
828
|
-
serializedName: "moveResources",
|
|
829
|
-
type: {
|
|
830
|
-
name: "Sequence",
|
|
831
|
-
element: {
|
|
832
|
-
type: {
|
|
833
|
-
name: "String"
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
moveResourceInputType: {
|
|
839
|
-
serializedName: "moveResourceInputType",
|
|
840
|
-
type: {
|
|
841
|
-
name: "String"
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
};
|
|
847
|
-
var MoveResourceFilterProperties = {
|
|
848
|
-
serializedName: "MoveResourceFilterProperties",
|
|
849
|
-
type: {
|
|
850
|
-
name: "Composite",
|
|
851
|
-
className: "MoveResourceFilterProperties",
|
|
852
|
-
modelProperties: {
|
|
853
|
-
provisioningState: {
|
|
854
|
-
serializedName: "provisioningState",
|
|
855
|
-
type: {
|
|
856
|
-
name: "String"
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
};
|
|
862
|
-
var MoveResourceFilter = {
|
|
863
|
-
serializedName: "MoveResourceFilter",
|
|
864
|
-
type: {
|
|
865
|
-
name: "Composite",
|
|
866
|
-
className: "MoveResourceFilter",
|
|
867
|
-
modelProperties: {
|
|
868
|
-
properties: {
|
|
869
|
-
serializedName: "properties",
|
|
870
|
-
type: {
|
|
871
|
-
name: "Composite",
|
|
872
|
-
className: "MoveResourceFilterProperties"
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
};
|
|
878
|
-
var UnresolvedDependenciesFilterProperties = {
|
|
879
|
-
serializedName: "UnresolvedDependenciesFilterProperties",
|
|
880
|
-
type: {
|
|
881
|
-
name: "Composite",
|
|
882
|
-
className: "UnresolvedDependenciesFilterProperties",
|
|
883
|
-
modelProperties: {
|
|
884
|
-
count: {
|
|
885
|
-
serializedName: "count",
|
|
886
|
-
type: {
|
|
887
|
-
name: "Number"
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
};
|
|
893
|
-
var UnresolvedDependenciesFilter = {
|
|
894
|
-
serializedName: "UnresolvedDependenciesFilter",
|
|
895
|
-
type: {
|
|
896
|
-
name: "Composite",
|
|
897
|
-
className: "UnresolvedDependenciesFilter",
|
|
898
|
-
modelProperties: {
|
|
899
|
-
properties: {
|
|
900
|
-
serializedName: "properties",
|
|
901
|
-
type: {
|
|
902
|
-
name: "Composite",
|
|
903
|
-
className: "UnresolvedDependenciesFilterProperties"
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
};
|
|
909
|
-
var UnresolvedDependency = {
|
|
910
|
-
serializedName: "UnresolvedDependency",
|
|
911
|
-
type: {
|
|
912
|
-
name: "Composite",
|
|
913
|
-
className: "UnresolvedDependency",
|
|
914
|
-
modelProperties: {
|
|
915
|
-
count: {
|
|
916
|
-
serializedName: "count",
|
|
917
|
-
type: {
|
|
918
|
-
name: "Number"
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
id: {
|
|
922
|
-
serializedName: "id",
|
|
923
|
-
type: {
|
|
924
|
-
name: "String"
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
};
|
|
930
|
-
var RequiredForResourcesCollection = {
|
|
931
|
-
serializedName: "RequiredForResourcesCollection",
|
|
932
|
-
type: {
|
|
933
|
-
name: "Composite",
|
|
934
|
-
className: "RequiredForResourcesCollection",
|
|
935
|
-
modelProperties: {
|
|
936
|
-
sourceIds: {
|
|
937
|
-
serializedName: "sourceIds",
|
|
938
|
-
type: {
|
|
939
|
-
name: "Sequence",
|
|
940
|
-
element: {
|
|
941
|
-
type: {
|
|
942
|
-
name: "String"
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
};
|
|
950
|
-
var Display = {
|
|
951
|
-
serializedName: "Display",
|
|
952
|
-
type: {
|
|
953
|
-
name: "Composite",
|
|
954
|
-
className: "Display",
|
|
955
|
-
modelProperties: {
|
|
956
|
-
provider: {
|
|
957
|
-
serializedName: "provider",
|
|
958
|
-
type: {
|
|
959
|
-
name: "String"
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
resource: {
|
|
963
|
-
serializedName: "resource",
|
|
964
|
-
type: {
|
|
965
|
-
name: "String"
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
|
-
operation: {
|
|
969
|
-
serializedName: "operation",
|
|
970
|
-
type: {
|
|
971
|
-
name: "String"
|
|
972
|
-
}
|
|
973
|
-
},
|
|
974
|
-
description: {
|
|
975
|
-
serializedName: "description",
|
|
976
|
-
type: {
|
|
977
|
-
name: "String"
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
};
|
|
983
|
-
var OperationsDiscovery = {
|
|
984
|
-
serializedName: "OperationsDiscovery",
|
|
985
|
-
type: {
|
|
986
|
-
name: "Composite",
|
|
987
|
-
className: "OperationsDiscovery",
|
|
988
|
-
modelProperties: {
|
|
989
|
-
name: {
|
|
990
|
-
serializedName: "name",
|
|
991
|
-
type: {
|
|
992
|
-
name: "String"
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
isDataAction: {
|
|
996
|
-
serializedName: "isDataAction",
|
|
997
|
-
type: {
|
|
998
|
-
name: "Boolean"
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
display: {
|
|
1002
|
-
serializedName: "display",
|
|
1003
|
-
type: {
|
|
1004
|
-
name: "Composite",
|
|
1005
|
-
className: "Display"
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
origin: {
|
|
1009
|
-
serializedName: "origin",
|
|
1010
|
-
type: {
|
|
1011
|
-
name: "String"
|
|
1012
|
-
}
|
|
1013
|
-
},
|
|
1014
|
-
properties: {
|
|
1015
|
-
serializedName: "properties",
|
|
1016
|
-
type: {
|
|
1017
|
-
name: "Object"
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
};
|
|
1023
|
-
var OperationsDiscoveryCollection = {
|
|
1024
|
-
serializedName: "OperationsDiscoveryCollection",
|
|
1025
|
-
type: {
|
|
1026
|
-
name: "Composite",
|
|
1027
|
-
className: "OperationsDiscoveryCollection",
|
|
1028
|
-
modelProperties: {
|
|
1029
|
-
value: {
|
|
1030
|
-
serializedName: "value",
|
|
1031
|
-
type: {
|
|
1032
|
-
name: "Sequence",
|
|
1033
|
-
element: {
|
|
1034
|
-
type: {
|
|
1035
|
-
name: "Composite",
|
|
1036
|
-
className: "OperationsDiscovery"
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
nextLink: {
|
|
1042
|
-
serializedName: "nextLink",
|
|
1043
|
-
type: {
|
|
1044
|
-
name: "String"
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
};
|
|
1050
|
-
var VirtualMachineResourceSettings = {
|
|
1051
|
-
serializedName: "Microsoft.Compute/virtualMachines",
|
|
1052
|
-
type: {
|
|
1053
|
-
name: "Composite",
|
|
1054
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1055
|
-
uberParent: "ResourceSettings",
|
|
1056
|
-
className: "VirtualMachineResourceSettings",
|
|
1057
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { targetAvailabilityZone: {
|
|
1058
|
-
serializedName: "targetAvailabilityZone",
|
|
1059
|
-
type: {
|
|
1060
|
-
name: "String"
|
|
1061
|
-
}
|
|
1062
|
-
}, targetVmSize: {
|
|
1063
|
-
serializedName: "targetVmSize",
|
|
1064
|
-
type: {
|
|
1065
|
-
name: "String"
|
|
1066
|
-
}
|
|
1067
|
-
}, targetAvailabilitySetId: {
|
|
1068
|
-
serializedName: "targetAvailabilitySetId",
|
|
1069
|
-
type: {
|
|
1070
|
-
name: "String"
|
|
1071
|
-
}
|
|
1072
|
-
} })
|
|
1073
|
-
}
|
|
1074
|
-
};
|
|
1075
|
-
var AvailabilitySetResourceSettings = {
|
|
1076
|
-
serializedName: "Microsoft.Compute/availabilitySets",
|
|
1077
|
-
type: {
|
|
1078
|
-
name: "Composite",
|
|
1079
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1080
|
-
uberParent: "ResourceSettings",
|
|
1081
|
-
className: "AvailabilitySetResourceSettings",
|
|
1082
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { faultDomain: {
|
|
1083
|
-
nullable: true,
|
|
1084
|
-
serializedName: "faultDomain",
|
|
1085
|
-
constraints: {
|
|
1086
|
-
InclusiveMinimum: 1
|
|
1087
|
-
},
|
|
1088
|
-
type: {
|
|
1089
|
-
name: "Number"
|
|
1090
|
-
}
|
|
1091
|
-
}, updateDomain: {
|
|
1092
|
-
nullable: true,
|
|
1093
|
-
serializedName: "updateDomain",
|
|
1094
|
-
constraints: {
|
|
1095
|
-
InclusiveMaximum: 20,
|
|
1096
|
-
InclusiveMinimum: 1
|
|
1097
|
-
},
|
|
1098
|
-
type: {
|
|
1099
|
-
name: "Number"
|
|
1100
|
-
}
|
|
1101
|
-
} })
|
|
1102
|
-
}
|
|
1103
|
-
};
|
|
1104
|
-
var AzureResourceReference = {
|
|
1105
|
-
serializedName: "AzureResourceReference",
|
|
1106
|
-
type: {
|
|
1107
|
-
name: "Composite",
|
|
1108
|
-
className: "AzureResourceReference",
|
|
1109
|
-
modelProperties: {
|
|
1110
|
-
sourceArmResourceId: {
|
|
1111
|
-
required: true,
|
|
1112
|
-
serializedName: "sourceArmResourceId",
|
|
1113
|
-
type: {
|
|
1114
|
-
name: "String"
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
};
|
|
1120
|
-
var NsgReference = {
|
|
1121
|
-
serializedName: "NsgReference",
|
|
1122
|
-
type: {
|
|
1123
|
-
name: "Composite",
|
|
1124
|
-
className: "NsgReference",
|
|
1125
|
-
modelProperties: __assign({}, AzureResourceReference.type.modelProperties)
|
|
1126
|
-
}
|
|
1127
|
-
};
|
|
1128
|
-
var SubnetResourceSettings = {
|
|
1129
|
-
serializedName: "SubnetResourceSettings",
|
|
1130
|
-
type: {
|
|
1131
|
-
name: "Composite",
|
|
1132
|
-
className: "SubnetResourceSettings",
|
|
1133
|
-
modelProperties: {
|
|
1134
|
-
name: {
|
|
1135
|
-
serializedName: "name",
|
|
1136
|
-
type: {
|
|
1137
|
-
name: "String"
|
|
1138
|
-
}
|
|
1139
|
-
},
|
|
1140
|
-
addressPrefix: {
|
|
1141
|
-
serializedName: "addressPrefix",
|
|
1142
|
-
type: {
|
|
1143
|
-
name: "String"
|
|
1144
|
-
}
|
|
1145
|
-
},
|
|
1146
|
-
networkSecurityGroup: {
|
|
1147
|
-
serializedName: "networkSecurityGroup",
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "Composite",
|
|
1150
|
-
className: "NsgReference"
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
};
|
|
1156
|
-
var VirtualNetworkResourceSettings = {
|
|
1157
|
-
serializedName: "Microsoft.Network/virtualNetworks",
|
|
1158
|
-
type: {
|
|
1159
|
-
name: "Composite",
|
|
1160
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1161
|
-
uberParent: "ResourceSettings",
|
|
1162
|
-
className: "VirtualNetworkResourceSettings",
|
|
1163
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { enableDdosProtection: {
|
|
1164
|
-
nullable: true,
|
|
1165
|
-
serializedName: "enableDdosProtection",
|
|
1166
|
-
type: {
|
|
1167
|
-
name: "Boolean"
|
|
1168
|
-
}
|
|
1169
|
-
}, addressSpace: {
|
|
1170
|
-
serializedName: "addressSpace",
|
|
1171
|
-
type: {
|
|
1172
|
-
name: "Sequence",
|
|
1173
|
-
element: {
|
|
1174
|
-
type: {
|
|
1175
|
-
name: "String"
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
}, dnsServers: {
|
|
1180
|
-
serializedName: "dnsServers",
|
|
1181
|
-
type: {
|
|
1182
|
-
name: "Sequence",
|
|
1183
|
-
element: {
|
|
1184
|
-
type: {
|
|
1185
|
-
name: "String"
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
}, subnets: {
|
|
1190
|
-
serializedName: "subnets",
|
|
1191
|
-
type: {
|
|
1192
|
-
name: "Sequence",
|
|
1193
|
-
element: {
|
|
1194
|
-
type: {
|
|
1195
|
-
name: "Composite",
|
|
1196
|
-
className: "SubnetResourceSettings"
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
} })
|
|
1201
|
-
}
|
|
1202
|
-
};
|
|
1203
|
-
var ProxyResourceReference = {
|
|
1204
|
-
serializedName: "ProxyResourceReference",
|
|
1205
|
-
type: {
|
|
1206
|
-
name: "Composite",
|
|
1207
|
-
className: "ProxyResourceReference",
|
|
1208
|
-
modelProperties: __assign(__assign({}, AzureResourceReference.type.modelProperties), { name: {
|
|
1209
|
-
serializedName: "name",
|
|
1210
|
-
type: {
|
|
1211
|
-
name: "String"
|
|
1212
|
-
}
|
|
1213
|
-
} })
|
|
1214
|
-
}
|
|
1215
|
-
};
|
|
1216
|
-
var SubnetReference = {
|
|
1217
|
-
serializedName: "SubnetReference",
|
|
1218
|
-
type: {
|
|
1219
|
-
name: "Composite",
|
|
1220
|
-
className: "SubnetReference",
|
|
1221
|
-
modelProperties: __assign({}, ProxyResourceReference.type.modelProperties)
|
|
1222
|
-
}
|
|
1223
|
-
};
|
|
1224
|
-
var LoadBalancerBackendAddressPoolReference = {
|
|
1225
|
-
serializedName: "LoadBalancerBackendAddressPoolReference",
|
|
1226
|
-
type: {
|
|
1227
|
-
name: "Composite",
|
|
1228
|
-
className: "LoadBalancerBackendAddressPoolReference",
|
|
1229
|
-
modelProperties: __assign({}, ProxyResourceReference.type.modelProperties)
|
|
1230
|
-
}
|
|
1231
|
-
};
|
|
1232
|
-
var LoadBalancerNatRuleReference = {
|
|
1233
|
-
serializedName: "LoadBalancerNatRuleReference",
|
|
1234
|
-
type: {
|
|
1235
|
-
name: "Composite",
|
|
1236
|
-
className: "LoadBalancerNatRuleReference",
|
|
1237
|
-
modelProperties: __assign({}, ProxyResourceReference.type.modelProperties)
|
|
1238
|
-
}
|
|
1239
|
-
};
|
|
1240
|
-
var PublicIpReference = {
|
|
1241
|
-
serializedName: "PublicIpReference",
|
|
1242
|
-
type: {
|
|
1243
|
-
name: "Composite",
|
|
1244
|
-
className: "PublicIpReference",
|
|
1245
|
-
modelProperties: __assign({}, AzureResourceReference.type.modelProperties)
|
|
1246
|
-
}
|
|
1247
|
-
};
|
|
1248
|
-
var NicIpConfigurationResourceSettings = {
|
|
1249
|
-
serializedName: "NicIpConfigurationResourceSettings",
|
|
1250
|
-
type: {
|
|
1251
|
-
name: "Composite",
|
|
1252
|
-
className: "NicIpConfigurationResourceSettings",
|
|
1253
|
-
modelProperties: {
|
|
1254
|
-
name: {
|
|
1255
|
-
serializedName: "name",
|
|
1256
|
-
type: {
|
|
1257
|
-
name: "String"
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
privateIpAddress: {
|
|
1261
|
-
serializedName: "privateIpAddress",
|
|
1262
|
-
type: {
|
|
1263
|
-
name: "String"
|
|
1264
|
-
}
|
|
1265
|
-
},
|
|
1266
|
-
privateIpAllocationMethod: {
|
|
1267
|
-
serializedName: "privateIpAllocationMethod",
|
|
1268
|
-
type: {
|
|
1269
|
-
name: "String"
|
|
1270
|
-
}
|
|
1271
|
-
},
|
|
1272
|
-
subnet: {
|
|
1273
|
-
serializedName: "subnet",
|
|
1274
|
-
type: {
|
|
1275
|
-
name: "Composite",
|
|
1276
|
-
className: "SubnetReference"
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
primary: {
|
|
1280
|
-
serializedName: "primary",
|
|
1281
|
-
type: {
|
|
1282
|
-
name: "Boolean"
|
|
1283
|
-
}
|
|
1284
|
-
},
|
|
1285
|
-
loadBalancerBackendAddressPools: {
|
|
1286
|
-
serializedName: "loadBalancerBackendAddressPools",
|
|
1287
|
-
type: {
|
|
1288
|
-
name: "Sequence",
|
|
1289
|
-
element: {
|
|
1290
|
-
type: {
|
|
1291
|
-
name: "Composite",
|
|
1292
|
-
className: "LoadBalancerBackendAddressPoolReference"
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
loadBalancerNatRules: {
|
|
1298
|
-
serializedName: "loadBalancerNatRules",
|
|
1299
|
-
type: {
|
|
1300
|
-
name: "Sequence",
|
|
1301
|
-
element: {
|
|
1302
|
-
type: {
|
|
1303
|
-
name: "Composite",
|
|
1304
|
-
className: "LoadBalancerNatRuleReference"
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
publicIp: {
|
|
1310
|
-
serializedName: "publicIp",
|
|
1311
|
-
type: {
|
|
1312
|
-
name: "Composite",
|
|
1313
|
-
className: "PublicIpReference"
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
};
|
|
1319
|
-
var NetworkInterfaceResourceSettings = {
|
|
1320
|
-
serializedName: "Microsoft.Network/networkInterfaces",
|
|
1321
|
-
type: {
|
|
1322
|
-
name: "Composite",
|
|
1323
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1324
|
-
uberParent: "ResourceSettings",
|
|
1325
|
-
className: "NetworkInterfaceResourceSettings",
|
|
1326
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { ipConfigurations: {
|
|
1327
|
-
serializedName: "ipConfigurations",
|
|
1328
|
-
type: {
|
|
1329
|
-
name: "Sequence",
|
|
1330
|
-
element: {
|
|
1331
|
-
type: {
|
|
1332
|
-
name: "Composite",
|
|
1333
|
-
className: "NicIpConfigurationResourceSettings"
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
}, enableAcceleratedNetworking: {
|
|
1338
|
-
nullable: true,
|
|
1339
|
-
serializedName: "enableAcceleratedNetworking",
|
|
1340
|
-
type: {
|
|
1341
|
-
name: "Boolean"
|
|
1342
|
-
}
|
|
1343
|
-
} })
|
|
1344
|
-
}
|
|
1345
|
-
};
|
|
1346
|
-
var NsgSecurityRule = {
|
|
1347
|
-
serializedName: "NsgSecurityRule",
|
|
1348
|
-
type: {
|
|
1349
|
-
name: "Composite",
|
|
1350
|
-
className: "NsgSecurityRule",
|
|
1351
|
-
modelProperties: {
|
|
1352
|
-
name: {
|
|
1353
|
-
serializedName: "name",
|
|
1354
|
-
type: {
|
|
1355
|
-
name: "String"
|
|
1356
|
-
}
|
|
1357
|
-
},
|
|
1358
|
-
access: {
|
|
1359
|
-
serializedName: "access",
|
|
1360
|
-
type: {
|
|
1361
|
-
name: "String"
|
|
1362
|
-
}
|
|
1363
|
-
},
|
|
1364
|
-
description: {
|
|
1365
|
-
serializedName: "description",
|
|
1366
|
-
type: {
|
|
1367
|
-
name: "String"
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
|
-
destinationAddressPrefix: {
|
|
1371
|
-
serializedName: "destinationAddressPrefix",
|
|
1372
|
-
type: {
|
|
1373
|
-
name: "String"
|
|
1374
|
-
}
|
|
1375
|
-
},
|
|
1376
|
-
destinationPortRange: {
|
|
1377
|
-
serializedName: "destinationPortRange",
|
|
1378
|
-
type: {
|
|
1379
|
-
name: "String"
|
|
1380
|
-
}
|
|
1381
|
-
},
|
|
1382
|
-
direction: {
|
|
1383
|
-
serializedName: "direction",
|
|
1384
|
-
type: {
|
|
1385
|
-
name: "String"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
priority: {
|
|
1389
|
-
serializedName: "priority",
|
|
1390
|
-
type: {
|
|
1391
|
-
name: "Number"
|
|
1392
|
-
}
|
|
1393
|
-
},
|
|
1394
|
-
protocol: {
|
|
1395
|
-
serializedName: "protocol",
|
|
1396
|
-
type: {
|
|
1397
|
-
name: "String"
|
|
1398
|
-
}
|
|
1399
|
-
},
|
|
1400
|
-
sourceAddressPrefix: {
|
|
1401
|
-
serializedName: "sourceAddressPrefix",
|
|
1402
|
-
type: {
|
|
1403
|
-
name: "String"
|
|
1404
|
-
}
|
|
1405
|
-
},
|
|
1406
|
-
sourcePortRange: {
|
|
1407
|
-
serializedName: "sourcePortRange",
|
|
1408
|
-
type: {
|
|
1409
|
-
name: "String"
|
|
1410
|
-
}
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
};
|
|
1415
|
-
var NetworkSecurityGroupResourceSettings = {
|
|
1416
|
-
serializedName: "Microsoft.Network/networkSecurityGroups",
|
|
1417
|
-
type: {
|
|
1418
|
-
name: "Composite",
|
|
1419
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1420
|
-
uberParent: "ResourceSettings",
|
|
1421
|
-
className: "NetworkSecurityGroupResourceSettings",
|
|
1422
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { securityRules: {
|
|
1423
|
-
serializedName: "securityRules",
|
|
1424
|
-
type: {
|
|
1425
|
-
name: "Sequence",
|
|
1426
|
-
element: {
|
|
1427
|
-
type: {
|
|
1428
|
-
name: "Composite",
|
|
1429
|
-
className: "NsgSecurityRule"
|
|
1430
|
-
}
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
} })
|
|
1434
|
-
}
|
|
1435
|
-
};
|
|
1436
|
-
var LBFrontendIPConfigurationResourceSettings = {
|
|
1437
|
-
serializedName: "LBFrontendIPConfigurationResourceSettings",
|
|
1438
|
-
type: {
|
|
1439
|
-
name: "Composite",
|
|
1440
|
-
className: "LBFrontendIPConfigurationResourceSettings",
|
|
1441
|
-
modelProperties: {
|
|
1442
|
-
name: {
|
|
1443
|
-
serializedName: "name",
|
|
1444
|
-
type: {
|
|
1445
|
-
name: "String"
|
|
1446
|
-
}
|
|
1447
|
-
},
|
|
1448
|
-
privateIpAddress: {
|
|
1449
|
-
serializedName: "privateIpAddress",
|
|
1450
|
-
type: {
|
|
1451
|
-
name: "String"
|
|
1452
|
-
}
|
|
1453
|
-
},
|
|
1454
|
-
privateIpAllocationMethod: {
|
|
1455
|
-
serializedName: "privateIpAllocationMethod",
|
|
1456
|
-
type: {
|
|
1457
|
-
name: "String"
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
subnet: {
|
|
1461
|
-
serializedName: "subnet",
|
|
1462
|
-
type: {
|
|
1463
|
-
name: "Composite",
|
|
1464
|
-
className: "SubnetReference"
|
|
1465
|
-
}
|
|
1466
|
-
},
|
|
1467
|
-
zones: {
|
|
1468
|
-
serializedName: "zones",
|
|
1469
|
-
type: {
|
|
1470
|
-
name: "String"
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
};
|
|
1476
|
-
var LBBackendAddressPoolResourceSettings = {
|
|
1477
|
-
serializedName: "LBBackendAddressPoolResourceSettings",
|
|
1478
|
-
type: {
|
|
1479
|
-
name: "Composite",
|
|
1480
|
-
className: "LBBackendAddressPoolResourceSettings",
|
|
1481
|
-
modelProperties: {
|
|
1482
|
-
name: {
|
|
1483
|
-
serializedName: "name",
|
|
1484
|
-
type: {
|
|
1485
|
-
name: "String"
|
|
1486
|
-
}
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
};
|
|
1491
|
-
var LoadBalancerResourceSettings = {
|
|
1492
|
-
serializedName: "Microsoft.Network/loadBalancers",
|
|
1493
|
-
type: {
|
|
1494
|
-
name: "Composite",
|
|
1495
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1496
|
-
uberParent: "ResourceSettings",
|
|
1497
|
-
className: "LoadBalancerResourceSettings",
|
|
1498
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { sku: {
|
|
1499
|
-
serializedName: "sku",
|
|
1500
|
-
type: {
|
|
1501
|
-
name: "String"
|
|
1502
|
-
}
|
|
1503
|
-
}, frontendIPConfigurations: {
|
|
1504
|
-
serializedName: "frontendIPConfigurations",
|
|
1505
|
-
type: {
|
|
1506
|
-
name: "Sequence",
|
|
1507
|
-
element: {
|
|
1508
|
-
type: {
|
|
1509
|
-
name: "Composite",
|
|
1510
|
-
className: "LBFrontendIPConfigurationResourceSettings"
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
}, backendAddressPools: {
|
|
1515
|
-
serializedName: "backendAddressPools",
|
|
1516
|
-
type: {
|
|
1517
|
-
name: "Sequence",
|
|
1518
|
-
element: {
|
|
1519
|
-
type: {
|
|
1520
|
-
name: "Composite",
|
|
1521
|
-
className: "LBBackendAddressPoolResourceSettings"
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
}, zones: {
|
|
1526
|
-
serializedName: "zones",
|
|
1527
|
-
type: {
|
|
1528
|
-
name: "String"
|
|
1529
|
-
}
|
|
1530
|
-
} })
|
|
1531
|
-
}
|
|
1532
|
-
};
|
|
1533
|
-
var SqlServerResourceSettings = {
|
|
1534
|
-
serializedName: "Microsoft.Sql/servers",
|
|
1535
|
-
type: {
|
|
1536
|
-
name: "Composite",
|
|
1537
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1538
|
-
uberParent: "ResourceSettings",
|
|
1539
|
-
className: "SqlServerResourceSettings",
|
|
1540
|
-
modelProperties: __assign({}, ResourceSettings.type.modelProperties)
|
|
1541
|
-
}
|
|
1542
|
-
};
|
|
1543
|
-
var SqlElasticPoolResourceSettings = {
|
|
1544
|
-
serializedName: "Microsoft.Sql/servers/elasticPools",
|
|
1545
|
-
type: {
|
|
1546
|
-
name: "Composite",
|
|
1547
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1548
|
-
uberParent: "ResourceSettings",
|
|
1549
|
-
className: "SqlElasticPoolResourceSettings",
|
|
1550
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { zoneRedundant: {
|
|
1551
|
-
serializedName: "zoneRedundant",
|
|
1552
|
-
type: {
|
|
1553
|
-
name: "String"
|
|
1554
|
-
}
|
|
1555
|
-
} })
|
|
1556
|
-
}
|
|
1557
|
-
};
|
|
1558
|
-
var SqlDatabaseResourceSettings = {
|
|
1559
|
-
serializedName: "Microsoft.Sql/servers/databases",
|
|
1560
|
-
type: {
|
|
1561
|
-
name: "Composite",
|
|
1562
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1563
|
-
uberParent: "ResourceSettings",
|
|
1564
|
-
className: "SqlDatabaseResourceSettings",
|
|
1565
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { zoneRedundant: {
|
|
1566
|
-
serializedName: "zoneRedundant",
|
|
1567
|
-
type: {
|
|
1568
|
-
name: "String"
|
|
1569
|
-
}
|
|
1570
|
-
} })
|
|
1571
|
-
}
|
|
1572
|
-
};
|
|
1573
|
-
var ResourceGroupResourceSettings = {
|
|
1574
|
-
serializedName: "resourceGroups",
|
|
1575
|
-
type: {
|
|
1576
|
-
name: "Composite",
|
|
1577
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1578
|
-
uberParent: "ResourceSettings",
|
|
1579
|
-
className: "ResourceGroupResourceSettings",
|
|
1580
|
-
modelProperties: __assign({}, ResourceSettings.type.modelProperties)
|
|
1581
|
-
}
|
|
1582
|
-
};
|
|
1583
|
-
var PublicIPAddressResourceSettings = {
|
|
1584
|
-
serializedName: "Microsoft.Network/publicIPAddresses",
|
|
1585
|
-
type: {
|
|
1586
|
-
name: "Composite",
|
|
1587
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1588
|
-
uberParent: "ResourceSettings",
|
|
1589
|
-
className: "PublicIPAddressResourceSettings",
|
|
1590
|
-
modelProperties: __assign(__assign({}, ResourceSettings.type.modelProperties), { domainNameLabel: {
|
|
1591
|
-
serializedName: "domainNameLabel",
|
|
1592
|
-
type: {
|
|
1593
|
-
name: "String"
|
|
1594
|
-
}
|
|
1595
|
-
}, fqdn: {
|
|
1596
|
-
serializedName: "fqdn",
|
|
1597
|
-
type: {
|
|
1598
|
-
name: "String"
|
|
1599
|
-
}
|
|
1600
|
-
}, publicIpAllocationMethod: {
|
|
1601
|
-
serializedName: "publicIpAllocationMethod",
|
|
1602
|
-
type: {
|
|
1603
|
-
name: "String"
|
|
1604
|
-
}
|
|
1605
|
-
}, sku: {
|
|
1606
|
-
serializedName: "sku",
|
|
1607
|
-
type: {
|
|
1608
|
-
name: "String"
|
|
1609
|
-
}
|
|
1610
|
-
}, zones: {
|
|
1611
|
-
serializedName: "zones",
|
|
1612
|
-
type: {
|
|
1613
|
-
name: "String"
|
|
1614
|
-
}
|
|
1615
|
-
} })
|
|
1616
|
-
}
|
|
1617
|
-
};
|
|
1618
|
-
var KeyVaultResourceSettings = {
|
|
1619
|
-
serializedName: "Microsoft.KeyVault/vaults",
|
|
1620
|
-
type: {
|
|
1621
|
-
name: "Composite",
|
|
1622
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1623
|
-
uberParent: "ResourceSettings",
|
|
1624
|
-
className: "KeyVaultResourceSettings",
|
|
1625
|
-
modelProperties: __assign({}, ResourceSettings.type.modelProperties)
|
|
1626
|
-
}
|
|
1627
|
-
};
|
|
1628
|
-
var DiskEncryptionSetResourceSettings = {
|
|
1629
|
-
serializedName: "Microsoft.Compute/diskEncryptionSets",
|
|
1630
|
-
type: {
|
|
1631
|
-
name: "Composite",
|
|
1632
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1633
|
-
uberParent: "ResourceSettings",
|
|
1634
|
-
className: "DiskEncryptionSetResourceSettings",
|
|
1635
|
-
modelProperties: __assign({}, ResourceSettings.type.modelProperties)
|
|
1636
|
-
}
|
|
1637
|
-
};
|
|
1638
|
-
var AffectedMoveResource = {
|
|
1639
|
-
serializedName: "AffectedMoveResource",
|
|
1640
|
-
type: {
|
|
1641
|
-
name: "Composite",
|
|
1642
|
-
className: "AffectedMoveResource",
|
|
1643
|
-
modelProperties: {
|
|
1644
|
-
id: {
|
|
1645
|
-
readOnly: true,
|
|
1646
|
-
serializedName: "id",
|
|
1647
|
-
type: {
|
|
1648
|
-
name: "String"
|
|
1649
|
-
}
|
|
1650
|
-
},
|
|
1651
|
-
sourceId: {
|
|
1652
|
-
readOnly: true,
|
|
1653
|
-
serializedName: "sourceId",
|
|
1654
|
-
type: {
|
|
1655
|
-
name: "String"
|
|
1656
|
-
}
|
|
1657
|
-
},
|
|
1658
|
-
moveResources: {
|
|
1659
|
-
readOnly: true,
|
|
1660
|
-
serializedName: "moveResources",
|
|
1661
|
-
type: {
|
|
1662
|
-
name: "Sequence",
|
|
1663
|
-
element: {
|
|
1664
|
-
type: {
|
|
1665
|
-
name: "Composite",
|
|
1666
|
-
className: "AffectedMoveResource"
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
}
|
|
1673
|
-
};
|
|
1674
|
-
var MoveErrorInfo = {
|
|
1675
|
-
serializedName: "MoveErrorInfo",
|
|
1676
|
-
type: {
|
|
1677
|
-
name: "Composite",
|
|
1678
|
-
className: "MoveErrorInfo",
|
|
1679
|
-
modelProperties: {
|
|
1680
|
-
moveResources: {
|
|
1681
|
-
readOnly: true,
|
|
1682
|
-
serializedName: "moveResources",
|
|
1683
|
-
type: {
|
|
1684
|
-
name: "Sequence",
|
|
1685
|
-
element: {
|
|
1686
|
-
type: {
|
|
1687
|
-
name: "Composite",
|
|
1688
|
-
className: "AffectedMoveResource"
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
1695
|
-
};
|
|
1696
|
-
var OperationErrorAdditionalInfo = {
|
|
1697
|
-
serializedName: "OperationErrorAdditionalInfo",
|
|
1698
|
-
type: {
|
|
1699
|
-
name: "Composite",
|
|
1700
|
-
className: "OperationErrorAdditionalInfo",
|
|
1701
|
-
modelProperties: {
|
|
1702
|
-
type: {
|
|
1703
|
-
readOnly: true,
|
|
1704
|
-
serializedName: "type",
|
|
1705
|
-
type: {
|
|
1706
|
-
name: "String"
|
|
1707
|
-
}
|
|
1708
|
-
},
|
|
1709
|
-
info: {
|
|
1710
|
-
readOnly: true,
|
|
1711
|
-
serializedName: "info",
|
|
1712
|
-
type: {
|
|
1713
|
-
name: "Composite",
|
|
1714
|
-
className: "MoveErrorInfo"
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
};
|
|
1720
|
-
var OperationStatusError = {
|
|
1721
|
-
serializedName: "OperationStatusError",
|
|
1722
|
-
type: {
|
|
1723
|
-
name: "Composite",
|
|
1724
|
-
className: "OperationStatusError",
|
|
1725
|
-
modelProperties: {
|
|
1726
|
-
code: {
|
|
1727
|
-
readOnly: true,
|
|
1728
|
-
serializedName: "code",
|
|
1729
|
-
type: {
|
|
1730
|
-
name: "String"
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
message: {
|
|
1734
|
-
readOnly: true,
|
|
1735
|
-
serializedName: "message",
|
|
1736
|
-
type: {
|
|
1737
|
-
name: "String"
|
|
1738
|
-
}
|
|
1739
|
-
},
|
|
1740
|
-
details: {
|
|
1741
|
-
readOnly: true,
|
|
1742
|
-
serializedName: "details",
|
|
1743
|
-
type: {
|
|
1744
|
-
name: "Sequence",
|
|
1745
|
-
element: {
|
|
1746
|
-
type: {
|
|
1747
|
-
name: "Composite",
|
|
1748
|
-
className: "OperationStatusError"
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
}
|
|
1752
|
-
},
|
|
1753
|
-
additionalInfo: {
|
|
1754
|
-
readOnly: true,
|
|
1755
|
-
serializedName: "additionalInfo",
|
|
1756
|
-
type: {
|
|
1757
|
-
name: "Sequence",
|
|
1758
|
-
element: {
|
|
1759
|
-
type: {
|
|
1760
|
-
name: "Composite",
|
|
1761
|
-
className: "OperationErrorAdditionalInfo"
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
};
|
|
1769
|
-
var OperationStatus = {
|
|
1770
|
-
serializedName: "OperationStatus",
|
|
1771
|
-
type: {
|
|
1772
|
-
name: "Composite",
|
|
1773
|
-
className: "OperationStatus",
|
|
1774
|
-
modelProperties: {
|
|
1775
|
-
id: {
|
|
1776
|
-
readOnly: true,
|
|
1777
|
-
serializedName: "id",
|
|
1778
|
-
type: {
|
|
1779
|
-
name: "String"
|
|
1780
|
-
}
|
|
1781
|
-
},
|
|
1782
|
-
name: {
|
|
1783
|
-
readOnly: true,
|
|
1784
|
-
serializedName: "name",
|
|
1785
|
-
type: {
|
|
1786
|
-
name: "String"
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
|
-
status: {
|
|
1790
|
-
readOnly: true,
|
|
1791
|
-
serializedName: "status",
|
|
1792
|
-
type: {
|
|
1793
|
-
name: "String"
|
|
1794
|
-
}
|
|
1795
|
-
},
|
|
1796
|
-
startTime: {
|
|
1797
|
-
readOnly: true,
|
|
1798
|
-
serializedName: "startTime",
|
|
1799
|
-
type: {
|
|
1800
|
-
name: "String"
|
|
1801
|
-
}
|
|
1802
|
-
},
|
|
1803
|
-
endTime: {
|
|
1804
|
-
readOnly: true,
|
|
1805
|
-
serializedName: "endTime",
|
|
1806
|
-
type: {
|
|
1807
|
-
name: "String"
|
|
1808
|
-
}
|
|
1809
|
-
},
|
|
1810
|
-
error: {
|
|
1811
|
-
readOnly: true,
|
|
1812
|
-
serializedName: "error",
|
|
1813
|
-
type: {
|
|
1814
|
-
name: "Composite",
|
|
1815
|
-
className: "OperationStatusError"
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
properties: {
|
|
1819
|
-
readOnly: true,
|
|
1820
|
-
serializedName: "properties",
|
|
1821
|
-
type: {
|
|
1822
|
-
name: "Object"
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
};
|
|
1828
|
-
var MoveCollectionResultList = {
|
|
1829
|
-
serializedName: "MoveCollectionResultList",
|
|
1830
|
-
type: {
|
|
1831
|
-
name: "Composite",
|
|
1832
|
-
className: "MoveCollectionResultList",
|
|
1833
|
-
modelProperties: {
|
|
1834
|
-
value: {
|
|
1835
|
-
serializedName: "",
|
|
1836
|
-
type: {
|
|
1837
|
-
name: "Sequence",
|
|
1838
|
-
element: {
|
|
1839
|
-
type: {
|
|
1840
|
-
name: "Composite",
|
|
1841
|
-
className: "MoveCollection"
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
}
|
|
1845
|
-
},
|
|
1846
|
-
nextLink: {
|
|
1847
|
-
serializedName: "nextLink",
|
|
1848
|
-
type: {
|
|
1849
|
-
name: "String"
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
}
|
|
1854
|
-
};
|
|
1855
|
-
var MoveResourceCollection = {
|
|
1856
|
-
serializedName: "MoveResourceCollection",
|
|
1857
|
-
type: {
|
|
1858
|
-
name: "Composite",
|
|
1859
|
-
className: "MoveResourceCollection",
|
|
1860
|
-
modelProperties: {
|
|
1861
|
-
value: {
|
|
1862
|
-
serializedName: "",
|
|
1863
|
-
type: {
|
|
1864
|
-
name: "Sequence",
|
|
1865
|
-
element: {
|
|
1866
|
-
type: {
|
|
1867
|
-
name: "Composite",
|
|
1868
|
-
className: "MoveResource"
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
|
-
},
|
|
1873
|
-
nextLink: {
|
|
1874
|
-
serializedName: "nextLink",
|
|
1875
|
-
type: {
|
|
1876
|
-
name: "String"
|
|
1877
|
-
}
|
|
1878
|
-
},
|
|
1879
|
-
summaryCollection: {
|
|
1880
|
-
serializedName: "summaryCollection",
|
|
1881
|
-
type: {
|
|
1882
|
-
name: "Composite",
|
|
1883
|
-
className: "SummaryCollection"
|
|
1884
|
-
}
|
|
1885
|
-
},
|
|
1886
|
-
totalCount: {
|
|
1887
|
-
readOnly: true,
|
|
1888
|
-
serializedName: "totalCount",
|
|
1889
|
-
type: {
|
|
1890
|
-
name: "Number"
|
|
1891
|
-
}
|
|
1892
|
-
}
|
|
1893
|
-
}
|
|
1894
|
-
}
|
|
1895
|
-
};
|
|
1896
|
-
var UnresolvedDependencyCollection = {
|
|
1897
|
-
serializedName: "UnresolvedDependencyCollection",
|
|
1898
|
-
type: {
|
|
1899
|
-
name: "Composite",
|
|
1900
|
-
className: "UnresolvedDependencyCollection",
|
|
1901
|
-
modelProperties: {
|
|
1902
|
-
value: {
|
|
1903
|
-
serializedName: "",
|
|
1904
|
-
type: {
|
|
1905
|
-
name: "Sequence",
|
|
1906
|
-
element: {
|
|
1907
|
-
type: {
|
|
1908
|
-
name: "Composite",
|
|
1909
|
-
className: "UnresolvedDependency"
|
|
1910
|
-
}
|
|
1911
|
-
}
|
|
1912
|
-
}
|
|
1913
|
-
},
|
|
1914
|
-
nextLink: {
|
|
1915
|
-
serializedName: "nextLink",
|
|
1916
|
-
type: {
|
|
1917
|
-
name: "String"
|
|
1918
|
-
}
|
|
1919
|
-
},
|
|
1920
|
-
summaryCollection: {
|
|
1921
|
-
readOnly: true,
|
|
1922
|
-
serializedName: "summaryCollection",
|
|
1923
|
-
type: {
|
|
1924
|
-
name: "Composite",
|
|
1925
|
-
className: "SummaryCollection"
|
|
1926
|
-
}
|
|
1927
|
-
},
|
|
1928
|
-
totalCount: {
|
|
1929
|
-
readOnly: true,
|
|
1930
|
-
serializedName: "totalCount",
|
|
1931
|
-
type: {
|
|
1932
|
-
name: "Number"
|
|
1933
|
-
}
|
|
1934
|
-
}
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
};
|
|
1938
|
-
var discriminators = {
|
|
1939
|
-
'ResourceSettings': ResourceSettings,
|
|
1940
|
-
'ResourceSettings.Microsoft.Compute/virtualMachines': VirtualMachineResourceSettings,
|
|
1941
|
-
'ResourceSettings.Microsoft.Compute/availabilitySets': AvailabilitySetResourceSettings,
|
|
1942
|
-
'ResourceSettings.Microsoft.Network/virtualNetworks': VirtualNetworkResourceSettings,
|
|
1943
|
-
'ResourceSettings.Microsoft.Network/networkInterfaces': NetworkInterfaceResourceSettings,
|
|
1944
|
-
'ResourceSettings.Microsoft.Network/networkSecurityGroups': NetworkSecurityGroupResourceSettings,
|
|
1945
|
-
'ResourceSettings.Microsoft.Network/loadBalancers': LoadBalancerResourceSettings,
|
|
1946
|
-
'ResourceSettings.Microsoft.Sql/servers': SqlServerResourceSettings,
|
|
1947
|
-
'ResourceSettings.Microsoft.Sql/servers/elasticPools': SqlElasticPoolResourceSettings,
|
|
1948
|
-
'ResourceSettings.Microsoft.Sql/servers/databases': SqlDatabaseResourceSettings,
|
|
1949
|
-
'ResourceSettings.resourceGroups': ResourceGroupResourceSettings,
|
|
1950
|
-
'ResourceSettings.Microsoft.Network/publicIPAddresses': PublicIPAddressResourceSettings,
|
|
1951
|
-
'ResourceSettings.Microsoft.KeyVault/vaults': KeyVaultResourceSettings,
|
|
1952
|
-
'ResourceSettings.Microsoft.Compute/diskEncryptionSets': DiskEncryptionSetResourceSettings
|
|
1953
|
-
};
|
|
1954
|
-
|
|
1955
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1956
|
-
__proto__: null,
|
|
1957
|
-
CloudError: CloudError,
|
|
1958
|
-
BaseResource: BaseResource,
|
|
1959
|
-
Identity: Identity,
|
|
1960
|
-
JobStatus: JobStatus,
|
|
1961
|
-
MoveResourceErrorBody: MoveResourceErrorBody,
|
|
1962
|
-
MoveResourceError: MoveResourceError,
|
|
1963
|
-
MoveResourceStatus: MoveResourceStatus,
|
|
1964
|
-
ManualResolutionProperties: ManualResolutionProperties,
|
|
1965
|
-
AutomaticResolutionProperties: AutomaticResolutionProperties,
|
|
1966
|
-
MoveResourceDependency: MoveResourceDependency,
|
|
1967
|
-
MoveResourceDependencyOverride: MoveResourceDependencyOverride,
|
|
1968
|
-
ResourceSettings: ResourceSettings,
|
|
1969
|
-
MoveResourcePropertiesMoveStatus: MoveResourcePropertiesMoveStatus,
|
|
1970
|
-
MoveResourcePropertiesErrors: MoveResourcePropertiesErrors,
|
|
1971
|
-
MoveResourceProperties: MoveResourceProperties,
|
|
1972
|
-
MoveResource: MoveResource,
|
|
1973
|
-
Summary: Summary,
|
|
1974
|
-
SummaryCollection: SummaryCollection,
|
|
1975
|
-
MoveCollectionPropertiesErrors: MoveCollectionPropertiesErrors,
|
|
1976
|
-
MoveCollectionProperties: MoveCollectionProperties,
|
|
1977
|
-
MoveCollection: MoveCollection,
|
|
1978
|
-
UpdateMoveCollectionRequest: UpdateMoveCollectionRequest,
|
|
1979
|
-
PrepareRequest: PrepareRequest,
|
|
1980
|
-
ResourceMoveRequest: ResourceMoveRequest,
|
|
1981
|
-
CommitRequest: CommitRequest,
|
|
1982
|
-
DiscardRequest: DiscardRequest,
|
|
1983
|
-
BulkRemoveRequest: BulkRemoveRequest,
|
|
1984
|
-
MoveResourceFilterProperties: MoveResourceFilterProperties,
|
|
1985
|
-
MoveResourceFilter: MoveResourceFilter,
|
|
1986
|
-
UnresolvedDependenciesFilterProperties: UnresolvedDependenciesFilterProperties,
|
|
1987
|
-
UnresolvedDependenciesFilter: UnresolvedDependenciesFilter,
|
|
1988
|
-
UnresolvedDependency: UnresolvedDependency,
|
|
1989
|
-
RequiredForResourcesCollection: RequiredForResourcesCollection,
|
|
1990
|
-
Display: Display,
|
|
1991
|
-
OperationsDiscovery: OperationsDiscovery,
|
|
1992
|
-
OperationsDiscoveryCollection: OperationsDiscoveryCollection,
|
|
1993
|
-
VirtualMachineResourceSettings: VirtualMachineResourceSettings,
|
|
1994
|
-
AvailabilitySetResourceSettings: AvailabilitySetResourceSettings,
|
|
1995
|
-
AzureResourceReference: AzureResourceReference,
|
|
1996
|
-
NsgReference: NsgReference,
|
|
1997
|
-
SubnetResourceSettings: SubnetResourceSettings,
|
|
1998
|
-
VirtualNetworkResourceSettings: VirtualNetworkResourceSettings,
|
|
1999
|
-
ProxyResourceReference: ProxyResourceReference,
|
|
2000
|
-
SubnetReference: SubnetReference,
|
|
2001
|
-
LoadBalancerBackendAddressPoolReference: LoadBalancerBackendAddressPoolReference,
|
|
2002
|
-
LoadBalancerNatRuleReference: LoadBalancerNatRuleReference,
|
|
2003
|
-
PublicIpReference: PublicIpReference,
|
|
2004
|
-
NicIpConfigurationResourceSettings: NicIpConfigurationResourceSettings,
|
|
2005
|
-
NetworkInterfaceResourceSettings: NetworkInterfaceResourceSettings,
|
|
2006
|
-
NsgSecurityRule: NsgSecurityRule,
|
|
2007
|
-
NetworkSecurityGroupResourceSettings: NetworkSecurityGroupResourceSettings,
|
|
2008
|
-
LBFrontendIPConfigurationResourceSettings: LBFrontendIPConfigurationResourceSettings,
|
|
2009
|
-
LBBackendAddressPoolResourceSettings: LBBackendAddressPoolResourceSettings,
|
|
2010
|
-
LoadBalancerResourceSettings: LoadBalancerResourceSettings,
|
|
2011
|
-
SqlServerResourceSettings: SqlServerResourceSettings,
|
|
2012
|
-
SqlElasticPoolResourceSettings: SqlElasticPoolResourceSettings,
|
|
2013
|
-
SqlDatabaseResourceSettings: SqlDatabaseResourceSettings,
|
|
2014
|
-
ResourceGroupResourceSettings: ResourceGroupResourceSettings,
|
|
2015
|
-
PublicIPAddressResourceSettings: PublicIPAddressResourceSettings,
|
|
2016
|
-
KeyVaultResourceSettings: KeyVaultResourceSettings,
|
|
2017
|
-
DiskEncryptionSetResourceSettings: DiskEncryptionSetResourceSettings,
|
|
2018
|
-
AffectedMoveResource: AffectedMoveResource,
|
|
2019
|
-
MoveErrorInfo: MoveErrorInfo,
|
|
2020
|
-
OperationErrorAdditionalInfo: OperationErrorAdditionalInfo,
|
|
2021
|
-
OperationStatusError: OperationStatusError,
|
|
2022
|
-
OperationStatus: OperationStatus,
|
|
2023
|
-
MoveCollectionResultList: MoveCollectionResultList,
|
|
2024
|
-
MoveResourceCollection: MoveResourceCollection,
|
|
2025
|
-
UnresolvedDependencyCollection: UnresolvedDependencyCollection,
|
|
2026
|
-
discriminators: discriminators
|
|
2027
|
-
});
|
|
2028
|
-
|
|
2029
|
-
/*
|
|
2030
|
-
* Copyright (c) Microsoft Corporation.
|
|
2031
|
-
* Licensed under the MIT License.
|
|
2032
|
-
*
|
|
2033
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2034
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2035
|
-
*/
|
|
2036
|
-
|
|
2037
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2038
|
-
__proto__: null,
|
|
2039
|
-
discriminators: discriminators,
|
|
2040
|
-
AffectedMoveResource: AffectedMoveResource,
|
|
2041
|
-
AutomaticResolutionProperties: AutomaticResolutionProperties,
|
|
2042
|
-
AvailabilitySetResourceSettings: AvailabilitySetResourceSettings,
|
|
2043
|
-
AzureResourceReference: AzureResourceReference,
|
|
2044
|
-
BaseResource: BaseResource,
|
|
2045
|
-
BulkRemoveRequest: BulkRemoveRequest,
|
|
2046
|
-
CloudError: CloudError,
|
|
2047
|
-
CommitRequest: CommitRequest,
|
|
2048
|
-
DiscardRequest: DiscardRequest,
|
|
2049
|
-
DiskEncryptionSetResourceSettings: DiskEncryptionSetResourceSettings,
|
|
2050
|
-
Identity: Identity,
|
|
2051
|
-
JobStatus: JobStatus,
|
|
2052
|
-
KeyVaultResourceSettings: KeyVaultResourceSettings,
|
|
2053
|
-
LBBackendAddressPoolResourceSettings: LBBackendAddressPoolResourceSettings,
|
|
2054
|
-
LBFrontendIPConfigurationResourceSettings: LBFrontendIPConfigurationResourceSettings,
|
|
2055
|
-
LoadBalancerBackendAddressPoolReference: LoadBalancerBackendAddressPoolReference,
|
|
2056
|
-
LoadBalancerNatRuleReference: LoadBalancerNatRuleReference,
|
|
2057
|
-
LoadBalancerResourceSettings: LoadBalancerResourceSettings,
|
|
2058
|
-
ManualResolutionProperties: ManualResolutionProperties,
|
|
2059
|
-
MoveCollection: MoveCollection,
|
|
2060
|
-
MoveCollectionProperties: MoveCollectionProperties,
|
|
2061
|
-
MoveCollectionPropertiesErrors: MoveCollectionPropertiesErrors,
|
|
2062
|
-
MoveCollectionResultList: MoveCollectionResultList,
|
|
2063
|
-
MoveErrorInfo: MoveErrorInfo,
|
|
2064
|
-
MoveResource: MoveResource,
|
|
2065
|
-
MoveResourceDependency: MoveResourceDependency,
|
|
2066
|
-
MoveResourceDependencyOverride: MoveResourceDependencyOverride,
|
|
2067
|
-
MoveResourceError: MoveResourceError,
|
|
2068
|
-
MoveResourceErrorBody: MoveResourceErrorBody,
|
|
2069
|
-
MoveResourceProperties: MoveResourceProperties,
|
|
2070
|
-
MoveResourcePropertiesErrors: MoveResourcePropertiesErrors,
|
|
2071
|
-
MoveResourcePropertiesMoveStatus: MoveResourcePropertiesMoveStatus,
|
|
2072
|
-
MoveResourceStatus: MoveResourceStatus,
|
|
2073
|
-
NetworkInterfaceResourceSettings: NetworkInterfaceResourceSettings,
|
|
2074
|
-
NetworkSecurityGroupResourceSettings: NetworkSecurityGroupResourceSettings,
|
|
2075
|
-
NicIpConfigurationResourceSettings: NicIpConfigurationResourceSettings,
|
|
2076
|
-
NsgReference: NsgReference,
|
|
2077
|
-
NsgSecurityRule: NsgSecurityRule,
|
|
2078
|
-
OperationErrorAdditionalInfo: OperationErrorAdditionalInfo,
|
|
2079
|
-
OperationStatus: OperationStatus,
|
|
2080
|
-
OperationStatusError: OperationStatusError,
|
|
2081
|
-
PrepareRequest: PrepareRequest,
|
|
2082
|
-
ProxyResourceReference: ProxyResourceReference,
|
|
2083
|
-
PublicIPAddressResourceSettings: PublicIPAddressResourceSettings,
|
|
2084
|
-
PublicIpReference: PublicIpReference,
|
|
2085
|
-
RequiredForResourcesCollection: RequiredForResourcesCollection,
|
|
2086
|
-
ResourceGroupResourceSettings: ResourceGroupResourceSettings,
|
|
2087
|
-
ResourceMoveRequest: ResourceMoveRequest,
|
|
2088
|
-
ResourceSettings: ResourceSettings,
|
|
2089
|
-
SqlDatabaseResourceSettings: SqlDatabaseResourceSettings,
|
|
2090
|
-
SqlElasticPoolResourceSettings: SqlElasticPoolResourceSettings,
|
|
2091
|
-
SqlServerResourceSettings: SqlServerResourceSettings,
|
|
2092
|
-
SubnetReference: SubnetReference,
|
|
2093
|
-
SubnetResourceSettings: SubnetResourceSettings,
|
|
2094
|
-
UpdateMoveCollectionRequest: UpdateMoveCollectionRequest,
|
|
2095
|
-
VirtualMachineResourceSettings: VirtualMachineResourceSettings,
|
|
2096
|
-
VirtualNetworkResourceSettings: VirtualNetworkResourceSettings
|
|
2097
|
-
});
|
|
2098
|
-
|
|
2099
|
-
/*
|
|
2100
|
-
* Copyright (c) Microsoft Corporation.
|
|
2101
|
-
* Licensed under the MIT License.
|
|
2102
|
-
*
|
|
2103
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2104
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2105
|
-
* regenerated.
|
|
2106
|
-
*/
|
|
2107
|
-
var acceptLanguage = {
|
|
2108
|
-
parameterPath: "acceptLanguage",
|
|
2109
|
-
mapper: {
|
|
2110
|
-
serializedName: "accept-language",
|
|
2111
|
-
defaultValue: 'en-US',
|
|
2112
|
-
type: {
|
|
2113
|
-
name: "String"
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
};
|
|
2117
|
-
var apiVersion = {
|
|
2118
|
-
parameterPath: "apiVersion",
|
|
2119
|
-
mapper: {
|
|
2120
|
-
required: true,
|
|
2121
|
-
serializedName: "api-version",
|
|
2122
|
-
type: {
|
|
2123
|
-
name: "String"
|
|
2124
|
-
}
|
|
2125
|
-
}
|
|
2126
|
-
};
|
|
2127
|
-
var dependencyLevel = {
|
|
2128
|
-
parameterPath: [
|
|
2129
|
-
"options",
|
|
2130
|
-
"dependencyLevel"
|
|
2131
|
-
],
|
|
2132
|
-
mapper: {
|
|
2133
|
-
serializedName: "dependencyLevel",
|
|
2134
|
-
type: {
|
|
2135
|
-
name: "String"
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
};
|
|
2139
|
-
var filter = {
|
|
2140
|
-
parameterPath: [
|
|
2141
|
-
"options",
|
|
2142
|
-
"filter"
|
|
2143
|
-
],
|
|
2144
|
-
mapper: {
|
|
2145
|
-
serializedName: "$filter",
|
|
2146
|
-
type: {
|
|
2147
|
-
name: "String"
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
};
|
|
2151
|
-
var moveCollectionName = {
|
|
2152
|
-
parameterPath: "moveCollectionName",
|
|
2153
|
-
mapper: {
|
|
2154
|
-
required: true,
|
|
2155
|
-
serializedName: "moveCollectionName",
|
|
2156
|
-
type: {
|
|
2157
|
-
name: "String"
|
|
2158
|
-
}
|
|
2159
|
-
}
|
|
2160
|
-
};
|
|
2161
|
-
var moveResourceName = {
|
|
2162
|
-
parameterPath: "moveResourceName",
|
|
2163
|
-
mapper: {
|
|
2164
|
-
required: true,
|
|
2165
|
-
serializedName: "moveResourceName",
|
|
2166
|
-
type: {
|
|
2167
|
-
name: "String"
|
|
2168
|
-
}
|
|
2169
|
-
}
|
|
2170
|
-
};
|
|
2171
|
-
var nextPageLink = {
|
|
2172
|
-
parameterPath: "nextPageLink",
|
|
2173
|
-
mapper: {
|
|
2174
|
-
required: true,
|
|
2175
|
-
serializedName: "nextLink",
|
|
2176
|
-
type: {
|
|
2177
|
-
name: "String"
|
|
2178
|
-
}
|
|
2179
|
-
},
|
|
2180
|
-
skipEncoding: true
|
|
2181
|
-
};
|
|
2182
|
-
var orderby = {
|
|
2183
|
-
parameterPath: [
|
|
2184
|
-
"options",
|
|
2185
|
-
"orderby"
|
|
2186
|
-
],
|
|
2187
|
-
mapper: {
|
|
2188
|
-
serializedName: "$orderby",
|
|
2189
|
-
type: {
|
|
2190
|
-
name: "String"
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
};
|
|
2194
|
-
var resourceGroupName = {
|
|
2195
|
-
parameterPath: "resourceGroupName",
|
|
2196
|
-
mapper: {
|
|
2197
|
-
required: true,
|
|
2198
|
-
serializedName: "resourceGroupName",
|
|
2199
|
-
type: {
|
|
2200
|
-
name: "String"
|
|
2201
|
-
}
|
|
2202
|
-
}
|
|
2203
|
-
};
|
|
2204
|
-
var sourceId = {
|
|
2205
|
-
parameterPath: "sourceId",
|
|
2206
|
-
mapper: {
|
|
2207
|
-
required: true,
|
|
2208
|
-
serializedName: "sourceId",
|
|
2209
|
-
type: {
|
|
2210
|
-
name: "String"
|
|
2211
|
-
}
|
|
2212
|
-
}
|
|
2213
|
-
};
|
|
2214
|
-
var subscriptionId = {
|
|
2215
|
-
parameterPath: "subscriptionId",
|
|
2216
|
-
mapper: {
|
|
2217
|
-
required: true,
|
|
2218
|
-
serializedName: "subscriptionId",
|
|
2219
|
-
type: {
|
|
2220
|
-
name: "String"
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
};
|
|
2224
|
-
|
|
2225
|
-
/*
|
|
2226
|
-
* Copyright (c) Microsoft Corporation.
|
|
2227
|
-
* Licensed under the MIT License.
|
|
2228
|
-
*
|
|
2229
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2230
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2231
|
-
* regenerated.
|
|
2232
|
-
*/
|
|
2233
|
-
/** Class representing a MoveCollections. */
|
|
2234
|
-
var MoveCollections = /** @class */ (function () {
|
|
2235
|
-
/**
|
|
2236
|
-
* Create a MoveCollections.
|
|
2237
|
-
* @param {ResourceMoverServiceAPIContext} client Reference to the service client.
|
|
2238
|
-
*/
|
|
2239
|
-
function MoveCollections(client) {
|
|
2240
|
-
this.client = client;
|
|
2241
|
-
}
|
|
2242
|
-
MoveCollections.prototype.create = function (resourceGroupName, moveCollectionName, options, callback) {
|
|
2243
|
-
return this.client.sendOperationRequest({
|
|
2244
|
-
resourceGroupName: resourceGroupName,
|
|
2245
|
-
moveCollectionName: moveCollectionName,
|
|
2246
|
-
options: options
|
|
2247
|
-
}, createOperationSpec, callback);
|
|
2248
|
-
};
|
|
2249
|
-
MoveCollections.prototype.update = function (resourceGroupName, moveCollectionName, options, callback) {
|
|
2250
|
-
return this.client.sendOperationRequest({
|
|
2251
|
-
resourceGroupName: resourceGroupName,
|
|
2252
|
-
moveCollectionName: moveCollectionName,
|
|
2253
|
-
options: options
|
|
2254
|
-
}, updateOperationSpec, callback);
|
|
2255
|
-
};
|
|
2256
|
-
/**
|
|
2257
|
-
* Deletes a move collection.
|
|
2258
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2259
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2260
|
-
* @param [options] The optional parameters
|
|
2261
|
-
* @returns Promise<Models.MoveCollectionsDeleteMethodResponse>
|
|
2262
|
-
*/
|
|
2263
|
-
MoveCollections.prototype.deleteMethod = function (resourceGroupName, moveCollectionName, options) {
|
|
2264
|
-
return this.beginDeleteMethod(resourceGroupName, moveCollectionName, options)
|
|
2265
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2266
|
-
};
|
|
2267
|
-
MoveCollections.prototype.get = function (resourceGroupName, moveCollectionName, options, callback) {
|
|
2268
|
-
return this.client.sendOperationRequest({
|
|
2269
|
-
resourceGroupName: resourceGroupName,
|
|
2270
|
-
moveCollectionName: moveCollectionName,
|
|
2271
|
-
options: options
|
|
2272
|
-
}, getOperationSpec, callback);
|
|
2273
|
-
};
|
|
2274
|
-
/**
|
|
2275
|
-
* Initiates prepare for the set of resources included in the request body. The prepare operation
|
|
2276
|
-
* is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a
|
|
2277
|
-
* successful completion the moveResource moveState do a transition to MovePending. To aid the user
|
|
2278
|
-
* to prerequisite the operation the client can call operation with validateOnly property set to
|
|
2279
|
-
* true.
|
|
2280
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2281
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2282
|
-
* @param [options] The optional parameters
|
|
2283
|
-
* @returns Promise<Models.MoveCollectionsPrepareResponse>
|
|
2284
|
-
*/
|
|
2285
|
-
MoveCollections.prototype.prepare = function (resourceGroupName, moveCollectionName, options) {
|
|
2286
|
-
return this.beginPrepare(resourceGroupName, moveCollectionName, options)
|
|
2287
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2288
|
-
};
|
|
2289
|
-
/**
|
|
2290
|
-
* Moves the set of resources included in the request body. The move operation is triggered after
|
|
2291
|
-
* the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion
|
|
2292
|
-
* the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
2293
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2294
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2295
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2296
|
-
* @param [options] The optional parameters
|
|
2297
|
-
* @returns Promise<Models.MoveCollectionsInitiateMoveResponse>
|
|
2298
|
-
*/
|
|
2299
|
-
MoveCollections.prototype.initiateMove = function (resourceGroupName, moveCollectionName, options) {
|
|
2300
|
-
return this.beginInitiateMove(resourceGroupName, moveCollectionName, options)
|
|
2301
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2302
|
-
};
|
|
2303
|
-
/**
|
|
2304
|
-
* Commits the set of resources included in the request body. The commit operation is triggered on
|
|
2305
|
-
* the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion
|
|
2306
|
-
* the moveResource moveState do a transition to Committed. To aid the user to prerequisite the
|
|
2307
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2308
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2309
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2310
|
-
* @param [options] The optional parameters
|
|
2311
|
-
* @returns Promise<Models.MoveCollectionsCommitResponse>
|
|
2312
|
-
*/
|
|
2313
|
-
MoveCollections.prototype.commit = function (resourceGroupName, moveCollectionName, options) {
|
|
2314
|
-
return this.beginCommit(resourceGroupName, moveCollectionName, options)
|
|
2315
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2316
|
-
};
|
|
2317
|
-
/**
|
|
2318
|
-
* Discards the set of resources included in the request body. The discard operation is triggered
|
|
2319
|
-
* on the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful
|
|
2320
|
-
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
2321
|
-
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
2322
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2323
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2324
|
-
* @param [options] The optional parameters
|
|
2325
|
-
* @returns Promise<Models.MoveCollectionsDiscardResponse>
|
|
2326
|
-
*/
|
|
2327
|
-
MoveCollections.prototype.discard = function (resourceGroupName, moveCollectionName, options) {
|
|
2328
|
-
return this.beginDiscard(resourceGroupName, moveCollectionName, options)
|
|
2329
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2330
|
-
};
|
|
2331
|
-
/**
|
|
2332
|
-
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
2333
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2334
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2335
|
-
* @param [options] The optional parameters
|
|
2336
|
-
* @returns Promise<Models.MoveCollectionsResolveDependenciesResponse>
|
|
2337
|
-
*/
|
|
2338
|
-
MoveCollections.prototype.resolveDependencies = function (resourceGroupName, moveCollectionName, options) {
|
|
2339
|
-
return this.beginResolveDependencies(resourceGroupName, moveCollectionName, options)
|
|
2340
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2341
|
-
};
|
|
2342
|
-
/**
|
|
2343
|
-
* Removes the set of move resources included in the request body from move collection. The
|
|
2344
|
-
* orchestration is done by service. To aid the user to prerequisite the operation the client can
|
|
2345
|
-
* call operation with validateOnly property set to true.
|
|
2346
|
-
* @param resourceGroupName
|
|
2347
|
-
* @param moveCollectionName
|
|
2348
|
-
* @param [options] The optional parameters
|
|
2349
|
-
* @returns Promise<Models.MoveCollectionsBulkRemoveResponse>
|
|
2350
|
-
*/
|
|
2351
|
-
MoveCollections.prototype.bulkRemove = function (resourceGroupName, moveCollectionName, options) {
|
|
2352
|
-
return this.beginBulkRemove(resourceGroupName, moveCollectionName, options)
|
|
2353
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2354
|
-
};
|
|
2355
|
-
MoveCollections.prototype.listMoveCollectionsBySubscription = function (options, callback) {
|
|
2356
|
-
return this.client.sendOperationRequest({
|
|
2357
|
-
options: options
|
|
2358
|
-
}, listMoveCollectionsBySubscriptionOperationSpec, callback);
|
|
2359
|
-
};
|
|
2360
|
-
MoveCollections.prototype.listMoveCollectionsByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2361
|
-
return this.client.sendOperationRequest({
|
|
2362
|
-
resourceGroupName: resourceGroupName,
|
|
2363
|
-
options: options
|
|
2364
|
-
}, listMoveCollectionsByResourceGroupOperationSpec, callback);
|
|
2365
|
-
};
|
|
2366
|
-
MoveCollections.prototype.listRequiredFor = function (resourceGroupName, moveCollectionName, sourceId, options, callback) {
|
|
2367
|
-
return this.client.sendOperationRequest({
|
|
2368
|
-
resourceGroupName: resourceGroupName,
|
|
2369
|
-
moveCollectionName: moveCollectionName,
|
|
2370
|
-
sourceId: sourceId,
|
|
2371
|
-
options: options
|
|
2372
|
-
}, listRequiredForOperationSpec, callback);
|
|
2373
|
-
};
|
|
2374
|
-
/**
|
|
2375
|
-
* Deletes a move collection.
|
|
2376
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2377
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2378
|
-
* @param [options] The optional parameters
|
|
2379
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2380
|
-
*/
|
|
2381
|
-
MoveCollections.prototype.beginDeleteMethod = function (resourceGroupName, moveCollectionName, options) {
|
|
2382
|
-
return this.client.sendLRORequest({
|
|
2383
|
-
resourceGroupName: resourceGroupName,
|
|
2384
|
-
moveCollectionName: moveCollectionName,
|
|
2385
|
-
options: options
|
|
2386
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
2387
|
-
};
|
|
2388
|
-
/**
|
|
2389
|
-
* Initiates prepare for the set of resources included in the request body. The prepare operation
|
|
2390
|
-
* is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a
|
|
2391
|
-
* successful completion the moveResource moveState do a transition to MovePending. To aid the user
|
|
2392
|
-
* to prerequisite the operation the client can call operation with validateOnly property set to
|
|
2393
|
-
* true.
|
|
2394
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2395
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2396
|
-
* @param [options] The optional parameters
|
|
2397
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2398
|
-
*/
|
|
2399
|
-
MoveCollections.prototype.beginPrepare = function (resourceGroupName, moveCollectionName, options) {
|
|
2400
|
-
return this.client.sendLRORequest({
|
|
2401
|
-
resourceGroupName: resourceGroupName,
|
|
2402
|
-
moveCollectionName: moveCollectionName,
|
|
2403
|
-
options: options
|
|
2404
|
-
}, beginPrepareOperationSpec, options);
|
|
2405
|
-
};
|
|
2406
|
-
/**
|
|
2407
|
-
* Moves the set of resources included in the request body. The move operation is triggered after
|
|
2408
|
-
* the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion
|
|
2409
|
-
* the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
2410
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2411
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2412
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2413
|
-
* @param [options] The optional parameters
|
|
2414
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2415
|
-
*/
|
|
2416
|
-
MoveCollections.prototype.beginInitiateMove = function (resourceGroupName, moveCollectionName, options) {
|
|
2417
|
-
return this.client.sendLRORequest({
|
|
2418
|
-
resourceGroupName: resourceGroupName,
|
|
2419
|
-
moveCollectionName: moveCollectionName,
|
|
2420
|
-
options: options
|
|
2421
|
-
}, beginInitiateMoveOperationSpec, options);
|
|
2422
|
-
};
|
|
2423
|
-
/**
|
|
2424
|
-
* Commits the set of resources included in the request body. The commit operation is triggered on
|
|
2425
|
-
* the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion
|
|
2426
|
-
* the moveResource moveState do a transition to Committed. To aid the user to prerequisite the
|
|
2427
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2428
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2429
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2430
|
-
* @param [options] The optional parameters
|
|
2431
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2432
|
-
*/
|
|
2433
|
-
MoveCollections.prototype.beginCommit = function (resourceGroupName, moveCollectionName, options) {
|
|
2434
|
-
return this.client.sendLRORequest({
|
|
2435
|
-
resourceGroupName: resourceGroupName,
|
|
2436
|
-
moveCollectionName: moveCollectionName,
|
|
2437
|
-
options: options
|
|
2438
|
-
}, beginCommitOperationSpec, options);
|
|
2439
|
-
};
|
|
2440
|
-
/**
|
|
2441
|
-
* Discards the set of resources included in the request body. The discard operation is triggered
|
|
2442
|
-
* on the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful
|
|
2443
|
-
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
2444
|
-
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
2445
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2446
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2447
|
-
* @param [options] The optional parameters
|
|
2448
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2449
|
-
*/
|
|
2450
|
-
MoveCollections.prototype.beginDiscard = function (resourceGroupName, moveCollectionName, options) {
|
|
2451
|
-
return this.client.sendLRORequest({
|
|
2452
|
-
resourceGroupName: resourceGroupName,
|
|
2453
|
-
moveCollectionName: moveCollectionName,
|
|
2454
|
-
options: options
|
|
2455
|
-
}, beginDiscardOperationSpec, options);
|
|
2456
|
-
};
|
|
2457
|
-
/**
|
|
2458
|
-
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
2459
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2460
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2461
|
-
* @param [options] The optional parameters
|
|
2462
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2463
|
-
*/
|
|
2464
|
-
MoveCollections.prototype.beginResolveDependencies = function (resourceGroupName, moveCollectionName, options) {
|
|
2465
|
-
return this.client.sendLRORequest({
|
|
2466
|
-
resourceGroupName: resourceGroupName,
|
|
2467
|
-
moveCollectionName: moveCollectionName,
|
|
2468
|
-
options: options
|
|
2469
|
-
}, beginResolveDependenciesOperationSpec, options);
|
|
2470
|
-
};
|
|
2471
|
-
/**
|
|
2472
|
-
* Removes the set of move resources included in the request body from move collection. The
|
|
2473
|
-
* orchestration is done by service. To aid the user to prerequisite the operation the client can
|
|
2474
|
-
* call operation with validateOnly property set to true.
|
|
2475
|
-
* @param resourceGroupName
|
|
2476
|
-
* @param moveCollectionName
|
|
2477
|
-
* @param [options] The optional parameters
|
|
2478
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2479
|
-
*/
|
|
2480
|
-
MoveCollections.prototype.beginBulkRemove = function (resourceGroupName, moveCollectionName, options) {
|
|
2481
|
-
return this.client.sendLRORequest({
|
|
2482
|
-
resourceGroupName: resourceGroupName,
|
|
2483
|
-
moveCollectionName: moveCollectionName,
|
|
2484
|
-
options: options
|
|
2485
|
-
}, beginBulkRemoveOperationSpec, options);
|
|
2486
|
-
};
|
|
2487
|
-
MoveCollections.prototype.listMoveCollectionsBySubscriptionNext = function (nextPageLink, options, callback) {
|
|
2488
|
-
return this.client.sendOperationRequest({
|
|
2489
|
-
nextPageLink: nextPageLink,
|
|
2490
|
-
options: options
|
|
2491
|
-
}, listMoveCollectionsBySubscriptionNextOperationSpec, callback);
|
|
2492
|
-
};
|
|
2493
|
-
MoveCollections.prototype.listMoveCollectionsByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2494
|
-
return this.client.sendOperationRequest({
|
|
2495
|
-
nextPageLink: nextPageLink,
|
|
2496
|
-
options: options
|
|
2497
|
-
}, listMoveCollectionsByResourceGroupNextOperationSpec, callback);
|
|
2498
|
-
};
|
|
2499
|
-
return MoveCollections;
|
|
2500
|
-
}());
|
|
2501
|
-
// Operation Specifications
|
|
2502
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
2503
|
-
var createOperationSpec = {
|
|
2504
|
-
httpMethod: "PUT",
|
|
2505
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
2506
|
-
urlParameters: [
|
|
2507
|
-
subscriptionId,
|
|
2508
|
-
resourceGroupName,
|
|
2509
|
-
moveCollectionName
|
|
2510
|
-
],
|
|
2511
|
-
queryParameters: [
|
|
2512
|
-
apiVersion
|
|
2513
|
-
],
|
|
2514
|
-
headerParameters: [
|
|
2515
|
-
acceptLanguage
|
|
2516
|
-
],
|
|
2517
|
-
requestBody: {
|
|
2518
|
-
parameterPath: [
|
|
2519
|
-
"options",
|
|
2520
|
-
"body"
|
|
2521
|
-
],
|
|
2522
|
-
mapper: MoveCollection
|
|
2523
|
-
},
|
|
2524
|
-
responses: {
|
|
2525
|
-
200: {
|
|
2526
|
-
bodyMapper: MoveCollection
|
|
2527
|
-
},
|
|
2528
|
-
201: {
|
|
2529
|
-
bodyMapper: MoveCollection
|
|
2530
|
-
},
|
|
2531
|
-
default: {
|
|
2532
|
-
bodyMapper: CloudError
|
|
2533
|
-
}
|
|
2534
|
-
},
|
|
2535
|
-
serializer: serializer
|
|
2536
|
-
};
|
|
2537
|
-
var updateOperationSpec = {
|
|
2538
|
-
httpMethod: "PATCH",
|
|
2539
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
2540
|
-
urlParameters: [
|
|
2541
|
-
subscriptionId,
|
|
2542
|
-
resourceGroupName,
|
|
2543
|
-
moveCollectionName
|
|
2544
|
-
],
|
|
2545
|
-
queryParameters: [
|
|
2546
|
-
apiVersion
|
|
2547
|
-
],
|
|
2548
|
-
headerParameters: [
|
|
2549
|
-
acceptLanguage
|
|
2550
|
-
],
|
|
2551
|
-
requestBody: {
|
|
2552
|
-
parameterPath: [
|
|
2553
|
-
"options",
|
|
2554
|
-
"body"
|
|
2555
|
-
],
|
|
2556
|
-
mapper: UpdateMoveCollectionRequest
|
|
2557
|
-
},
|
|
2558
|
-
responses: {
|
|
2559
|
-
200: {
|
|
2560
|
-
bodyMapper: MoveCollection
|
|
2561
|
-
},
|
|
2562
|
-
default: {
|
|
2563
|
-
bodyMapper: CloudError
|
|
2564
|
-
}
|
|
2565
|
-
},
|
|
2566
|
-
serializer: serializer
|
|
2567
|
-
};
|
|
2568
|
-
var getOperationSpec = {
|
|
2569
|
-
httpMethod: "GET",
|
|
2570
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
2571
|
-
urlParameters: [
|
|
2572
|
-
subscriptionId,
|
|
2573
|
-
resourceGroupName,
|
|
2574
|
-
moveCollectionName
|
|
2575
|
-
],
|
|
2576
|
-
queryParameters: [
|
|
2577
|
-
apiVersion
|
|
2578
|
-
],
|
|
2579
|
-
headerParameters: [
|
|
2580
|
-
acceptLanguage
|
|
2581
|
-
],
|
|
2582
|
-
responses: {
|
|
2583
|
-
200: {
|
|
2584
|
-
bodyMapper: MoveCollection
|
|
2585
|
-
},
|
|
2586
|
-
default: {
|
|
2587
|
-
bodyMapper: CloudError
|
|
2588
|
-
}
|
|
2589
|
-
},
|
|
2590
|
-
serializer: serializer
|
|
2591
|
-
};
|
|
2592
|
-
var listMoveCollectionsBySubscriptionOperationSpec = {
|
|
2593
|
-
httpMethod: "GET",
|
|
2594
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections",
|
|
2595
|
-
urlParameters: [
|
|
2596
|
-
subscriptionId
|
|
2597
|
-
],
|
|
2598
|
-
queryParameters: [
|
|
2599
|
-
apiVersion
|
|
2600
|
-
],
|
|
2601
|
-
headerParameters: [
|
|
2602
|
-
acceptLanguage
|
|
2603
|
-
],
|
|
2604
|
-
responses: {
|
|
2605
|
-
200: {
|
|
2606
|
-
bodyMapper: MoveCollectionResultList
|
|
2607
|
-
},
|
|
2608
|
-
default: {
|
|
2609
|
-
bodyMapper: CloudError
|
|
2610
|
-
}
|
|
2611
|
-
},
|
|
2612
|
-
serializer: serializer
|
|
2613
|
-
};
|
|
2614
|
-
var listMoveCollectionsByResourceGroupOperationSpec = {
|
|
2615
|
-
httpMethod: "GET",
|
|
2616
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections",
|
|
2617
|
-
urlParameters: [
|
|
2618
|
-
subscriptionId,
|
|
2619
|
-
resourceGroupName
|
|
2620
|
-
],
|
|
2621
|
-
queryParameters: [
|
|
2622
|
-
apiVersion
|
|
2623
|
-
],
|
|
2624
|
-
headerParameters: [
|
|
2625
|
-
acceptLanguage
|
|
2626
|
-
],
|
|
2627
|
-
responses: {
|
|
2628
|
-
200: {
|
|
2629
|
-
bodyMapper: MoveCollectionResultList
|
|
2630
|
-
},
|
|
2631
|
-
default: {
|
|
2632
|
-
bodyMapper: CloudError
|
|
2633
|
-
}
|
|
2634
|
-
},
|
|
2635
|
-
serializer: serializer
|
|
2636
|
-
};
|
|
2637
|
-
var listRequiredForOperationSpec = {
|
|
2638
|
-
httpMethod: "GET",
|
|
2639
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor",
|
|
2640
|
-
urlParameters: [
|
|
2641
|
-
subscriptionId,
|
|
2642
|
-
resourceGroupName,
|
|
2643
|
-
moveCollectionName
|
|
2644
|
-
],
|
|
2645
|
-
queryParameters: [
|
|
2646
|
-
sourceId,
|
|
2647
|
-
apiVersion
|
|
2648
|
-
],
|
|
2649
|
-
headerParameters: [
|
|
2650
|
-
acceptLanguage
|
|
2651
|
-
],
|
|
2652
|
-
responses: {
|
|
2653
|
-
200: {
|
|
2654
|
-
bodyMapper: RequiredForResourcesCollection
|
|
2655
|
-
},
|
|
2656
|
-
default: {
|
|
2657
|
-
bodyMapper: CloudError
|
|
2658
|
-
}
|
|
2659
|
-
},
|
|
2660
|
-
serializer: serializer
|
|
2661
|
-
};
|
|
2662
|
-
var beginDeleteMethodOperationSpec = {
|
|
2663
|
-
httpMethod: "DELETE",
|
|
2664
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
2665
|
-
urlParameters: [
|
|
2666
|
-
subscriptionId,
|
|
2667
|
-
resourceGroupName,
|
|
2668
|
-
moveCollectionName
|
|
2669
|
-
],
|
|
2670
|
-
queryParameters: [
|
|
2671
|
-
apiVersion
|
|
2672
|
-
],
|
|
2673
|
-
headerParameters: [
|
|
2674
|
-
acceptLanguage
|
|
2675
|
-
],
|
|
2676
|
-
responses: {
|
|
2677
|
-
200: {
|
|
2678
|
-
bodyMapper: OperationStatus
|
|
2679
|
-
},
|
|
2680
|
-
202: {},
|
|
2681
|
-
204: {},
|
|
2682
|
-
default: {
|
|
2683
|
-
bodyMapper: CloudError
|
|
2684
|
-
}
|
|
2685
|
-
},
|
|
2686
|
-
serializer: serializer
|
|
2687
|
-
};
|
|
2688
|
-
var beginPrepareOperationSpec = {
|
|
2689
|
-
httpMethod: "POST",
|
|
2690
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare",
|
|
2691
|
-
urlParameters: [
|
|
2692
|
-
subscriptionId,
|
|
2693
|
-
resourceGroupName,
|
|
2694
|
-
moveCollectionName
|
|
2695
|
-
],
|
|
2696
|
-
queryParameters: [
|
|
2697
|
-
apiVersion
|
|
2698
|
-
],
|
|
2699
|
-
headerParameters: [
|
|
2700
|
-
acceptLanguage
|
|
2701
|
-
],
|
|
2702
|
-
requestBody: {
|
|
2703
|
-
parameterPath: [
|
|
2704
|
-
"options",
|
|
2705
|
-
"body"
|
|
2706
|
-
],
|
|
2707
|
-
mapper: PrepareRequest
|
|
2708
|
-
},
|
|
2709
|
-
responses: {
|
|
2710
|
-
200: {
|
|
2711
|
-
bodyMapper: OperationStatus
|
|
2712
|
-
},
|
|
2713
|
-
202: {},
|
|
2714
|
-
default: {
|
|
2715
|
-
bodyMapper: CloudError
|
|
2716
|
-
}
|
|
2717
|
-
},
|
|
2718
|
-
serializer: serializer
|
|
2719
|
-
};
|
|
2720
|
-
var beginInitiateMoveOperationSpec = {
|
|
2721
|
-
httpMethod: "POST",
|
|
2722
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove",
|
|
2723
|
-
urlParameters: [
|
|
2724
|
-
subscriptionId,
|
|
2725
|
-
resourceGroupName,
|
|
2726
|
-
moveCollectionName
|
|
2727
|
-
],
|
|
2728
|
-
queryParameters: [
|
|
2729
|
-
apiVersion
|
|
2730
|
-
],
|
|
2731
|
-
headerParameters: [
|
|
2732
|
-
acceptLanguage
|
|
2733
|
-
],
|
|
2734
|
-
requestBody: {
|
|
2735
|
-
parameterPath: [
|
|
2736
|
-
"options",
|
|
2737
|
-
"body"
|
|
2738
|
-
],
|
|
2739
|
-
mapper: ResourceMoveRequest
|
|
2740
|
-
},
|
|
2741
|
-
responses: {
|
|
2742
|
-
200: {
|
|
2743
|
-
bodyMapper: OperationStatus
|
|
2744
|
-
},
|
|
2745
|
-
202: {},
|
|
2746
|
-
default: {
|
|
2747
|
-
bodyMapper: CloudError
|
|
2748
|
-
}
|
|
2749
|
-
},
|
|
2750
|
-
serializer: serializer
|
|
2751
|
-
};
|
|
2752
|
-
var beginCommitOperationSpec = {
|
|
2753
|
-
httpMethod: "POST",
|
|
2754
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit",
|
|
2755
|
-
urlParameters: [
|
|
2756
|
-
subscriptionId,
|
|
2757
|
-
resourceGroupName,
|
|
2758
|
-
moveCollectionName
|
|
2759
|
-
],
|
|
2760
|
-
queryParameters: [
|
|
2761
|
-
apiVersion
|
|
2762
|
-
],
|
|
2763
|
-
headerParameters: [
|
|
2764
|
-
acceptLanguage
|
|
2765
|
-
],
|
|
2766
|
-
requestBody: {
|
|
2767
|
-
parameterPath: [
|
|
2768
|
-
"options",
|
|
2769
|
-
"body"
|
|
2770
|
-
],
|
|
2771
|
-
mapper: CommitRequest
|
|
2772
|
-
},
|
|
2773
|
-
responses: {
|
|
2774
|
-
200: {
|
|
2775
|
-
bodyMapper: OperationStatus
|
|
2776
|
-
},
|
|
2777
|
-
202: {},
|
|
2778
|
-
default: {
|
|
2779
|
-
bodyMapper: CloudError
|
|
2780
|
-
}
|
|
2781
|
-
},
|
|
2782
|
-
serializer: serializer
|
|
2783
|
-
};
|
|
2784
|
-
var beginDiscardOperationSpec = {
|
|
2785
|
-
httpMethod: "POST",
|
|
2786
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard",
|
|
2787
|
-
urlParameters: [
|
|
2788
|
-
subscriptionId,
|
|
2789
|
-
resourceGroupName,
|
|
2790
|
-
moveCollectionName
|
|
2791
|
-
],
|
|
2792
|
-
queryParameters: [
|
|
2793
|
-
apiVersion
|
|
2794
|
-
],
|
|
2795
|
-
headerParameters: [
|
|
2796
|
-
acceptLanguage
|
|
2797
|
-
],
|
|
2798
|
-
requestBody: {
|
|
2799
|
-
parameterPath: [
|
|
2800
|
-
"options",
|
|
2801
|
-
"body"
|
|
2802
|
-
],
|
|
2803
|
-
mapper: DiscardRequest
|
|
2804
|
-
},
|
|
2805
|
-
responses: {
|
|
2806
|
-
200: {
|
|
2807
|
-
bodyMapper: OperationStatus
|
|
2808
|
-
},
|
|
2809
|
-
202: {},
|
|
2810
|
-
default: {
|
|
2811
|
-
bodyMapper: CloudError
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
serializer: serializer
|
|
2815
|
-
};
|
|
2816
|
-
var beginResolveDependenciesOperationSpec = {
|
|
2817
|
-
httpMethod: "POST",
|
|
2818
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/resolveDependencies",
|
|
2819
|
-
urlParameters: [
|
|
2820
|
-
subscriptionId,
|
|
2821
|
-
resourceGroupName,
|
|
2822
|
-
moveCollectionName
|
|
2823
|
-
],
|
|
2824
|
-
queryParameters: [
|
|
2825
|
-
apiVersion
|
|
2826
|
-
],
|
|
2827
|
-
headerParameters: [
|
|
2828
|
-
acceptLanguage
|
|
2829
|
-
],
|
|
2830
|
-
responses: {
|
|
2831
|
-
200: {
|
|
2832
|
-
bodyMapper: OperationStatus
|
|
2833
|
-
},
|
|
2834
|
-
202: {},
|
|
2835
|
-
default: {
|
|
2836
|
-
bodyMapper: CloudError
|
|
2837
|
-
}
|
|
2838
|
-
},
|
|
2839
|
-
serializer: serializer
|
|
2840
|
-
};
|
|
2841
|
-
var beginBulkRemoveOperationSpec = {
|
|
2842
|
-
httpMethod: "POST",
|
|
2843
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/bulkRemove",
|
|
2844
|
-
urlParameters: [
|
|
2845
|
-
subscriptionId,
|
|
2846
|
-
resourceGroupName,
|
|
2847
|
-
moveCollectionName
|
|
2848
|
-
],
|
|
2849
|
-
queryParameters: [
|
|
2850
|
-
apiVersion
|
|
2851
|
-
],
|
|
2852
|
-
headerParameters: [
|
|
2853
|
-
acceptLanguage
|
|
2854
|
-
],
|
|
2855
|
-
requestBody: {
|
|
2856
|
-
parameterPath: [
|
|
2857
|
-
"options",
|
|
2858
|
-
"body"
|
|
2859
|
-
],
|
|
2860
|
-
mapper: BulkRemoveRequest
|
|
2861
|
-
},
|
|
2862
|
-
responses: {
|
|
2863
|
-
200: {
|
|
2864
|
-
bodyMapper: OperationStatus
|
|
2865
|
-
},
|
|
2866
|
-
202: {},
|
|
2867
|
-
default: {
|
|
2868
|
-
bodyMapper: CloudError
|
|
2869
|
-
}
|
|
2870
|
-
},
|
|
2871
|
-
serializer: serializer
|
|
2872
|
-
};
|
|
2873
|
-
var listMoveCollectionsBySubscriptionNextOperationSpec = {
|
|
2874
|
-
httpMethod: "GET",
|
|
2875
|
-
baseUrl: "https://management.azure.com",
|
|
2876
|
-
path: "{nextLink}",
|
|
2877
|
-
urlParameters: [
|
|
2878
|
-
nextPageLink
|
|
2879
|
-
],
|
|
2880
|
-
queryParameters: [
|
|
2881
|
-
apiVersion
|
|
2882
|
-
],
|
|
2883
|
-
headerParameters: [
|
|
2884
|
-
acceptLanguage
|
|
2885
|
-
],
|
|
2886
|
-
responses: {
|
|
2887
|
-
200: {
|
|
2888
|
-
bodyMapper: MoveCollectionResultList
|
|
2889
|
-
},
|
|
2890
|
-
default: {
|
|
2891
|
-
bodyMapper: CloudError
|
|
2892
|
-
}
|
|
2893
|
-
},
|
|
2894
|
-
serializer: serializer
|
|
2895
|
-
};
|
|
2896
|
-
var listMoveCollectionsByResourceGroupNextOperationSpec = {
|
|
2897
|
-
httpMethod: "GET",
|
|
2898
|
-
baseUrl: "https://management.azure.com",
|
|
2899
|
-
path: "{nextLink}",
|
|
2900
|
-
urlParameters: [
|
|
2901
|
-
nextPageLink
|
|
2902
|
-
],
|
|
2903
|
-
queryParameters: [
|
|
2904
|
-
apiVersion
|
|
2905
|
-
],
|
|
2906
|
-
headerParameters: [
|
|
2907
|
-
acceptLanguage
|
|
2908
|
-
],
|
|
2909
|
-
responses: {
|
|
2910
|
-
200: {
|
|
2911
|
-
bodyMapper: MoveCollectionResultList
|
|
2912
|
-
},
|
|
2913
|
-
default: {
|
|
2914
|
-
bodyMapper: CloudError
|
|
2915
|
-
}
|
|
2916
|
-
},
|
|
2917
|
-
serializer: serializer
|
|
2918
|
-
};
|
|
2919
|
-
|
|
2920
|
-
/*
|
|
2921
|
-
* Copyright (c) Microsoft Corporation.
|
|
2922
|
-
* Licensed under the MIT License.
|
|
2923
|
-
*
|
|
2924
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2925
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2926
|
-
*/
|
|
2927
|
-
|
|
2928
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
2929
|
-
__proto__: null,
|
|
2930
|
-
discriminators: discriminators,
|
|
2931
|
-
AffectedMoveResource: AffectedMoveResource,
|
|
2932
|
-
AutomaticResolutionProperties: AutomaticResolutionProperties,
|
|
2933
|
-
AvailabilitySetResourceSettings: AvailabilitySetResourceSettings,
|
|
2934
|
-
AzureResourceReference: AzureResourceReference,
|
|
2935
|
-
BaseResource: BaseResource,
|
|
2936
|
-
CloudError: CloudError,
|
|
2937
|
-
DiskEncryptionSetResourceSettings: DiskEncryptionSetResourceSettings,
|
|
2938
|
-
Identity: Identity,
|
|
2939
|
-
JobStatus: JobStatus,
|
|
2940
|
-
KeyVaultResourceSettings: KeyVaultResourceSettings,
|
|
2941
|
-
LBBackendAddressPoolResourceSettings: LBBackendAddressPoolResourceSettings,
|
|
2942
|
-
LBFrontendIPConfigurationResourceSettings: LBFrontendIPConfigurationResourceSettings,
|
|
2943
|
-
LoadBalancerBackendAddressPoolReference: LoadBalancerBackendAddressPoolReference,
|
|
2944
|
-
LoadBalancerNatRuleReference: LoadBalancerNatRuleReference,
|
|
2945
|
-
LoadBalancerResourceSettings: LoadBalancerResourceSettings,
|
|
2946
|
-
ManualResolutionProperties: ManualResolutionProperties,
|
|
2947
|
-
MoveCollection: MoveCollection,
|
|
2948
|
-
MoveCollectionProperties: MoveCollectionProperties,
|
|
2949
|
-
MoveCollectionPropertiesErrors: MoveCollectionPropertiesErrors,
|
|
2950
|
-
MoveErrorInfo: MoveErrorInfo,
|
|
2951
|
-
MoveResource: MoveResource,
|
|
2952
|
-
MoveResourceCollection: MoveResourceCollection,
|
|
2953
|
-
MoveResourceDependency: MoveResourceDependency,
|
|
2954
|
-
MoveResourceDependencyOverride: MoveResourceDependencyOverride,
|
|
2955
|
-
MoveResourceError: MoveResourceError,
|
|
2956
|
-
MoveResourceErrorBody: MoveResourceErrorBody,
|
|
2957
|
-
MoveResourceProperties: MoveResourceProperties,
|
|
2958
|
-
MoveResourcePropertiesErrors: MoveResourcePropertiesErrors,
|
|
2959
|
-
MoveResourcePropertiesMoveStatus: MoveResourcePropertiesMoveStatus,
|
|
2960
|
-
MoveResourceStatus: MoveResourceStatus,
|
|
2961
|
-
NetworkInterfaceResourceSettings: NetworkInterfaceResourceSettings,
|
|
2962
|
-
NetworkSecurityGroupResourceSettings: NetworkSecurityGroupResourceSettings,
|
|
2963
|
-
NicIpConfigurationResourceSettings: NicIpConfigurationResourceSettings,
|
|
2964
|
-
NsgReference: NsgReference,
|
|
2965
|
-
NsgSecurityRule: NsgSecurityRule,
|
|
2966
|
-
OperationErrorAdditionalInfo: OperationErrorAdditionalInfo,
|
|
2967
|
-
OperationStatus: OperationStatus,
|
|
2968
|
-
OperationStatusError: OperationStatusError,
|
|
2969
|
-
ProxyResourceReference: ProxyResourceReference,
|
|
2970
|
-
PublicIPAddressResourceSettings: PublicIPAddressResourceSettings,
|
|
2971
|
-
PublicIpReference: PublicIpReference,
|
|
2972
|
-
ResourceGroupResourceSettings: ResourceGroupResourceSettings,
|
|
2973
|
-
ResourceSettings: ResourceSettings,
|
|
2974
|
-
SqlDatabaseResourceSettings: SqlDatabaseResourceSettings,
|
|
2975
|
-
SqlElasticPoolResourceSettings: SqlElasticPoolResourceSettings,
|
|
2976
|
-
SqlServerResourceSettings: SqlServerResourceSettings,
|
|
2977
|
-
SubnetReference: SubnetReference,
|
|
2978
|
-
SubnetResourceSettings: SubnetResourceSettings,
|
|
2979
|
-
Summary: Summary,
|
|
2980
|
-
SummaryCollection: SummaryCollection,
|
|
2981
|
-
VirtualMachineResourceSettings: VirtualMachineResourceSettings,
|
|
2982
|
-
VirtualNetworkResourceSettings: VirtualNetworkResourceSettings
|
|
2983
|
-
});
|
|
2984
|
-
|
|
2985
|
-
/*
|
|
2986
|
-
* Copyright (c) Microsoft Corporation.
|
|
2987
|
-
* Licensed under the MIT License.
|
|
2988
|
-
*
|
|
2989
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2990
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2991
|
-
* regenerated.
|
|
2992
|
-
*/
|
|
2993
|
-
/** Class representing a MoveResources. */
|
|
2994
|
-
var MoveResources = /** @class */ (function () {
|
|
2995
|
-
/**
|
|
2996
|
-
* Create a MoveResources.
|
|
2997
|
-
* @param {ResourceMoverServiceAPIContext} client Reference to the service client.
|
|
2998
|
-
*/
|
|
2999
|
-
function MoveResources(client) {
|
|
3000
|
-
this.client = client;
|
|
3001
|
-
}
|
|
3002
|
-
MoveResources.prototype.list = function (resourceGroupName, moveCollectionName, options, callback) {
|
|
3003
|
-
return this.client.sendOperationRequest({
|
|
3004
|
-
resourceGroupName: resourceGroupName,
|
|
3005
|
-
moveCollectionName: moveCollectionName,
|
|
3006
|
-
options: options
|
|
3007
|
-
}, listOperationSpec, callback);
|
|
3008
|
-
};
|
|
3009
|
-
/**
|
|
3010
|
-
* Creates or updates a Move Resource in the move collection.
|
|
3011
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3012
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3013
|
-
* @param moveResourceName The Move Resource Name.
|
|
3014
|
-
* @param [options] The optional parameters
|
|
3015
|
-
* @returns Promise<Models.MoveResourcesCreateResponse>
|
|
3016
|
-
*/
|
|
3017
|
-
MoveResources.prototype.create = function (resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3018
|
-
return this.beginCreate(resourceGroupName, moveCollectionName, moveResourceName, options)
|
|
3019
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3020
|
-
};
|
|
3021
|
-
/**
|
|
3022
|
-
* Deletes a Move Resource from the move collection.
|
|
3023
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3024
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3025
|
-
* @param moveResourceName The Move Resource Name.
|
|
3026
|
-
* @param [options] The optional parameters
|
|
3027
|
-
* @returns Promise<Models.MoveResourcesDeleteMethodResponse>
|
|
3028
|
-
*/
|
|
3029
|
-
MoveResources.prototype.deleteMethod = function (resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3030
|
-
return this.beginDeleteMethod(resourceGroupName, moveCollectionName, moveResourceName, options)
|
|
3031
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3032
|
-
};
|
|
3033
|
-
MoveResources.prototype.get = function (resourceGroupName, moveCollectionName, moveResourceName, options, callback) {
|
|
3034
|
-
return this.client.sendOperationRequest({
|
|
3035
|
-
resourceGroupName: resourceGroupName,
|
|
3036
|
-
moveCollectionName: moveCollectionName,
|
|
3037
|
-
moveResourceName: moveResourceName,
|
|
3038
|
-
options: options
|
|
3039
|
-
}, getOperationSpec$1, callback);
|
|
3040
|
-
};
|
|
3041
|
-
/**
|
|
3042
|
-
* Creates or updates a Move Resource in the move collection.
|
|
3043
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3044
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3045
|
-
* @param moveResourceName The Move Resource Name.
|
|
3046
|
-
* @param [options] The optional parameters
|
|
3047
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3048
|
-
*/
|
|
3049
|
-
MoveResources.prototype.beginCreate = function (resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3050
|
-
return this.client.sendLRORequest({
|
|
3051
|
-
resourceGroupName: resourceGroupName,
|
|
3052
|
-
moveCollectionName: moveCollectionName,
|
|
3053
|
-
moveResourceName: moveResourceName,
|
|
3054
|
-
options: options
|
|
3055
|
-
}, beginCreateOperationSpec, options);
|
|
3056
|
-
};
|
|
3057
|
-
/**
|
|
3058
|
-
* Deletes a Move Resource from the move collection.
|
|
3059
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3060
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3061
|
-
* @param moveResourceName The Move Resource Name.
|
|
3062
|
-
* @param [options] The optional parameters
|
|
3063
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3064
|
-
*/
|
|
3065
|
-
MoveResources.prototype.beginDeleteMethod = function (resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3066
|
-
return this.client.sendLRORequest({
|
|
3067
|
-
resourceGroupName: resourceGroupName,
|
|
3068
|
-
moveCollectionName: moveCollectionName,
|
|
3069
|
-
moveResourceName: moveResourceName,
|
|
3070
|
-
options: options
|
|
3071
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
3072
|
-
};
|
|
3073
|
-
MoveResources.prototype.listNext = function (nextPageLink, options, callback) {
|
|
3074
|
-
return this.client.sendOperationRequest({
|
|
3075
|
-
nextPageLink: nextPageLink,
|
|
3076
|
-
options: options
|
|
3077
|
-
}, listNextOperationSpec, callback);
|
|
3078
|
-
};
|
|
3079
|
-
return MoveResources;
|
|
3080
|
-
}());
|
|
3081
|
-
// Operation Specifications
|
|
3082
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
3083
|
-
var listOperationSpec = {
|
|
3084
|
-
httpMethod: "GET",
|
|
3085
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources",
|
|
3086
|
-
urlParameters: [
|
|
3087
|
-
subscriptionId,
|
|
3088
|
-
resourceGroupName,
|
|
3089
|
-
moveCollectionName
|
|
3090
|
-
],
|
|
3091
|
-
queryParameters: [
|
|
3092
|
-
apiVersion,
|
|
3093
|
-
filter
|
|
3094
|
-
],
|
|
3095
|
-
headerParameters: [
|
|
3096
|
-
acceptLanguage
|
|
3097
|
-
],
|
|
3098
|
-
responses: {
|
|
3099
|
-
200: {
|
|
3100
|
-
bodyMapper: MoveResourceCollection
|
|
3101
|
-
},
|
|
3102
|
-
default: {
|
|
3103
|
-
bodyMapper: CloudError
|
|
3104
|
-
}
|
|
3105
|
-
},
|
|
3106
|
-
serializer: serializer$1
|
|
3107
|
-
};
|
|
3108
|
-
var getOperationSpec$1 = {
|
|
3109
|
-
httpMethod: "GET",
|
|
3110
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}",
|
|
3111
|
-
urlParameters: [
|
|
3112
|
-
subscriptionId,
|
|
3113
|
-
resourceGroupName,
|
|
3114
|
-
moveCollectionName,
|
|
3115
|
-
moveResourceName
|
|
3116
|
-
],
|
|
3117
|
-
queryParameters: [
|
|
3118
|
-
apiVersion
|
|
3119
|
-
],
|
|
3120
|
-
headerParameters: [
|
|
3121
|
-
acceptLanguage
|
|
3122
|
-
],
|
|
3123
|
-
responses: {
|
|
3124
|
-
200: {
|
|
3125
|
-
bodyMapper: MoveResource
|
|
3126
|
-
},
|
|
3127
|
-
default: {
|
|
3128
|
-
bodyMapper: CloudError
|
|
3129
|
-
}
|
|
3130
|
-
},
|
|
3131
|
-
serializer: serializer$1
|
|
3132
|
-
};
|
|
3133
|
-
var beginCreateOperationSpec = {
|
|
3134
|
-
httpMethod: "PUT",
|
|
3135
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}",
|
|
3136
|
-
urlParameters: [
|
|
3137
|
-
subscriptionId,
|
|
3138
|
-
resourceGroupName,
|
|
3139
|
-
moveCollectionName,
|
|
3140
|
-
moveResourceName
|
|
3141
|
-
],
|
|
3142
|
-
queryParameters: [
|
|
3143
|
-
apiVersion
|
|
3144
|
-
],
|
|
3145
|
-
headerParameters: [
|
|
3146
|
-
acceptLanguage
|
|
3147
|
-
],
|
|
3148
|
-
requestBody: {
|
|
3149
|
-
parameterPath: {
|
|
3150
|
-
properties: [
|
|
3151
|
-
"options",
|
|
3152
|
-
"properties"
|
|
3153
|
-
]
|
|
3154
|
-
},
|
|
3155
|
-
mapper: MoveResource
|
|
3156
|
-
},
|
|
3157
|
-
responses: {
|
|
3158
|
-
200: {
|
|
3159
|
-
bodyMapper: MoveResource
|
|
3160
|
-
},
|
|
3161
|
-
202: {},
|
|
3162
|
-
default: {
|
|
3163
|
-
bodyMapper: CloudError
|
|
3164
|
-
}
|
|
3165
|
-
},
|
|
3166
|
-
serializer: serializer$1
|
|
3167
|
-
};
|
|
3168
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
3169
|
-
httpMethod: "DELETE",
|
|
3170
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}",
|
|
3171
|
-
urlParameters: [
|
|
3172
|
-
subscriptionId,
|
|
3173
|
-
resourceGroupName,
|
|
3174
|
-
moveCollectionName,
|
|
3175
|
-
moveResourceName
|
|
3176
|
-
],
|
|
3177
|
-
queryParameters: [
|
|
3178
|
-
apiVersion
|
|
3179
|
-
],
|
|
3180
|
-
headerParameters: [
|
|
3181
|
-
acceptLanguage
|
|
3182
|
-
],
|
|
3183
|
-
responses: {
|
|
3184
|
-
200: {
|
|
3185
|
-
bodyMapper: OperationStatus
|
|
3186
|
-
},
|
|
3187
|
-
202: {},
|
|
3188
|
-
204: {},
|
|
3189
|
-
default: {
|
|
3190
|
-
bodyMapper: CloudError
|
|
3191
|
-
}
|
|
3192
|
-
},
|
|
3193
|
-
serializer: serializer$1
|
|
3194
|
-
};
|
|
3195
|
-
var listNextOperationSpec = {
|
|
3196
|
-
httpMethod: "GET",
|
|
3197
|
-
baseUrl: "https://management.azure.com",
|
|
3198
|
-
path: "{nextLink}",
|
|
3199
|
-
urlParameters: [
|
|
3200
|
-
nextPageLink
|
|
3201
|
-
],
|
|
3202
|
-
queryParameters: [
|
|
3203
|
-
apiVersion,
|
|
3204
|
-
filter
|
|
3205
|
-
],
|
|
3206
|
-
headerParameters: [
|
|
3207
|
-
acceptLanguage
|
|
3208
|
-
],
|
|
3209
|
-
responses: {
|
|
3210
|
-
200: {
|
|
3211
|
-
bodyMapper: MoveResourceCollection
|
|
3212
|
-
},
|
|
3213
|
-
default: {
|
|
3214
|
-
bodyMapper: CloudError
|
|
3215
|
-
}
|
|
3216
|
-
},
|
|
3217
|
-
serializer: serializer$1
|
|
3218
|
-
};
|
|
3219
|
-
|
|
3220
|
-
/*
|
|
3221
|
-
* Copyright (c) Microsoft Corporation.
|
|
3222
|
-
* Licensed under the MIT License.
|
|
3223
|
-
*
|
|
3224
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3225
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3226
|
-
*/
|
|
3227
|
-
|
|
3228
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
3229
|
-
__proto__: null,
|
|
3230
|
-
discriminators: discriminators,
|
|
3231
|
-
CloudError: CloudError,
|
|
3232
|
-
Summary: Summary,
|
|
3233
|
-
SummaryCollection: SummaryCollection,
|
|
3234
|
-
UnresolvedDependency: UnresolvedDependency,
|
|
3235
|
-
UnresolvedDependencyCollection: UnresolvedDependencyCollection
|
|
3236
|
-
});
|
|
3237
|
-
|
|
3238
|
-
/*
|
|
3239
|
-
* Copyright (c) Microsoft Corporation.
|
|
3240
|
-
* Licensed under the MIT License.
|
|
3241
|
-
*
|
|
3242
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3243
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3244
|
-
* regenerated.
|
|
3245
|
-
*/
|
|
3246
|
-
/** Class representing a UnresolvedDependencies. */
|
|
3247
|
-
var UnresolvedDependencies = /** @class */ (function () {
|
|
3248
|
-
/**
|
|
3249
|
-
* Create a UnresolvedDependencies.
|
|
3250
|
-
* @param {ResourceMoverServiceAPIContext} client Reference to the service client.
|
|
3251
|
-
*/
|
|
3252
|
-
function UnresolvedDependencies(client) {
|
|
3253
|
-
this.client = client;
|
|
3254
|
-
}
|
|
3255
|
-
UnresolvedDependencies.prototype.get = function (resourceGroupName, moveCollectionName, options, callback) {
|
|
3256
|
-
return this.client.sendOperationRequest({
|
|
3257
|
-
resourceGroupName: resourceGroupName,
|
|
3258
|
-
moveCollectionName: moveCollectionName,
|
|
3259
|
-
options: options
|
|
3260
|
-
}, getOperationSpec$2, callback);
|
|
3261
|
-
};
|
|
3262
|
-
UnresolvedDependencies.prototype.getNext = function (nextPageLink, options, callback) {
|
|
3263
|
-
return this.client.sendOperationRequest({
|
|
3264
|
-
nextPageLink: nextPageLink,
|
|
3265
|
-
options: options
|
|
3266
|
-
}, getNextOperationSpec, callback);
|
|
3267
|
-
};
|
|
3268
|
-
return UnresolvedDependencies;
|
|
3269
|
-
}());
|
|
3270
|
-
// Operation Specifications
|
|
3271
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
3272
|
-
var getOperationSpec$2 = {
|
|
3273
|
-
httpMethod: "GET",
|
|
3274
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies",
|
|
3275
|
-
urlParameters: [
|
|
3276
|
-
subscriptionId,
|
|
3277
|
-
resourceGroupName,
|
|
3278
|
-
moveCollectionName
|
|
3279
|
-
],
|
|
3280
|
-
queryParameters: [
|
|
3281
|
-
dependencyLevel,
|
|
3282
|
-
orderby,
|
|
3283
|
-
apiVersion,
|
|
3284
|
-
filter
|
|
3285
|
-
],
|
|
3286
|
-
headerParameters: [
|
|
3287
|
-
acceptLanguage
|
|
3288
|
-
],
|
|
3289
|
-
responses: {
|
|
3290
|
-
200: {
|
|
3291
|
-
bodyMapper: UnresolvedDependencyCollection
|
|
3292
|
-
},
|
|
3293
|
-
default: {
|
|
3294
|
-
bodyMapper: CloudError
|
|
3295
|
-
}
|
|
3296
|
-
},
|
|
3297
|
-
serializer: serializer$2
|
|
3298
|
-
};
|
|
3299
|
-
var getNextOperationSpec = {
|
|
3300
|
-
httpMethod: "GET",
|
|
3301
|
-
baseUrl: "https://management.azure.com",
|
|
3302
|
-
path: "{nextLink}",
|
|
3303
|
-
urlParameters: [
|
|
3304
|
-
nextPageLink
|
|
3305
|
-
],
|
|
3306
|
-
queryParameters: [
|
|
3307
|
-
dependencyLevel,
|
|
3308
|
-
orderby,
|
|
3309
|
-
apiVersion,
|
|
3310
|
-
filter
|
|
3311
|
-
],
|
|
3312
|
-
headerParameters: [
|
|
3313
|
-
acceptLanguage
|
|
3314
|
-
],
|
|
3315
|
-
responses: {
|
|
3316
|
-
200: {
|
|
3317
|
-
bodyMapper: UnresolvedDependencyCollection
|
|
3318
|
-
},
|
|
3319
|
-
default: {
|
|
3320
|
-
bodyMapper: CloudError
|
|
3321
|
-
}
|
|
3322
|
-
},
|
|
3323
|
-
serializer: serializer$2
|
|
3324
|
-
};
|
|
3325
|
-
|
|
3326
|
-
/*
|
|
3327
|
-
* Copyright (c) Microsoft Corporation.
|
|
3328
|
-
* Licensed under the MIT License.
|
|
3329
|
-
*
|
|
3330
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3331
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3332
|
-
*/
|
|
3333
|
-
|
|
3334
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
3335
|
-
__proto__: null,
|
|
3336
|
-
discriminators: discriminators,
|
|
3337
|
-
CloudError: CloudError,
|
|
3338
|
-
Display: Display,
|
|
3339
|
-
OperationsDiscovery: OperationsDiscovery,
|
|
3340
|
-
OperationsDiscoveryCollection: OperationsDiscoveryCollection
|
|
3341
|
-
});
|
|
3342
|
-
|
|
3343
|
-
/*
|
|
3344
|
-
* Copyright (c) Microsoft Corporation.
|
|
3345
|
-
* Licensed under the MIT License.
|
|
3346
|
-
*
|
|
3347
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3348
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3349
|
-
* regenerated.
|
|
3350
|
-
*/
|
|
3351
|
-
/** Class representing a OperationsDiscoveryOperations. */
|
|
3352
|
-
var OperationsDiscoveryOperations = /** @class */ (function () {
|
|
3353
|
-
/**
|
|
3354
|
-
* Create a OperationsDiscoveryOperations.
|
|
3355
|
-
* @param {ResourceMoverServiceAPIContext} client Reference to the service client.
|
|
3356
|
-
*/
|
|
3357
|
-
function OperationsDiscoveryOperations(client) {
|
|
3358
|
-
this.client = client;
|
|
3359
|
-
}
|
|
3360
|
-
OperationsDiscoveryOperations.prototype.get = function (options, callback) {
|
|
3361
|
-
return this.client.sendOperationRequest({
|
|
3362
|
-
options: options
|
|
3363
|
-
}, getOperationSpec$3, callback);
|
|
3364
|
-
};
|
|
3365
|
-
return OperationsDiscoveryOperations;
|
|
3366
|
-
}());
|
|
3367
|
-
// Operation Specifications
|
|
3368
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
3369
|
-
var getOperationSpec$3 = {
|
|
3370
|
-
httpMethod: "GET",
|
|
3371
|
-
path: "providers/Microsoft.Migrate/operations",
|
|
3372
|
-
queryParameters: [
|
|
3373
|
-
apiVersion
|
|
3374
|
-
],
|
|
3375
|
-
headerParameters: [
|
|
3376
|
-
acceptLanguage
|
|
3377
|
-
],
|
|
3378
|
-
responses: {
|
|
3379
|
-
200: {
|
|
3380
|
-
bodyMapper: OperationsDiscoveryCollection
|
|
3381
|
-
},
|
|
3382
|
-
default: {
|
|
3383
|
-
bodyMapper: CloudError
|
|
3384
|
-
}
|
|
3385
|
-
},
|
|
3386
|
-
serializer: serializer$3
|
|
3387
|
-
};
|
|
3388
|
-
|
|
3389
|
-
/*
|
|
3390
|
-
* Copyright (c) Microsoft Corporation.
|
|
3391
|
-
* Licensed under the MIT License.
|
|
3392
|
-
*
|
|
3393
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3394
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3395
|
-
* regenerated.
|
|
3396
|
-
*/
|
|
3397
|
-
var packageName = "@azure/arm-resourcemover";
|
|
3398
|
-
var packageVersion = "1.1.1";
|
|
3399
|
-
var ResourceMoverServiceAPIContext = /** @class */ (function (_super) {
|
|
3400
|
-
__extends(ResourceMoverServiceAPIContext, _super);
|
|
3401
|
-
/**
|
|
3402
|
-
* Initializes a new instance of the ResourceMoverServiceAPI class.
|
|
3403
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3404
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3405
|
-
* more information about these credentials, see
|
|
3406
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3407
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3408
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3409
|
-
* @param subscriptionId The Subscription ID.
|
|
3410
|
-
* @param [options] The parameter options
|
|
3411
|
-
*/
|
|
3412
|
-
function ResourceMoverServiceAPIContext(credentials, subscriptionId, options) {
|
|
3413
|
-
var _this = this;
|
|
3414
|
-
if (credentials == undefined) {
|
|
3415
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
3416
|
-
}
|
|
3417
|
-
if (subscriptionId == undefined) {
|
|
3418
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
3419
|
-
}
|
|
3420
|
-
if (!options) {
|
|
3421
|
-
options = {};
|
|
3422
|
-
}
|
|
3423
|
-
if (!options.userAgent) {
|
|
3424
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
3425
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
3426
|
-
}
|
|
3427
|
-
_this = _super.call(this, credentials, options) || this;
|
|
3428
|
-
_this.apiVersion = '2021-01-01';
|
|
3429
|
-
_this.acceptLanguage = 'en-US';
|
|
3430
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
3431
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
3432
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
3433
|
-
_this.credentials = credentials;
|
|
3434
|
-
_this.subscriptionId = subscriptionId;
|
|
3435
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
3436
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
3437
|
-
}
|
|
3438
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
3439
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
3440
|
-
}
|
|
3441
|
-
return _this;
|
|
3442
|
-
}
|
|
3443
|
-
return ResourceMoverServiceAPIContext;
|
|
3444
|
-
}(msRestAzure.AzureServiceClient));
|
|
3445
|
-
|
|
3446
|
-
/*
|
|
3447
|
-
* Copyright (c) Microsoft Corporation.
|
|
3448
|
-
* Licensed under the MIT License.
|
|
3449
|
-
*
|
|
3450
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3451
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3452
|
-
* regenerated.
|
|
3453
|
-
*/
|
|
3454
|
-
var ResourceMoverServiceAPI = /** @class */ (function (_super) {
|
|
3455
|
-
__extends(ResourceMoverServiceAPI, _super);
|
|
3456
|
-
/**
|
|
3457
|
-
* Initializes a new instance of the ResourceMoverServiceAPI class.
|
|
3458
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3459
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3460
|
-
* more information about these credentials, see
|
|
3461
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3462
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3463
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3464
|
-
* @param subscriptionId The Subscription ID.
|
|
3465
|
-
* @param [options] The parameter options
|
|
3466
|
-
*/
|
|
3467
|
-
function ResourceMoverServiceAPI(credentials, subscriptionId, options) {
|
|
3468
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
3469
|
-
_this.moveCollections = new MoveCollections(_this);
|
|
3470
|
-
_this.moveResources = new MoveResources(_this);
|
|
3471
|
-
_this.unresolvedDependencies = new UnresolvedDependencies(_this);
|
|
3472
|
-
_this.operationsDiscovery = new OperationsDiscoveryOperations(_this);
|
|
3473
|
-
return _this;
|
|
3474
|
-
}
|
|
3475
|
-
return ResourceMoverServiceAPI;
|
|
3476
|
-
}(ResourceMoverServiceAPIContext));
|
|
3477
|
-
|
|
3478
|
-
exports.MoveCollections = MoveCollections;
|
|
3479
|
-
exports.MoveResources = MoveResources;
|
|
3480
|
-
exports.OperationsDiscoveryOperations = OperationsDiscoveryOperations;
|
|
3481
|
-
exports.ResourceMoverServiceAPI = ResourceMoverServiceAPI;
|
|
3482
|
-
exports.ResourceMoverServiceAPIContext = ResourceMoverServiceAPIContext;
|
|
3483
|
-
exports.ResourceMoverServiceAPIMappers = mappers;
|
|
3484
|
-
exports.ResourceMoverServiceAPIModels = index;
|
|
3485
|
-
exports.UnresolvedDependencies = UnresolvedDependencies;
|
|
3486
|
-
|
|
3487
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3488
|
-
|
|
3489
|
-
})));
|
|
3490
|
-
//# sourceMappingURL=arm-resourcemover.js.map
|