@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
|
@@ -0,0 +1,961 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing MoveCollections operations. */
|
|
16
|
+
export class MoveCollectionsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class MoveCollections class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Get all the Move Collections in the subscription.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listMoveCollectionsBySubscription(options) {
|
|
29
|
+
const iter = this.listMoveCollectionsBySubscriptionPagingAll(options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listMoveCollectionsBySubscriptionPagingPage(options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listMoveCollectionsBySubscriptionPagingPage(options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listMoveCollectionsBySubscriptionPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listMoveCollectionsBySubscription(options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listMoveCollectionsBySubscriptionNext(continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listMoveCollectionsBySubscriptionPagingAll(options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listMoveCollectionsBySubscriptionPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listMoveCollectionsBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get all the Move Collections in the resource group.
|
|
74
|
+
* @param resourceGroupName The Resource Group Name.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
listMoveCollectionsByResourceGroup(resourceGroupName, options) {
|
|
78
|
+
const iter = this.listMoveCollectionsByResourceGroupPagingAll(resourceGroupName, options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listMoveCollectionsByResourceGroupPagingPage(resourceGroupName, options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listMoveCollectionsByResourceGroupPagingPage(resourceGroupName, options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listMoveCollectionsByResourceGroupPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._listMoveCollectionsByResourceGroup(resourceGroupName, options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listMoveCollectionsByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listMoveCollectionsByResourceGroupPagingAll(resourceGroupName, options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listMoveCollectionsByResourceGroupPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listMoveCollectionsByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Creates or updates a move collection.
|
|
123
|
+
* @param resourceGroupName The Resource Group Name.
|
|
124
|
+
* @param moveCollectionName The Move Collection Name.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
create(resourceGroupName, moveCollectionName, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, createOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Updates a move collection.
|
|
132
|
+
* @param resourceGroupName The Resource Group Name.
|
|
133
|
+
* @param moveCollectionName The Move Collection Name.
|
|
134
|
+
* @param options The options parameters.
|
|
135
|
+
*/
|
|
136
|
+
update(resourceGroupName, moveCollectionName, options) {
|
|
137
|
+
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, updateOperationSpec);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Deletes a move collection.
|
|
141
|
+
* @param resourceGroupName The Resource Group Name.
|
|
142
|
+
* @param moveCollectionName The Move Collection Name.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
beginDelete(resourceGroupName, moveCollectionName, options) {
|
|
146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
return this.client.sendOperationRequest(args, spec);
|
|
149
|
+
});
|
|
150
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
var _a;
|
|
152
|
+
let currentRawResponse = undefined;
|
|
153
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
154
|
+
const callback = (rawResponse, flatResponse) => {
|
|
155
|
+
currentRawResponse = rawResponse;
|
|
156
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
157
|
+
};
|
|
158
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
159
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
160
|
+
return {
|
|
161
|
+
flatResponse,
|
|
162
|
+
rawResponse: {
|
|
163
|
+
statusCode: currentRawResponse.status,
|
|
164
|
+
body: currentRawResponse.parsedBody,
|
|
165
|
+
headers: currentRawResponse.headers.toJSON()
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
});
|
|
169
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, deleteOperationSpec);
|
|
170
|
+
return new LroEngine(lro, {
|
|
171
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
172
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
173
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Deletes a move collection.
|
|
179
|
+
* @param resourceGroupName The Resource Group Name.
|
|
180
|
+
* @param moveCollectionName The Move Collection Name.
|
|
181
|
+
* @param options The options parameters.
|
|
182
|
+
*/
|
|
183
|
+
beginDeleteAndWait(resourceGroupName, moveCollectionName, options) {
|
|
184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
+
const poller = yield this.beginDelete(resourceGroupName, moveCollectionName, options);
|
|
186
|
+
return poller.pollUntilDone();
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Gets the move collection.
|
|
191
|
+
* @param resourceGroupName The Resource Group Name.
|
|
192
|
+
* @param moveCollectionName The Move Collection Name.
|
|
193
|
+
* @param options The options parameters.
|
|
194
|
+
*/
|
|
195
|
+
get(resourceGroupName, moveCollectionName, options) {
|
|
196
|
+
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, getOperationSpec);
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Initiates prepare for the set of resources included in the request body. The prepare operation is on
|
|
200
|
+
* the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
|
|
201
|
+
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
202
|
+
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
203
|
+
* @param resourceGroupName The Resource Group Name.
|
|
204
|
+
* @param moveCollectionName The Move Collection Name.
|
|
205
|
+
* @param options The options parameters.
|
|
206
|
+
*/
|
|
207
|
+
beginPrepare(resourceGroupName, moveCollectionName, options) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
return this.client.sendOperationRequest(args, spec);
|
|
211
|
+
});
|
|
212
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
var _a;
|
|
214
|
+
let currentRawResponse = undefined;
|
|
215
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
216
|
+
const callback = (rawResponse, flatResponse) => {
|
|
217
|
+
currentRawResponse = rawResponse;
|
|
218
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
219
|
+
};
|
|
220
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
221
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
222
|
+
return {
|
|
223
|
+
flatResponse,
|
|
224
|
+
rawResponse: {
|
|
225
|
+
statusCode: currentRawResponse.status,
|
|
226
|
+
body: currentRawResponse.parsedBody,
|
|
227
|
+
headers: currentRawResponse.headers.toJSON()
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
});
|
|
231
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, prepareOperationSpec);
|
|
232
|
+
return new LroEngine(lro, {
|
|
233
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
234
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
235
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
236
|
+
});
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Initiates prepare for the set of resources included in the request body. The prepare operation is on
|
|
241
|
+
* the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
|
|
242
|
+
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
243
|
+
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
244
|
+
* @param resourceGroupName The Resource Group Name.
|
|
245
|
+
* @param moveCollectionName The Move Collection Name.
|
|
246
|
+
* @param options The options parameters.
|
|
247
|
+
*/
|
|
248
|
+
beginPrepareAndWait(resourceGroupName, moveCollectionName, options) {
|
|
249
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
250
|
+
const poller = yield this.beginPrepare(resourceGroupName, moveCollectionName, options);
|
|
251
|
+
return poller.pollUntilDone();
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Moves the set of resources included in the request body. The move operation is triggered after the
|
|
256
|
+
* moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
|
|
257
|
+
* moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
258
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
259
|
+
* @param resourceGroupName The Resource Group Name.
|
|
260
|
+
* @param moveCollectionName The Move Collection Name.
|
|
261
|
+
* @param options The options parameters.
|
|
262
|
+
*/
|
|
263
|
+
beginInitiateMove(resourceGroupName, moveCollectionName, options) {
|
|
264
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
265
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
266
|
+
return this.client.sendOperationRequest(args, spec);
|
|
267
|
+
});
|
|
268
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
var _a;
|
|
270
|
+
let currentRawResponse = undefined;
|
|
271
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
272
|
+
const callback = (rawResponse, flatResponse) => {
|
|
273
|
+
currentRawResponse = rawResponse;
|
|
274
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
275
|
+
};
|
|
276
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
277
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
278
|
+
return {
|
|
279
|
+
flatResponse,
|
|
280
|
+
rawResponse: {
|
|
281
|
+
statusCode: currentRawResponse.status,
|
|
282
|
+
body: currentRawResponse.parsedBody,
|
|
283
|
+
headers: currentRawResponse.headers.toJSON()
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
});
|
|
287
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, initiateMoveOperationSpec);
|
|
288
|
+
return new LroEngine(lro, {
|
|
289
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
290
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
291
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Moves the set of resources included in the request body. The move operation is triggered after the
|
|
297
|
+
* moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
|
|
298
|
+
* moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
299
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
300
|
+
* @param resourceGroupName The Resource Group Name.
|
|
301
|
+
* @param moveCollectionName The Move Collection Name.
|
|
302
|
+
* @param options The options parameters.
|
|
303
|
+
*/
|
|
304
|
+
beginInitiateMoveAndWait(resourceGroupName, moveCollectionName, options) {
|
|
305
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
306
|
+
const poller = yield this.beginInitiateMove(resourceGroupName, moveCollectionName, options);
|
|
307
|
+
return poller.pollUntilDone();
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Commits the set of resources included in the request body. The commit operation is triggered on the
|
|
312
|
+
* moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
|
|
313
|
+
* moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
|
|
314
|
+
* the client can call operation with validateOnly property set to true.
|
|
315
|
+
* @param resourceGroupName The Resource Group Name.
|
|
316
|
+
* @param moveCollectionName The Move Collection Name.
|
|
317
|
+
* @param options The options parameters.
|
|
318
|
+
*/
|
|
319
|
+
beginCommit(resourceGroupName, moveCollectionName, options) {
|
|
320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
321
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
322
|
+
return this.client.sendOperationRequest(args, spec);
|
|
323
|
+
});
|
|
324
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
var _a;
|
|
326
|
+
let currentRawResponse = undefined;
|
|
327
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
328
|
+
const callback = (rawResponse, flatResponse) => {
|
|
329
|
+
currentRawResponse = rawResponse;
|
|
330
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
331
|
+
};
|
|
332
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
333
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
334
|
+
return {
|
|
335
|
+
flatResponse,
|
|
336
|
+
rawResponse: {
|
|
337
|
+
statusCode: currentRawResponse.status,
|
|
338
|
+
body: currentRawResponse.parsedBody,
|
|
339
|
+
headers: currentRawResponse.headers.toJSON()
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
});
|
|
343
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, commitOperationSpec);
|
|
344
|
+
return new LroEngine(lro, {
|
|
345
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
346
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
347
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
348
|
+
});
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* Commits the set of resources included in the request body. The commit operation is triggered on the
|
|
353
|
+
* moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
|
|
354
|
+
* moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
|
|
355
|
+
* the client can call operation with validateOnly property set to true.
|
|
356
|
+
* @param resourceGroupName The Resource Group Name.
|
|
357
|
+
* @param moveCollectionName The Move Collection Name.
|
|
358
|
+
* @param options The options parameters.
|
|
359
|
+
*/
|
|
360
|
+
beginCommitAndWait(resourceGroupName, moveCollectionName, options) {
|
|
361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
362
|
+
const poller = yield this.beginCommit(resourceGroupName, moveCollectionName, options);
|
|
363
|
+
return poller.pollUntilDone();
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Discards the set of resources included in the request body. The discard operation is triggered on
|
|
368
|
+
* the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
|
|
369
|
+
* the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
|
|
370
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
371
|
+
* @param resourceGroupName The Resource Group Name.
|
|
372
|
+
* @param moveCollectionName The Move Collection Name.
|
|
373
|
+
* @param options The options parameters.
|
|
374
|
+
*/
|
|
375
|
+
beginDiscard(resourceGroupName, moveCollectionName, options) {
|
|
376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
377
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
378
|
+
return this.client.sendOperationRequest(args, spec);
|
|
379
|
+
});
|
|
380
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
381
|
+
var _a;
|
|
382
|
+
let currentRawResponse = undefined;
|
|
383
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
384
|
+
const callback = (rawResponse, flatResponse) => {
|
|
385
|
+
currentRawResponse = rawResponse;
|
|
386
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
387
|
+
};
|
|
388
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
389
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
390
|
+
return {
|
|
391
|
+
flatResponse,
|
|
392
|
+
rawResponse: {
|
|
393
|
+
statusCode: currentRawResponse.status,
|
|
394
|
+
body: currentRawResponse.parsedBody,
|
|
395
|
+
headers: currentRawResponse.headers.toJSON()
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
});
|
|
399
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, discardOperationSpec);
|
|
400
|
+
return new LroEngine(lro, {
|
|
401
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
402
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
403
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Discards the set of resources included in the request body. The discard operation is triggered on
|
|
409
|
+
* the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
|
|
410
|
+
* the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
|
|
411
|
+
* operation the client can call operation with validateOnly property set to true.
|
|
412
|
+
* @param resourceGroupName The Resource Group Name.
|
|
413
|
+
* @param moveCollectionName The Move Collection Name.
|
|
414
|
+
* @param options The options parameters.
|
|
415
|
+
*/
|
|
416
|
+
beginDiscardAndWait(resourceGroupName, moveCollectionName, options) {
|
|
417
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
418
|
+
const poller = yield this.beginDiscard(resourceGroupName, moveCollectionName, options);
|
|
419
|
+
return poller.pollUntilDone();
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
424
|
+
* @param resourceGroupName The Resource Group Name.
|
|
425
|
+
* @param moveCollectionName The Move Collection Name.
|
|
426
|
+
* @param options The options parameters.
|
|
427
|
+
*/
|
|
428
|
+
beginResolveDependencies(resourceGroupName, moveCollectionName, options) {
|
|
429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
431
|
+
return this.client.sendOperationRequest(args, spec);
|
|
432
|
+
});
|
|
433
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
434
|
+
var _a;
|
|
435
|
+
let currentRawResponse = undefined;
|
|
436
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
437
|
+
const callback = (rawResponse, flatResponse) => {
|
|
438
|
+
currentRawResponse = rawResponse;
|
|
439
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
440
|
+
};
|
|
441
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
442
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
443
|
+
return {
|
|
444
|
+
flatResponse,
|
|
445
|
+
rawResponse: {
|
|
446
|
+
statusCode: currentRawResponse.status,
|
|
447
|
+
body: currentRawResponse.parsedBody,
|
|
448
|
+
headers: currentRawResponse.headers.toJSON()
|
|
449
|
+
}
|
|
450
|
+
};
|
|
451
|
+
});
|
|
452
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, resolveDependenciesOperationSpec);
|
|
453
|
+
return new LroEngine(lro, {
|
|
454
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
455
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
456
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
457
|
+
});
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
462
|
+
* @param resourceGroupName The Resource Group Name.
|
|
463
|
+
* @param moveCollectionName The Move Collection Name.
|
|
464
|
+
* @param options The options parameters.
|
|
465
|
+
*/
|
|
466
|
+
beginResolveDependenciesAndWait(resourceGroupName, moveCollectionName, options) {
|
|
467
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
468
|
+
const poller = yield this.beginResolveDependencies(resourceGroupName, moveCollectionName, options);
|
|
469
|
+
return poller.pollUntilDone();
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Removes the set of move resources included in the request body from move collection. The
|
|
474
|
+
* orchestration is done by service. To aid the user to prerequisite the operation the client can call
|
|
475
|
+
* operation with validateOnly property set to true.
|
|
476
|
+
* @param resourceGroupName
|
|
477
|
+
* @param moveCollectionName
|
|
478
|
+
* @param options The options parameters.
|
|
479
|
+
*/
|
|
480
|
+
beginBulkRemove(resourceGroupName, moveCollectionName, options) {
|
|
481
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
482
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
483
|
+
return this.client.sendOperationRequest(args, spec);
|
|
484
|
+
});
|
|
485
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
486
|
+
var _a;
|
|
487
|
+
let currentRawResponse = undefined;
|
|
488
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
489
|
+
const callback = (rawResponse, flatResponse) => {
|
|
490
|
+
currentRawResponse = rawResponse;
|
|
491
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
492
|
+
};
|
|
493
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
494
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
495
|
+
return {
|
|
496
|
+
flatResponse,
|
|
497
|
+
rawResponse: {
|
|
498
|
+
statusCode: currentRawResponse.status,
|
|
499
|
+
body: currentRawResponse.parsedBody,
|
|
500
|
+
headers: currentRawResponse.headers.toJSON()
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
});
|
|
504
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, moveCollectionName, options }, bulkRemoveOperationSpec);
|
|
505
|
+
return new LroEngine(lro, {
|
|
506
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
507
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
508
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
509
|
+
});
|
|
510
|
+
});
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Removes the set of move resources included in the request body from move collection. The
|
|
514
|
+
* orchestration is done by service. To aid the user to prerequisite the operation the client can call
|
|
515
|
+
* operation with validateOnly property set to true.
|
|
516
|
+
* @param resourceGroupName
|
|
517
|
+
* @param moveCollectionName
|
|
518
|
+
* @param options The options parameters.
|
|
519
|
+
*/
|
|
520
|
+
beginBulkRemoveAndWait(resourceGroupName, moveCollectionName, options) {
|
|
521
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
522
|
+
const poller = yield this.beginBulkRemove(resourceGroupName, moveCollectionName, options);
|
|
523
|
+
return poller.pollUntilDone();
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Get all the Move Collections in the subscription.
|
|
528
|
+
* @param options The options parameters.
|
|
529
|
+
*/
|
|
530
|
+
_listMoveCollectionsBySubscription(options) {
|
|
531
|
+
return this.client.sendOperationRequest({ options }, listMoveCollectionsBySubscriptionOperationSpec);
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Get all the Move Collections in the resource group.
|
|
535
|
+
* @param resourceGroupName The Resource Group Name.
|
|
536
|
+
* @param options The options parameters.
|
|
537
|
+
*/
|
|
538
|
+
_listMoveCollectionsByResourceGroup(resourceGroupName, options) {
|
|
539
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listMoveCollectionsByResourceGroupOperationSpec);
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* List of the move resources for which an arm resource is required for.
|
|
543
|
+
* @param resourceGroupName The Resource Group Name.
|
|
544
|
+
* @param moveCollectionName The Move Collection Name.
|
|
545
|
+
* @param sourceId The sourceId for which the api is invoked.
|
|
546
|
+
* @param options The options parameters.
|
|
547
|
+
*/
|
|
548
|
+
listRequiredFor(resourceGroupName, moveCollectionName, sourceId, options) {
|
|
549
|
+
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, sourceId, options }, listRequiredForOperationSpec);
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* ListMoveCollectionsBySubscriptionNext
|
|
553
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
554
|
+
* ListMoveCollectionsBySubscription method.
|
|
555
|
+
* @param options The options parameters.
|
|
556
|
+
*/
|
|
557
|
+
_listMoveCollectionsBySubscriptionNext(nextLink, options) {
|
|
558
|
+
return this.client.sendOperationRequest({ nextLink, options }, listMoveCollectionsBySubscriptionNextOperationSpec);
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* ListMoveCollectionsByResourceGroupNext
|
|
562
|
+
* @param resourceGroupName The Resource Group Name.
|
|
563
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
564
|
+
* ListMoveCollectionsByResourceGroup method.
|
|
565
|
+
* @param options The options parameters.
|
|
566
|
+
*/
|
|
567
|
+
_listMoveCollectionsByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
568
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listMoveCollectionsByResourceGroupNextOperationSpec);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
// Operation Specifications
|
|
572
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
573
|
+
const createOperationSpec = {
|
|
574
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
575
|
+
httpMethod: "PUT",
|
|
576
|
+
responses: {
|
|
577
|
+
200: {
|
|
578
|
+
bodyMapper: Mappers.MoveCollection
|
|
579
|
+
},
|
|
580
|
+
201: {
|
|
581
|
+
bodyMapper: Mappers.MoveCollection
|
|
582
|
+
},
|
|
583
|
+
default: {
|
|
584
|
+
bodyMapper: Mappers.CloudError
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
requestBody: Parameters.body,
|
|
588
|
+
queryParameters: [Parameters.apiVersion],
|
|
589
|
+
urlParameters: [
|
|
590
|
+
Parameters.$host,
|
|
591
|
+
Parameters.subscriptionId,
|
|
592
|
+
Parameters.resourceGroupName,
|
|
593
|
+
Parameters.moveCollectionName
|
|
594
|
+
],
|
|
595
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
596
|
+
mediaType: "json",
|
|
597
|
+
serializer
|
|
598
|
+
};
|
|
599
|
+
const updateOperationSpec = {
|
|
600
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
601
|
+
httpMethod: "PATCH",
|
|
602
|
+
responses: {
|
|
603
|
+
200: {
|
|
604
|
+
bodyMapper: Mappers.MoveCollection
|
|
605
|
+
},
|
|
606
|
+
default: {
|
|
607
|
+
bodyMapper: Mappers.CloudError
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
requestBody: Parameters.body1,
|
|
611
|
+
queryParameters: [Parameters.apiVersion],
|
|
612
|
+
urlParameters: [
|
|
613
|
+
Parameters.$host,
|
|
614
|
+
Parameters.subscriptionId,
|
|
615
|
+
Parameters.resourceGroupName,
|
|
616
|
+
Parameters.moveCollectionName
|
|
617
|
+
],
|
|
618
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
619
|
+
mediaType: "json",
|
|
620
|
+
serializer
|
|
621
|
+
};
|
|
622
|
+
const deleteOperationSpec = {
|
|
623
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
624
|
+
httpMethod: "DELETE",
|
|
625
|
+
responses: {
|
|
626
|
+
200: {
|
|
627
|
+
bodyMapper: Mappers.OperationStatus
|
|
628
|
+
},
|
|
629
|
+
201: {
|
|
630
|
+
bodyMapper: Mappers.OperationStatus
|
|
631
|
+
},
|
|
632
|
+
202: {
|
|
633
|
+
bodyMapper: Mappers.OperationStatus
|
|
634
|
+
},
|
|
635
|
+
204: {
|
|
636
|
+
bodyMapper: Mappers.OperationStatus
|
|
637
|
+
},
|
|
638
|
+
default: {
|
|
639
|
+
bodyMapper: Mappers.CloudError
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
queryParameters: [Parameters.apiVersion],
|
|
643
|
+
urlParameters: [
|
|
644
|
+
Parameters.$host,
|
|
645
|
+
Parameters.subscriptionId,
|
|
646
|
+
Parameters.resourceGroupName,
|
|
647
|
+
Parameters.moveCollectionName
|
|
648
|
+
],
|
|
649
|
+
headerParameters: [Parameters.accept],
|
|
650
|
+
serializer
|
|
651
|
+
};
|
|
652
|
+
const getOperationSpec = {
|
|
653
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
654
|
+
httpMethod: "GET",
|
|
655
|
+
responses: {
|
|
656
|
+
200: {
|
|
657
|
+
bodyMapper: Mappers.MoveCollection
|
|
658
|
+
},
|
|
659
|
+
default: {
|
|
660
|
+
bodyMapper: Mappers.CloudError
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
queryParameters: [Parameters.apiVersion],
|
|
664
|
+
urlParameters: [
|
|
665
|
+
Parameters.$host,
|
|
666
|
+
Parameters.subscriptionId,
|
|
667
|
+
Parameters.resourceGroupName,
|
|
668
|
+
Parameters.moveCollectionName
|
|
669
|
+
],
|
|
670
|
+
headerParameters: [Parameters.accept],
|
|
671
|
+
serializer
|
|
672
|
+
};
|
|
673
|
+
const prepareOperationSpec = {
|
|
674
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare",
|
|
675
|
+
httpMethod: "POST",
|
|
676
|
+
responses: {
|
|
677
|
+
200: {
|
|
678
|
+
bodyMapper: Mappers.OperationStatus
|
|
679
|
+
},
|
|
680
|
+
201: {
|
|
681
|
+
bodyMapper: Mappers.OperationStatus
|
|
682
|
+
},
|
|
683
|
+
202: {
|
|
684
|
+
bodyMapper: Mappers.OperationStatus
|
|
685
|
+
},
|
|
686
|
+
204: {
|
|
687
|
+
bodyMapper: Mappers.OperationStatus
|
|
688
|
+
},
|
|
689
|
+
default: {
|
|
690
|
+
bodyMapper: Mappers.CloudError
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
requestBody: Parameters.body2,
|
|
694
|
+
queryParameters: [Parameters.apiVersion],
|
|
695
|
+
urlParameters: [
|
|
696
|
+
Parameters.$host,
|
|
697
|
+
Parameters.subscriptionId,
|
|
698
|
+
Parameters.resourceGroupName,
|
|
699
|
+
Parameters.moveCollectionName
|
|
700
|
+
],
|
|
701
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
702
|
+
mediaType: "json",
|
|
703
|
+
serializer
|
|
704
|
+
};
|
|
705
|
+
const initiateMoveOperationSpec = {
|
|
706
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove",
|
|
707
|
+
httpMethod: "POST",
|
|
708
|
+
responses: {
|
|
709
|
+
200: {
|
|
710
|
+
bodyMapper: Mappers.OperationStatus
|
|
711
|
+
},
|
|
712
|
+
201: {
|
|
713
|
+
bodyMapper: Mappers.OperationStatus
|
|
714
|
+
},
|
|
715
|
+
202: {
|
|
716
|
+
bodyMapper: Mappers.OperationStatus
|
|
717
|
+
},
|
|
718
|
+
204: {
|
|
719
|
+
bodyMapper: Mappers.OperationStatus
|
|
720
|
+
},
|
|
721
|
+
default: {
|
|
722
|
+
bodyMapper: Mappers.CloudError
|
|
723
|
+
}
|
|
724
|
+
},
|
|
725
|
+
requestBody: Parameters.body3,
|
|
726
|
+
queryParameters: [Parameters.apiVersion],
|
|
727
|
+
urlParameters: [
|
|
728
|
+
Parameters.$host,
|
|
729
|
+
Parameters.subscriptionId,
|
|
730
|
+
Parameters.resourceGroupName,
|
|
731
|
+
Parameters.moveCollectionName
|
|
732
|
+
],
|
|
733
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
734
|
+
mediaType: "json",
|
|
735
|
+
serializer
|
|
736
|
+
};
|
|
737
|
+
const commitOperationSpec = {
|
|
738
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit",
|
|
739
|
+
httpMethod: "POST",
|
|
740
|
+
responses: {
|
|
741
|
+
200: {
|
|
742
|
+
bodyMapper: Mappers.OperationStatus
|
|
743
|
+
},
|
|
744
|
+
201: {
|
|
745
|
+
bodyMapper: Mappers.OperationStatus
|
|
746
|
+
},
|
|
747
|
+
202: {
|
|
748
|
+
bodyMapper: Mappers.OperationStatus
|
|
749
|
+
},
|
|
750
|
+
204: {
|
|
751
|
+
bodyMapper: Mappers.OperationStatus
|
|
752
|
+
},
|
|
753
|
+
default: {
|
|
754
|
+
bodyMapper: Mappers.CloudError
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
requestBody: Parameters.body4,
|
|
758
|
+
queryParameters: [Parameters.apiVersion],
|
|
759
|
+
urlParameters: [
|
|
760
|
+
Parameters.$host,
|
|
761
|
+
Parameters.subscriptionId,
|
|
762
|
+
Parameters.resourceGroupName,
|
|
763
|
+
Parameters.moveCollectionName
|
|
764
|
+
],
|
|
765
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
766
|
+
mediaType: "json",
|
|
767
|
+
serializer
|
|
768
|
+
};
|
|
769
|
+
const discardOperationSpec = {
|
|
770
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard",
|
|
771
|
+
httpMethod: "POST",
|
|
772
|
+
responses: {
|
|
773
|
+
200: {
|
|
774
|
+
bodyMapper: Mappers.OperationStatus
|
|
775
|
+
},
|
|
776
|
+
201: {
|
|
777
|
+
bodyMapper: Mappers.OperationStatus
|
|
778
|
+
},
|
|
779
|
+
202: {
|
|
780
|
+
bodyMapper: Mappers.OperationStatus
|
|
781
|
+
},
|
|
782
|
+
204: {
|
|
783
|
+
bodyMapper: Mappers.OperationStatus
|
|
784
|
+
},
|
|
785
|
+
default: {
|
|
786
|
+
bodyMapper: Mappers.CloudError
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
requestBody: Parameters.body5,
|
|
790
|
+
queryParameters: [Parameters.apiVersion],
|
|
791
|
+
urlParameters: [
|
|
792
|
+
Parameters.$host,
|
|
793
|
+
Parameters.subscriptionId,
|
|
794
|
+
Parameters.resourceGroupName,
|
|
795
|
+
Parameters.moveCollectionName
|
|
796
|
+
],
|
|
797
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
798
|
+
mediaType: "json",
|
|
799
|
+
serializer
|
|
800
|
+
};
|
|
801
|
+
const resolveDependenciesOperationSpec = {
|
|
802
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/resolveDependencies",
|
|
803
|
+
httpMethod: "POST",
|
|
804
|
+
responses: {
|
|
805
|
+
200: {
|
|
806
|
+
bodyMapper: Mappers.OperationStatus
|
|
807
|
+
},
|
|
808
|
+
201: {
|
|
809
|
+
bodyMapper: Mappers.OperationStatus
|
|
810
|
+
},
|
|
811
|
+
202: {
|
|
812
|
+
bodyMapper: Mappers.OperationStatus
|
|
813
|
+
},
|
|
814
|
+
204: {
|
|
815
|
+
bodyMapper: Mappers.OperationStatus
|
|
816
|
+
},
|
|
817
|
+
default: {
|
|
818
|
+
bodyMapper: Mappers.CloudError
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
queryParameters: [Parameters.apiVersion],
|
|
822
|
+
urlParameters: [
|
|
823
|
+
Parameters.$host,
|
|
824
|
+
Parameters.subscriptionId,
|
|
825
|
+
Parameters.resourceGroupName,
|
|
826
|
+
Parameters.moveCollectionName
|
|
827
|
+
],
|
|
828
|
+
headerParameters: [Parameters.accept],
|
|
829
|
+
serializer
|
|
830
|
+
};
|
|
831
|
+
const bulkRemoveOperationSpec = {
|
|
832
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/bulkRemove",
|
|
833
|
+
httpMethod: "POST",
|
|
834
|
+
responses: {
|
|
835
|
+
200: {
|
|
836
|
+
bodyMapper: Mappers.OperationStatus
|
|
837
|
+
},
|
|
838
|
+
201: {
|
|
839
|
+
bodyMapper: Mappers.OperationStatus
|
|
840
|
+
},
|
|
841
|
+
202: {
|
|
842
|
+
bodyMapper: Mappers.OperationStatus
|
|
843
|
+
},
|
|
844
|
+
204: {
|
|
845
|
+
bodyMapper: Mappers.OperationStatus
|
|
846
|
+
},
|
|
847
|
+
default: {
|
|
848
|
+
bodyMapper: Mappers.CloudError
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
requestBody: Parameters.body6,
|
|
852
|
+
queryParameters: [Parameters.apiVersion],
|
|
853
|
+
urlParameters: [
|
|
854
|
+
Parameters.$host,
|
|
855
|
+
Parameters.subscriptionId,
|
|
856
|
+
Parameters.resourceGroupName,
|
|
857
|
+
Parameters.moveCollectionName
|
|
858
|
+
],
|
|
859
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
860
|
+
mediaType: "json",
|
|
861
|
+
serializer
|
|
862
|
+
};
|
|
863
|
+
const listMoveCollectionsBySubscriptionOperationSpec = {
|
|
864
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections",
|
|
865
|
+
httpMethod: "GET",
|
|
866
|
+
responses: {
|
|
867
|
+
200: {
|
|
868
|
+
bodyMapper: Mappers.MoveCollectionResultList
|
|
869
|
+
},
|
|
870
|
+
default: {
|
|
871
|
+
bodyMapper: Mappers.CloudError
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
queryParameters: [Parameters.apiVersion],
|
|
875
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
876
|
+
headerParameters: [Parameters.accept],
|
|
877
|
+
serializer
|
|
878
|
+
};
|
|
879
|
+
const listMoveCollectionsByResourceGroupOperationSpec = {
|
|
880
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections",
|
|
881
|
+
httpMethod: "GET",
|
|
882
|
+
responses: {
|
|
883
|
+
200: {
|
|
884
|
+
bodyMapper: Mappers.MoveCollectionResultList
|
|
885
|
+
},
|
|
886
|
+
default: {
|
|
887
|
+
bodyMapper: Mappers.CloudError
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
queryParameters: [Parameters.apiVersion],
|
|
891
|
+
urlParameters: [
|
|
892
|
+
Parameters.$host,
|
|
893
|
+
Parameters.subscriptionId,
|
|
894
|
+
Parameters.resourceGroupName
|
|
895
|
+
],
|
|
896
|
+
headerParameters: [Parameters.accept],
|
|
897
|
+
serializer
|
|
898
|
+
};
|
|
899
|
+
const listRequiredForOperationSpec = {
|
|
900
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor",
|
|
901
|
+
httpMethod: "GET",
|
|
902
|
+
responses: {
|
|
903
|
+
200: {
|
|
904
|
+
bodyMapper: Mappers.RequiredForResourcesCollection
|
|
905
|
+
},
|
|
906
|
+
default: {
|
|
907
|
+
bodyMapper: Mappers.CloudError
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
queryParameters: [Parameters.apiVersion, Parameters.sourceId],
|
|
911
|
+
urlParameters: [
|
|
912
|
+
Parameters.$host,
|
|
913
|
+
Parameters.subscriptionId,
|
|
914
|
+
Parameters.resourceGroupName,
|
|
915
|
+
Parameters.moveCollectionName
|
|
916
|
+
],
|
|
917
|
+
headerParameters: [Parameters.accept],
|
|
918
|
+
serializer
|
|
919
|
+
};
|
|
920
|
+
const listMoveCollectionsBySubscriptionNextOperationSpec = {
|
|
921
|
+
path: "{nextLink}",
|
|
922
|
+
httpMethod: "GET",
|
|
923
|
+
responses: {
|
|
924
|
+
200: {
|
|
925
|
+
bodyMapper: Mappers.MoveCollectionResultList
|
|
926
|
+
},
|
|
927
|
+
default: {
|
|
928
|
+
bodyMapper: Mappers.CloudError
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
queryParameters: [Parameters.apiVersion],
|
|
932
|
+
urlParameters: [
|
|
933
|
+
Parameters.$host,
|
|
934
|
+
Parameters.subscriptionId,
|
|
935
|
+
Parameters.nextLink
|
|
936
|
+
],
|
|
937
|
+
headerParameters: [Parameters.accept],
|
|
938
|
+
serializer
|
|
939
|
+
};
|
|
940
|
+
const listMoveCollectionsByResourceGroupNextOperationSpec = {
|
|
941
|
+
path: "{nextLink}",
|
|
942
|
+
httpMethod: "GET",
|
|
943
|
+
responses: {
|
|
944
|
+
200: {
|
|
945
|
+
bodyMapper: Mappers.MoveCollectionResultList
|
|
946
|
+
},
|
|
947
|
+
default: {
|
|
948
|
+
bodyMapper: Mappers.CloudError
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
queryParameters: [Parameters.apiVersion],
|
|
952
|
+
urlParameters: [
|
|
953
|
+
Parameters.$host,
|
|
954
|
+
Parameters.subscriptionId,
|
|
955
|
+
Parameters.resourceGroupName,
|
|
956
|
+
Parameters.nextLink
|
|
957
|
+
],
|
|
958
|
+
headerParameters: [Parameters.accept],
|
|
959
|
+
serializer
|
|
960
|
+
};
|
|
961
|
+
//# sourceMappingURL=moveCollections.js.map
|