@azure/arm-resources 6.1.0 → 7.0.0-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +12 -1202
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +0 -76
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +0 -42
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +254 -1752
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +14 -21
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +46 -98
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -2
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -2
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/providerResourceTypes.js +2 -1
- package/dist/browser/operations/providerResourceTypes.js.map +1 -1
- package/dist/browser/operations/providers.js +50 -84
- package/dist/browser/operations/providers.js.map +1 -1
- package/dist/browser/operations/resourceGroups.js +48 -55
- package/dist/browser/operations/resourceGroups.js.map +1 -1
- package/dist/browser/operations/resources.js +146 -140
- package/dist/browser/operations/resources.js.map +1 -1
- package/dist/browser/operations/tagsOperations.js +58 -60
- package/dist/browser/operations/tagsOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/resourceManagementClient.d.ts +1 -3
- package/dist/browser/resourceManagementClient.d.ts.map +1 -1
- package/dist/browser/resourceManagementClient.js +22 -10
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +12 -1202
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -77
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +0 -42
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +256 -1754
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +14 -21
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +46 -98
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -2
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -2
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js +2 -1
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operations/providers.js +50 -83
- package/dist/commonjs/operations/providers.js.map +1 -1
- package/dist/commonjs/operations/resourceGroups.js +48 -54
- package/dist/commonjs/operations/resourceGroups.js.map +1 -1
- package/dist/commonjs/operations/resources.js +146 -139
- package/dist/commonjs/operations/resources.js.map +1 -1
- package/dist/commonjs/operations/tagsOperations.js +58 -59
- package/dist/commonjs/operations/tagsOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -2
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/resourceManagementClient.d.ts +1 -3
- package/dist/commonjs/resourceManagementClient.d.ts.map +1 -1
- package/dist/commonjs/resourceManagementClient.js +21 -9
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +12 -1202
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -76
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +0 -42
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +254 -1752
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +14 -21
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +46 -98
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -2
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -2
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/providerResourceTypes.js +2 -1
- package/dist/esm/operations/providerResourceTypes.js.map +1 -1
- package/dist/esm/operations/providers.js +50 -84
- package/dist/esm/operations/providers.js.map +1 -1
- package/dist/esm/operations/resourceGroups.js +48 -55
- package/dist/esm/operations/resourceGroups.js.map +1 -1
- package/dist/esm/operations/resources.js +146 -140
- package/dist/esm/operations/resources.js.map +1 -1
- package/dist/esm/operations/tagsOperations.js +58 -60
- package/dist/esm/operations/tagsOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -2
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/resourceManagementClient.d.ts +1 -3
- package/dist/esm/resourceManagementClient.d.ts.map +1 -1
- package/dist/esm/resourceManagementClient.js +22 -10
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +12 -1202
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +0 -76
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +0 -42
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +254 -1752
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +14 -21
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +46 -98
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -2
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -2
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/providerResourceTypes.js +2 -1
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operations/providers.js +50 -84
- package/dist/react-native/operations/providers.js.map +1 -1
- package/dist/react-native/operations/resourceGroups.js +48 -55
- package/dist/react-native/operations/resourceGroups.js.map +1 -1
- package/dist/react-native/operations/resources.js +146 -140
- package/dist/react-native/operations/resources.js.map +1 -1
- package/dist/react-native/operations/tagsOperations.js +58 -60
- package/dist/react-native/operations/tagsOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -2
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/resourceManagementClient.d.ts +1 -3
- package/dist/react-native/resourceManagementClient.d.ts.map +1 -1
- package/dist/react-native/resourceManagementClient.js +22 -10
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +8 -8
- package/review/arm-resources-node.api.md +942 -0
- package/dist/browser/operations/deploymentOperations.d.ts +0 -168
- package/dist/browser/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operations/deploymentOperations.js +0 -782
- package/dist/browser/operations/deploymentOperations.js.map +0 -1
- package/dist/browser/operations/deployments.d.ts +0 -628
- package/dist/browser/operations/deployments.d.ts.map +0 -1
- package/dist/browser/operations/deployments.js +0 -2766
- package/dist/browser/operations/deployments.js.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/browser/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.js +0 -9
- package/dist/browser/operationsInterfaces/deployments.js.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.d.ts +0 -168
- package/dist/commonjs/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.js +0 -786
- package/dist/commonjs/operations/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operations/deployments.d.ts +0 -628
- package/dist/commonjs/operations/deployments.d.ts.map +0 -1
- package/dist/commonjs/operations/deployments.js +0 -2770
- package/dist/commonjs/operations/deployments.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.js +0 -10
- package/dist/commonjs/operationsInterfaces/deployments.js.map +0 -1
- package/dist/esm/operations/deploymentOperations.d.ts +0 -168
- package/dist/esm/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operations/deploymentOperations.js +0 -782
- package/dist/esm/operations/deploymentOperations.js.map +0 -1
- package/dist/esm/operations/deployments.d.ts +0 -628
- package/dist/esm/operations/deployments.d.ts.map +0 -1
- package/dist/esm/operations/deployments.js +0 -2766
- package/dist/esm/operations/deployments.js.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/esm/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.js +0 -9
- package/dist/esm/operationsInterfaces/deployments.js.map +0 -1
- package/dist/react-native/operations/deploymentOperations.d.ts +0 -168
- package/dist/react-native/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operations/deploymentOperations.js +0 -782
- package/dist/react-native/operations/deploymentOperations.js.map +0 -1
- package/dist/react-native/operations/deployments.d.ts +0 -628
- package/dist/react-native/operations/deployments.d.ts.map +0 -1
- package/dist/react-native/operations/deployments.js +0 -2766
- package/dist/react-native/operations/deployments.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/react-native/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.js +0 -9
- package/dist/react-native/operationsInterfaces/deployments.js.map +0 -1
- package/review/arm-resources.api.md +0 -1935
|
@@ -1,786 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.DeploymentOperationsImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
-
/// <reference lib="esnext.asynciterable" />
|
|
17
|
-
/** Class containing DeploymentOperations operations. */
|
|
18
|
-
class DeploymentOperationsImpl {
|
|
19
|
-
/**
|
|
20
|
-
* Initialize a new instance of the class DeploymentOperations class.
|
|
21
|
-
* @param client Reference to the service client
|
|
22
|
-
*/
|
|
23
|
-
constructor(client) {
|
|
24
|
-
this.client = client;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Gets all deployments operations for a deployment.
|
|
28
|
-
* @param scope The resource scope.
|
|
29
|
-
* @param deploymentName The name of the deployment.
|
|
30
|
-
* @param options The options parameters.
|
|
31
|
-
*/
|
|
32
|
-
listAtScope(scope, deploymentName, options) {
|
|
33
|
-
const iter = this.listAtScopePagingAll(scope, deploymentName, options);
|
|
34
|
-
return {
|
|
35
|
-
next() {
|
|
36
|
-
return iter.next();
|
|
37
|
-
},
|
|
38
|
-
[Symbol.asyncIterator]() {
|
|
39
|
-
return this;
|
|
40
|
-
},
|
|
41
|
-
byPage: (settings) => {
|
|
42
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
-
}
|
|
45
|
-
return this.listAtScopePagingPage(scope, deploymentName, options, settings);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
listAtScopePagingPage(scope, deploymentName, options, settings) {
|
|
50
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtScopePagingPage_1() {
|
|
51
|
-
let result;
|
|
52
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
-
if (!continuationToken) {
|
|
54
|
-
result = yield tslib_1.__await(this._listAtScope(scope, deploymentName, options));
|
|
55
|
-
let page = result.value || [];
|
|
56
|
-
continuationToken = result.nextLink;
|
|
57
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
-
yield yield tslib_1.__await(page);
|
|
59
|
-
}
|
|
60
|
-
while (continuationToken) {
|
|
61
|
-
result = yield tslib_1.__await(this._listAtScopeNext(scope, deploymentName, continuationToken, options));
|
|
62
|
-
continuationToken = result.nextLink;
|
|
63
|
-
let page = result.value || [];
|
|
64
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
-
yield yield tslib_1.__await(page);
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
listAtScopePagingAll(scope, deploymentName, options) {
|
|
70
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtScopePagingAll_1() {
|
|
71
|
-
var _a, e_1, _b, _c;
|
|
72
|
-
try {
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtScopePagingPage(scope, deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Gets all deployments operations for a deployment.
|
|
91
|
-
* @param deploymentName The name of the deployment.
|
|
92
|
-
* @param options The options parameters.
|
|
93
|
-
*/
|
|
94
|
-
listAtTenantScope(deploymentName, options) {
|
|
95
|
-
const iter = this.listAtTenantScopePagingAll(deploymentName, options);
|
|
96
|
-
return {
|
|
97
|
-
next() {
|
|
98
|
-
return iter.next();
|
|
99
|
-
},
|
|
100
|
-
[Symbol.asyncIterator]() {
|
|
101
|
-
return this;
|
|
102
|
-
},
|
|
103
|
-
byPage: (settings) => {
|
|
104
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
105
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
106
|
-
}
|
|
107
|
-
return this.listAtTenantScopePagingPage(deploymentName, options, settings);
|
|
108
|
-
},
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
listAtTenantScopePagingPage(deploymentName, options, settings) {
|
|
112
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtTenantScopePagingPage_1() {
|
|
113
|
-
let result;
|
|
114
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
115
|
-
if (!continuationToken) {
|
|
116
|
-
result = yield tslib_1.__await(this._listAtTenantScope(deploymentName, options));
|
|
117
|
-
let page = result.value || [];
|
|
118
|
-
continuationToken = result.nextLink;
|
|
119
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
120
|
-
yield yield tslib_1.__await(page);
|
|
121
|
-
}
|
|
122
|
-
while (continuationToken) {
|
|
123
|
-
result = yield tslib_1.__await(this._listAtTenantScopeNext(deploymentName, continuationToken, options));
|
|
124
|
-
continuationToken = result.nextLink;
|
|
125
|
-
let page = result.value || [];
|
|
126
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
127
|
-
yield yield tslib_1.__await(page);
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
listAtTenantScopePagingAll(deploymentName, options) {
|
|
132
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtTenantScopePagingAll_1() {
|
|
133
|
-
var _a, e_2, _b, _c;
|
|
134
|
-
try {
|
|
135
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtTenantScopePagingPage(deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
136
|
-
_c = _f.value;
|
|
137
|
-
_d = false;
|
|
138
|
-
const page = _c;
|
|
139
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
143
|
-
finally {
|
|
144
|
-
try {
|
|
145
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
146
|
-
}
|
|
147
|
-
finally { if (e_2) throw e_2.error; }
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Gets all deployments operations for a deployment.
|
|
153
|
-
* @param groupId The management group ID.
|
|
154
|
-
* @param deploymentName The name of the deployment.
|
|
155
|
-
* @param options The options parameters.
|
|
156
|
-
*/
|
|
157
|
-
listAtManagementGroupScope(groupId, deploymentName, options) {
|
|
158
|
-
const iter = this.listAtManagementGroupScopePagingAll(groupId, deploymentName, options);
|
|
159
|
-
return {
|
|
160
|
-
next() {
|
|
161
|
-
return iter.next();
|
|
162
|
-
},
|
|
163
|
-
[Symbol.asyncIterator]() {
|
|
164
|
-
return this;
|
|
165
|
-
},
|
|
166
|
-
byPage: (settings) => {
|
|
167
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
168
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
169
|
-
}
|
|
170
|
-
return this.listAtManagementGroupScopePagingPage(groupId, deploymentName, options, settings);
|
|
171
|
-
},
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
listAtManagementGroupScopePagingPage(groupId, deploymentName, options, settings) {
|
|
175
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtManagementGroupScopePagingPage_1() {
|
|
176
|
-
let result;
|
|
177
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
178
|
-
if (!continuationToken) {
|
|
179
|
-
result = yield tslib_1.__await(this._listAtManagementGroupScope(groupId, deploymentName, options));
|
|
180
|
-
let page = result.value || [];
|
|
181
|
-
continuationToken = result.nextLink;
|
|
182
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
183
|
-
yield yield tslib_1.__await(page);
|
|
184
|
-
}
|
|
185
|
-
while (continuationToken) {
|
|
186
|
-
result = yield tslib_1.__await(this._listAtManagementGroupScopeNext(groupId, deploymentName, continuationToken, options));
|
|
187
|
-
continuationToken = result.nextLink;
|
|
188
|
-
let page = result.value || [];
|
|
189
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
190
|
-
yield yield tslib_1.__await(page);
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
listAtManagementGroupScopePagingAll(groupId, deploymentName, options) {
|
|
195
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtManagementGroupScopePagingAll_1() {
|
|
196
|
-
var _a, e_3, _b, _c;
|
|
197
|
-
try {
|
|
198
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtManagementGroupScopePagingPage(groupId, deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
199
|
-
_c = _f.value;
|
|
200
|
-
_d = false;
|
|
201
|
-
const page = _c;
|
|
202
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
206
|
-
finally {
|
|
207
|
-
try {
|
|
208
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
209
|
-
}
|
|
210
|
-
finally { if (e_3) throw e_3.error; }
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Gets all deployments operations for a deployment.
|
|
216
|
-
* @param deploymentName The name of the deployment.
|
|
217
|
-
* @param options The options parameters.
|
|
218
|
-
*/
|
|
219
|
-
listAtSubscriptionScope(deploymentName, options) {
|
|
220
|
-
const iter = this.listAtSubscriptionScopePagingAll(deploymentName, options);
|
|
221
|
-
return {
|
|
222
|
-
next() {
|
|
223
|
-
return iter.next();
|
|
224
|
-
},
|
|
225
|
-
[Symbol.asyncIterator]() {
|
|
226
|
-
return this;
|
|
227
|
-
},
|
|
228
|
-
byPage: (settings) => {
|
|
229
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
230
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
231
|
-
}
|
|
232
|
-
return this.listAtSubscriptionScopePagingPage(deploymentName, options, settings);
|
|
233
|
-
},
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
listAtSubscriptionScopePagingPage(deploymentName, options, settings) {
|
|
237
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtSubscriptionScopePagingPage_1() {
|
|
238
|
-
let result;
|
|
239
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
240
|
-
if (!continuationToken) {
|
|
241
|
-
result = yield tslib_1.__await(this._listAtSubscriptionScope(deploymentName, options));
|
|
242
|
-
let page = result.value || [];
|
|
243
|
-
continuationToken = result.nextLink;
|
|
244
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
245
|
-
yield yield tslib_1.__await(page);
|
|
246
|
-
}
|
|
247
|
-
while (continuationToken) {
|
|
248
|
-
result = yield tslib_1.__await(this._listAtSubscriptionScopeNext(deploymentName, continuationToken, options));
|
|
249
|
-
continuationToken = result.nextLink;
|
|
250
|
-
let page = result.value || [];
|
|
251
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
252
|
-
yield yield tslib_1.__await(page);
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
listAtSubscriptionScopePagingAll(deploymentName, options) {
|
|
257
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listAtSubscriptionScopePagingAll_1() {
|
|
258
|
-
var _a, e_4, _b, _c;
|
|
259
|
-
try {
|
|
260
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listAtSubscriptionScopePagingPage(deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
261
|
-
_c = _f.value;
|
|
262
|
-
_d = false;
|
|
263
|
-
const page = _c;
|
|
264
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
268
|
-
finally {
|
|
269
|
-
try {
|
|
270
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
271
|
-
}
|
|
272
|
-
finally { if (e_4) throw e_4.error; }
|
|
273
|
-
}
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Gets all deployments operations for a deployment.
|
|
278
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
279
|
-
* @param deploymentName The name of the deployment.
|
|
280
|
-
* @param options The options parameters.
|
|
281
|
-
*/
|
|
282
|
-
list(resourceGroupName, deploymentName, options) {
|
|
283
|
-
const iter = this.listPagingAll(resourceGroupName, deploymentName, options);
|
|
284
|
-
return {
|
|
285
|
-
next() {
|
|
286
|
-
return iter.next();
|
|
287
|
-
},
|
|
288
|
-
[Symbol.asyncIterator]() {
|
|
289
|
-
return this;
|
|
290
|
-
},
|
|
291
|
-
byPage: (settings) => {
|
|
292
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
293
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
294
|
-
}
|
|
295
|
-
return this.listPagingPage(resourceGroupName, deploymentName, options, settings);
|
|
296
|
-
},
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
listPagingPage(resourceGroupName, deploymentName, options, settings) {
|
|
300
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
301
|
-
let result;
|
|
302
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
303
|
-
if (!continuationToken) {
|
|
304
|
-
result = yield tslib_1.__await(this._list(resourceGroupName, deploymentName, options));
|
|
305
|
-
let page = result.value || [];
|
|
306
|
-
continuationToken = result.nextLink;
|
|
307
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
308
|
-
yield yield tslib_1.__await(page);
|
|
309
|
-
}
|
|
310
|
-
while (continuationToken) {
|
|
311
|
-
result = yield tslib_1.__await(this._listNext(resourceGroupName, deploymentName, continuationToken, options));
|
|
312
|
-
continuationToken = result.nextLink;
|
|
313
|
-
let page = result.value || [];
|
|
314
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
315
|
-
yield yield tslib_1.__await(page);
|
|
316
|
-
}
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
listPagingAll(resourceGroupName, deploymentName, options) {
|
|
320
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
321
|
-
var _a, e_5, _b, _c;
|
|
322
|
-
try {
|
|
323
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, deploymentName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
324
|
-
_c = _f.value;
|
|
325
|
-
_d = false;
|
|
326
|
-
const page = _c;
|
|
327
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
331
|
-
finally {
|
|
332
|
-
try {
|
|
333
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
334
|
-
}
|
|
335
|
-
finally { if (e_5) throw e_5.error; }
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* Gets a deployments operation.
|
|
341
|
-
* @param scope The resource scope.
|
|
342
|
-
* @param deploymentName The name of the deployment.
|
|
343
|
-
* @param operationId The ID of the operation to get.
|
|
344
|
-
* @param options The options parameters.
|
|
345
|
-
*/
|
|
346
|
-
getAtScope(scope, deploymentName, operationId, options) {
|
|
347
|
-
return this.client.sendOperationRequest({ scope, deploymentName, operationId, options }, getAtScopeOperationSpec);
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* Gets all deployments operations for a deployment.
|
|
351
|
-
* @param scope The resource scope.
|
|
352
|
-
* @param deploymentName The name of the deployment.
|
|
353
|
-
* @param options The options parameters.
|
|
354
|
-
*/
|
|
355
|
-
_listAtScope(scope, deploymentName, options) {
|
|
356
|
-
return this.client.sendOperationRequest({ scope, deploymentName, options }, listAtScopeOperationSpec);
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* Gets a deployments operation.
|
|
360
|
-
* @param deploymentName The name of the deployment.
|
|
361
|
-
* @param operationId The ID of the operation to get.
|
|
362
|
-
* @param options The options parameters.
|
|
363
|
-
*/
|
|
364
|
-
getAtTenantScope(deploymentName, operationId, options) {
|
|
365
|
-
return this.client.sendOperationRequest({ deploymentName, operationId, options }, getAtTenantScopeOperationSpec);
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* Gets all deployments operations for a deployment.
|
|
369
|
-
* @param deploymentName The name of the deployment.
|
|
370
|
-
* @param options The options parameters.
|
|
371
|
-
*/
|
|
372
|
-
_listAtTenantScope(deploymentName, options) {
|
|
373
|
-
return this.client.sendOperationRequest({ deploymentName, options }, listAtTenantScopeOperationSpec);
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* Gets a deployments operation.
|
|
377
|
-
* @param groupId The management group ID.
|
|
378
|
-
* @param deploymentName The name of the deployment.
|
|
379
|
-
* @param operationId The ID of the operation to get.
|
|
380
|
-
* @param options The options parameters.
|
|
381
|
-
*/
|
|
382
|
-
getAtManagementGroupScope(groupId, deploymentName, operationId, options) {
|
|
383
|
-
return this.client.sendOperationRequest({ groupId, deploymentName, operationId, options }, getAtManagementGroupScopeOperationSpec);
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* Gets all deployments operations for a deployment.
|
|
387
|
-
* @param groupId The management group ID.
|
|
388
|
-
* @param deploymentName The name of the deployment.
|
|
389
|
-
* @param options The options parameters.
|
|
390
|
-
*/
|
|
391
|
-
_listAtManagementGroupScope(groupId, deploymentName, options) {
|
|
392
|
-
return this.client.sendOperationRequest({ groupId, deploymentName, options }, listAtManagementGroupScopeOperationSpec);
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Gets a deployments operation.
|
|
396
|
-
* @param deploymentName The name of the deployment.
|
|
397
|
-
* @param operationId The ID of the operation to get.
|
|
398
|
-
* @param options The options parameters.
|
|
399
|
-
*/
|
|
400
|
-
getAtSubscriptionScope(deploymentName, operationId, options) {
|
|
401
|
-
return this.client.sendOperationRequest({ deploymentName, operationId, options }, getAtSubscriptionScopeOperationSpec);
|
|
402
|
-
}
|
|
403
|
-
/**
|
|
404
|
-
* Gets all deployments operations for a deployment.
|
|
405
|
-
* @param deploymentName The name of the deployment.
|
|
406
|
-
* @param options The options parameters.
|
|
407
|
-
*/
|
|
408
|
-
_listAtSubscriptionScope(deploymentName, options) {
|
|
409
|
-
return this.client.sendOperationRequest({ deploymentName, options }, listAtSubscriptionScopeOperationSpec);
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
* Gets a deployments operation.
|
|
413
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
414
|
-
* @param deploymentName The name of the deployment.
|
|
415
|
-
* @param operationId The ID of the operation to get.
|
|
416
|
-
* @param options The options parameters.
|
|
417
|
-
*/
|
|
418
|
-
get(resourceGroupName, deploymentName, operationId, options) {
|
|
419
|
-
return this.client.sendOperationRequest({ resourceGroupName, deploymentName, operationId, options }, getOperationSpec);
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
* Gets all deployments operations for a deployment.
|
|
423
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
424
|
-
* @param deploymentName The name of the deployment.
|
|
425
|
-
* @param options The options parameters.
|
|
426
|
-
*/
|
|
427
|
-
_list(resourceGroupName, deploymentName, options) {
|
|
428
|
-
return this.client.sendOperationRequest({ resourceGroupName, deploymentName, options }, listOperationSpec);
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* ListAtScopeNext
|
|
432
|
-
* @param scope The resource scope.
|
|
433
|
-
* @param deploymentName The name of the deployment.
|
|
434
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtScope method.
|
|
435
|
-
* @param options The options parameters.
|
|
436
|
-
*/
|
|
437
|
-
_listAtScopeNext(scope, deploymentName, nextLink, options) {
|
|
438
|
-
return this.client.sendOperationRequest({ scope, deploymentName, nextLink, options }, listAtScopeNextOperationSpec);
|
|
439
|
-
}
|
|
440
|
-
/**
|
|
441
|
-
* ListAtTenantScopeNext
|
|
442
|
-
* @param deploymentName The name of the deployment.
|
|
443
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.
|
|
444
|
-
* @param options The options parameters.
|
|
445
|
-
*/
|
|
446
|
-
_listAtTenantScopeNext(deploymentName, nextLink, options) {
|
|
447
|
-
return this.client.sendOperationRequest({ deploymentName, nextLink, options }, listAtTenantScopeNextOperationSpec);
|
|
448
|
-
}
|
|
449
|
-
/**
|
|
450
|
-
* ListAtManagementGroupScopeNext
|
|
451
|
-
* @param groupId The management group ID.
|
|
452
|
-
* @param deploymentName The name of the deployment.
|
|
453
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtManagementGroupScope
|
|
454
|
-
* method.
|
|
455
|
-
* @param options The options parameters.
|
|
456
|
-
*/
|
|
457
|
-
_listAtManagementGroupScopeNext(groupId, deploymentName, nextLink, options) {
|
|
458
|
-
return this.client.sendOperationRequest({ groupId, deploymentName, nextLink, options }, listAtManagementGroupScopeNextOperationSpec);
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
* ListAtSubscriptionScopeNext
|
|
462
|
-
* @param deploymentName The name of the deployment.
|
|
463
|
-
* @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionScope
|
|
464
|
-
* method.
|
|
465
|
-
* @param options The options parameters.
|
|
466
|
-
*/
|
|
467
|
-
_listAtSubscriptionScopeNext(deploymentName, nextLink, options) {
|
|
468
|
-
return this.client.sendOperationRequest({ deploymentName, nextLink, options }, listAtSubscriptionScopeNextOperationSpec);
|
|
469
|
-
}
|
|
470
|
-
/**
|
|
471
|
-
* ListNext
|
|
472
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
473
|
-
* @param deploymentName The name of the deployment.
|
|
474
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
475
|
-
* @param options The options parameters.
|
|
476
|
-
*/
|
|
477
|
-
_listNext(resourceGroupName, deploymentName, nextLink, options) {
|
|
478
|
-
return this.client.sendOperationRequest({ resourceGroupName, deploymentName, nextLink, options }, listNextOperationSpec);
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
exports.DeploymentOperationsImpl = DeploymentOperationsImpl;
|
|
482
|
-
// Operation Specifications
|
|
483
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
484
|
-
const getAtScopeOperationSpec = {
|
|
485
|
-
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
|
|
486
|
-
httpMethod: "GET",
|
|
487
|
-
responses: {
|
|
488
|
-
200: {
|
|
489
|
-
bodyMapper: Mappers.DeploymentOperation,
|
|
490
|
-
},
|
|
491
|
-
default: {
|
|
492
|
-
bodyMapper: Mappers.CloudError,
|
|
493
|
-
},
|
|
494
|
-
},
|
|
495
|
-
queryParameters: [Parameters.apiVersion],
|
|
496
|
-
urlParameters: [
|
|
497
|
-
Parameters.$host,
|
|
498
|
-
Parameters.scope,
|
|
499
|
-
Parameters.deploymentName,
|
|
500
|
-
Parameters.operationId,
|
|
501
|
-
],
|
|
502
|
-
headerParameters: [Parameters.accept],
|
|
503
|
-
serializer,
|
|
504
|
-
};
|
|
505
|
-
const listAtScopeOperationSpec = {
|
|
506
|
-
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
|
|
507
|
-
httpMethod: "GET",
|
|
508
|
-
responses: {
|
|
509
|
-
200: {
|
|
510
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
511
|
-
},
|
|
512
|
-
default: {
|
|
513
|
-
bodyMapper: Mappers.CloudError,
|
|
514
|
-
},
|
|
515
|
-
},
|
|
516
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
517
|
-
urlParameters: [
|
|
518
|
-
Parameters.$host,
|
|
519
|
-
Parameters.scope,
|
|
520
|
-
Parameters.deploymentName,
|
|
521
|
-
],
|
|
522
|
-
headerParameters: [Parameters.accept],
|
|
523
|
-
serializer,
|
|
524
|
-
};
|
|
525
|
-
const getAtTenantScopeOperationSpec = {
|
|
526
|
-
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
|
|
527
|
-
httpMethod: "GET",
|
|
528
|
-
responses: {
|
|
529
|
-
200: {
|
|
530
|
-
bodyMapper: Mappers.DeploymentOperation,
|
|
531
|
-
},
|
|
532
|
-
default: {
|
|
533
|
-
bodyMapper: Mappers.CloudError,
|
|
534
|
-
},
|
|
535
|
-
},
|
|
536
|
-
queryParameters: [Parameters.apiVersion],
|
|
537
|
-
urlParameters: [
|
|
538
|
-
Parameters.$host,
|
|
539
|
-
Parameters.deploymentName,
|
|
540
|
-
Parameters.operationId,
|
|
541
|
-
],
|
|
542
|
-
headerParameters: [Parameters.accept],
|
|
543
|
-
serializer,
|
|
544
|
-
};
|
|
545
|
-
const listAtTenantScopeOperationSpec = {
|
|
546
|
-
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
|
|
547
|
-
httpMethod: "GET",
|
|
548
|
-
responses: {
|
|
549
|
-
200: {
|
|
550
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
551
|
-
},
|
|
552
|
-
default: {
|
|
553
|
-
bodyMapper: Mappers.CloudError,
|
|
554
|
-
},
|
|
555
|
-
},
|
|
556
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
557
|
-
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
558
|
-
headerParameters: [Parameters.accept],
|
|
559
|
-
serializer,
|
|
560
|
-
};
|
|
561
|
-
const getAtManagementGroupScopeOperationSpec = {
|
|
562
|
-
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
|
|
563
|
-
httpMethod: "GET",
|
|
564
|
-
responses: {
|
|
565
|
-
200: {
|
|
566
|
-
bodyMapper: Mappers.DeploymentOperation,
|
|
567
|
-
},
|
|
568
|
-
default: {
|
|
569
|
-
bodyMapper: Mappers.CloudError,
|
|
570
|
-
},
|
|
571
|
-
},
|
|
572
|
-
queryParameters: [Parameters.apiVersion],
|
|
573
|
-
urlParameters: [
|
|
574
|
-
Parameters.$host,
|
|
575
|
-
Parameters.deploymentName,
|
|
576
|
-
Parameters.groupId,
|
|
577
|
-
Parameters.operationId,
|
|
578
|
-
],
|
|
579
|
-
headerParameters: [Parameters.accept],
|
|
580
|
-
serializer,
|
|
581
|
-
};
|
|
582
|
-
const listAtManagementGroupScopeOperationSpec = {
|
|
583
|
-
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
|
|
584
|
-
httpMethod: "GET",
|
|
585
|
-
responses: {
|
|
586
|
-
200: {
|
|
587
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
588
|
-
},
|
|
589
|
-
default: {
|
|
590
|
-
bodyMapper: Mappers.CloudError,
|
|
591
|
-
},
|
|
592
|
-
},
|
|
593
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
594
|
-
urlParameters: [
|
|
595
|
-
Parameters.$host,
|
|
596
|
-
Parameters.deploymentName,
|
|
597
|
-
Parameters.groupId,
|
|
598
|
-
],
|
|
599
|
-
headerParameters: [Parameters.accept],
|
|
600
|
-
serializer,
|
|
601
|
-
};
|
|
602
|
-
const getAtSubscriptionScopeOperationSpec = {
|
|
603
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}",
|
|
604
|
-
httpMethod: "GET",
|
|
605
|
-
responses: {
|
|
606
|
-
200: {
|
|
607
|
-
bodyMapper: Mappers.DeploymentOperation,
|
|
608
|
-
},
|
|
609
|
-
default: {
|
|
610
|
-
bodyMapper: Mappers.CloudError,
|
|
611
|
-
},
|
|
612
|
-
},
|
|
613
|
-
queryParameters: [Parameters.apiVersion],
|
|
614
|
-
urlParameters: [
|
|
615
|
-
Parameters.$host,
|
|
616
|
-
Parameters.deploymentName,
|
|
617
|
-
Parameters.subscriptionId,
|
|
618
|
-
Parameters.operationId,
|
|
619
|
-
],
|
|
620
|
-
headerParameters: [Parameters.accept],
|
|
621
|
-
serializer,
|
|
622
|
-
};
|
|
623
|
-
const listAtSubscriptionScopeOperationSpec = {
|
|
624
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations",
|
|
625
|
-
httpMethod: "GET",
|
|
626
|
-
responses: {
|
|
627
|
-
200: {
|
|
628
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
629
|
-
},
|
|
630
|
-
default: {
|
|
631
|
-
bodyMapper: Mappers.CloudError,
|
|
632
|
-
},
|
|
633
|
-
},
|
|
634
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
635
|
-
urlParameters: [
|
|
636
|
-
Parameters.$host,
|
|
637
|
-
Parameters.deploymentName,
|
|
638
|
-
Parameters.subscriptionId,
|
|
639
|
-
],
|
|
640
|
-
headerParameters: [Parameters.accept],
|
|
641
|
-
serializer,
|
|
642
|
-
};
|
|
643
|
-
const getOperationSpec = {
|
|
644
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}",
|
|
645
|
-
httpMethod: "GET",
|
|
646
|
-
responses: {
|
|
647
|
-
200: {
|
|
648
|
-
bodyMapper: Mappers.DeploymentOperation,
|
|
649
|
-
},
|
|
650
|
-
default: {
|
|
651
|
-
bodyMapper: Mappers.CloudError,
|
|
652
|
-
},
|
|
653
|
-
},
|
|
654
|
-
queryParameters: [Parameters.apiVersion],
|
|
655
|
-
urlParameters: [
|
|
656
|
-
Parameters.$host,
|
|
657
|
-
Parameters.deploymentName,
|
|
658
|
-
Parameters.subscriptionId,
|
|
659
|
-
Parameters.resourceGroupName,
|
|
660
|
-
Parameters.operationId,
|
|
661
|
-
],
|
|
662
|
-
headerParameters: [Parameters.accept],
|
|
663
|
-
serializer,
|
|
664
|
-
};
|
|
665
|
-
const listOperationSpec = {
|
|
666
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations",
|
|
667
|
-
httpMethod: "GET",
|
|
668
|
-
responses: {
|
|
669
|
-
200: {
|
|
670
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
671
|
-
},
|
|
672
|
-
default: {
|
|
673
|
-
bodyMapper: Mappers.CloudError,
|
|
674
|
-
},
|
|
675
|
-
},
|
|
676
|
-
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
677
|
-
urlParameters: [
|
|
678
|
-
Parameters.$host,
|
|
679
|
-
Parameters.deploymentName,
|
|
680
|
-
Parameters.subscriptionId,
|
|
681
|
-
Parameters.resourceGroupName,
|
|
682
|
-
],
|
|
683
|
-
headerParameters: [Parameters.accept],
|
|
684
|
-
serializer,
|
|
685
|
-
};
|
|
686
|
-
const listAtScopeNextOperationSpec = {
|
|
687
|
-
path: "{nextLink}",
|
|
688
|
-
httpMethod: "GET",
|
|
689
|
-
responses: {
|
|
690
|
-
200: {
|
|
691
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
692
|
-
},
|
|
693
|
-
default: {
|
|
694
|
-
bodyMapper: Mappers.CloudError,
|
|
695
|
-
},
|
|
696
|
-
},
|
|
697
|
-
urlParameters: [
|
|
698
|
-
Parameters.$host,
|
|
699
|
-
Parameters.nextLink,
|
|
700
|
-
Parameters.scope,
|
|
701
|
-
Parameters.deploymentName,
|
|
702
|
-
],
|
|
703
|
-
headerParameters: [Parameters.accept],
|
|
704
|
-
serializer,
|
|
705
|
-
};
|
|
706
|
-
const listAtTenantScopeNextOperationSpec = {
|
|
707
|
-
path: "{nextLink}",
|
|
708
|
-
httpMethod: "GET",
|
|
709
|
-
responses: {
|
|
710
|
-
200: {
|
|
711
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
712
|
-
},
|
|
713
|
-
default: {
|
|
714
|
-
bodyMapper: Mappers.CloudError,
|
|
715
|
-
},
|
|
716
|
-
},
|
|
717
|
-
urlParameters: [
|
|
718
|
-
Parameters.$host,
|
|
719
|
-
Parameters.nextLink,
|
|
720
|
-
Parameters.deploymentName,
|
|
721
|
-
],
|
|
722
|
-
headerParameters: [Parameters.accept],
|
|
723
|
-
serializer,
|
|
724
|
-
};
|
|
725
|
-
const listAtManagementGroupScopeNextOperationSpec = {
|
|
726
|
-
path: "{nextLink}",
|
|
727
|
-
httpMethod: "GET",
|
|
728
|
-
responses: {
|
|
729
|
-
200: {
|
|
730
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
731
|
-
},
|
|
732
|
-
default: {
|
|
733
|
-
bodyMapper: Mappers.CloudError,
|
|
734
|
-
},
|
|
735
|
-
},
|
|
736
|
-
urlParameters: [
|
|
737
|
-
Parameters.$host,
|
|
738
|
-
Parameters.nextLink,
|
|
739
|
-
Parameters.deploymentName,
|
|
740
|
-
Parameters.groupId,
|
|
741
|
-
],
|
|
742
|
-
headerParameters: [Parameters.accept],
|
|
743
|
-
serializer,
|
|
744
|
-
};
|
|
745
|
-
const listAtSubscriptionScopeNextOperationSpec = {
|
|
746
|
-
path: "{nextLink}",
|
|
747
|
-
httpMethod: "GET",
|
|
748
|
-
responses: {
|
|
749
|
-
200: {
|
|
750
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
751
|
-
},
|
|
752
|
-
default: {
|
|
753
|
-
bodyMapper: Mappers.CloudError,
|
|
754
|
-
},
|
|
755
|
-
},
|
|
756
|
-
urlParameters: [
|
|
757
|
-
Parameters.$host,
|
|
758
|
-
Parameters.nextLink,
|
|
759
|
-
Parameters.deploymentName,
|
|
760
|
-
Parameters.subscriptionId,
|
|
761
|
-
],
|
|
762
|
-
headerParameters: [Parameters.accept],
|
|
763
|
-
serializer,
|
|
764
|
-
};
|
|
765
|
-
const listNextOperationSpec = {
|
|
766
|
-
path: "{nextLink}",
|
|
767
|
-
httpMethod: "GET",
|
|
768
|
-
responses: {
|
|
769
|
-
200: {
|
|
770
|
-
bodyMapper: Mappers.DeploymentOperationsListResult,
|
|
771
|
-
},
|
|
772
|
-
default: {
|
|
773
|
-
bodyMapper: Mappers.CloudError,
|
|
774
|
-
},
|
|
775
|
-
},
|
|
776
|
-
urlParameters: [
|
|
777
|
-
Parameters.$host,
|
|
778
|
-
Parameters.nextLink,
|
|
779
|
-
Parameters.deploymentName,
|
|
780
|
-
Parameters.subscriptionId,
|
|
781
|
-
Parameters.resourceGroupName,
|
|
782
|
-
],
|
|
783
|
-
headerParameters: [Parameters.accept],
|
|
784
|
-
serializer,
|
|
785
|
-
};
|
|
786
|
-
//# sourceMappingURL=deploymentOperations.js.map
|