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