@azure/arm-managedapplications 1.0.2 → 2.0.0-alpha.20211011.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 (160) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +66 -72
  4. package/dist/index.js +2896 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/esm/applicationClient.d.ts +50 -0
  9. package/esm/applicationClient.d.ts.map +1 -0
  10. package/esm/applicationClient.js +190 -0
  11. package/esm/applicationClient.js.map +1 -0
  12. package/esm/applicationClientContext.d.ts +16 -0
  13. package/esm/applicationClientContext.d.ts.map +1 -0
  14. package/esm/applicationClientContext.js +49 -0
  15. package/esm/applicationClientContext.js.map +1 -0
  16. package/esm/coreClientLro.d.ts +26 -0
  17. package/esm/coreClientLro.d.ts.map +1 -0
  18. package/esm/coreClientLro.js +186 -0
  19. package/esm/coreClientLro.js.map +1 -0
  20. package/esm/index.d.ts +770 -0
  21. package/esm/index.d.ts.map +1 -0
  22. package/esm/index.js +13 -0
  23. package/esm/index.js.map +1 -0
  24. package/esm/lro/azureAsyncPolling.d.ts +3 -0
  25. package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
  26. package/esm/lro/azureAsyncPolling.js +67 -0
  27. package/esm/lro/azureAsyncPolling.js.map +1 -0
  28. package/esm/lro/bodyPolling.d.ts +8 -0
  29. package/esm/lro/bodyPolling.d.ts.map +1 -0
  30. package/esm/lro/bodyPolling.js +37 -0
  31. package/esm/lro/bodyPolling.js.map +1 -0
  32. package/esm/lro/index.d.ts +4 -0
  33. package/esm/lro/index.d.ts.map +1 -0
  34. package/esm/lro/index.js +12 -0
  35. package/esm/lro/index.js.map +1 -0
  36. package/esm/lro/locationPolling.d.ts +3 -0
  37. package/esm/lro/locationPolling.d.ts.map +1 -0
  38. package/esm/lro/locationPolling.js +19 -0
  39. package/esm/lro/locationPolling.js.map +1 -0
  40. package/esm/lro/lroEngine.d.ts +14 -0
  41. package/esm/lro/lroEngine.d.ts.map +1 -0
  42. package/esm/lro/lroEngine.js +41 -0
  43. package/esm/lro/lroEngine.js.map +1 -0
  44. package/esm/lro/models.d.ts +138 -0
  45. package/esm/lro/models.d.ts.map +1 -0
  46. package/esm/lro/models.js +14 -0
  47. package/esm/lro/models.js.map +1 -0
  48. package/esm/lro/operation.d.ts +36 -0
  49. package/esm/lro/operation.d.ts.map +1 -0
  50. package/esm/lro/operation.js +82 -0
  51. package/esm/lro/operation.js.map +1 -0
  52. package/esm/lro/passthrough.d.ts +3 -0
  53. package/esm/lro/passthrough.d.ts.map +1 -0
  54. package/esm/lro/passthrough.js +15 -0
  55. package/esm/lro/passthrough.js.map +1 -0
  56. package/esm/lro/requestUtils.d.ts +16 -0
  57. package/esm/lro/requestUtils.d.ts.map +1 -0
  58. package/esm/lro/requestUtils.js +73 -0
  59. package/esm/lro/requestUtils.js.map +1 -0
  60. package/esm/lro/stateMachine.d.ts +18 -0
  61. package/esm/lro/stateMachine.d.ts.map +1 -0
  62. package/esm/lro/stateMachine.js +84 -0
  63. package/esm/lro/stateMachine.js.map +1 -0
  64. package/esm/models/index.d.ts +360 -762
  65. package/esm/models/index.d.ts.map +1 -1
  66. package/esm/models/index.js +17 -2
  67. package/esm/models/index.js.map +1 -1
  68. package/esm/models/mappers.d.ts +18 -20
  69. package/esm/models/mappers.d.ts.map +1 -1
  70. package/esm/models/mappers.js +296 -318
  71. package/esm/models/mappers.js.map +1 -1
  72. package/esm/models/parameters.d.ts +15 -10
  73. package/esm/models/parameters.d.ts.map +1 -1
  74. package/esm/models/parameters.js +77 -49
  75. package/esm/models/parameters.js.map +1 -1
  76. package/esm/operations/applicationDefinitions.d.ts +128 -0
  77. package/esm/operations/applicationDefinitions.d.ts.map +1 -0
  78. package/esm/operations/applicationDefinitions.js +574 -0
  79. package/esm/operations/applicationDefinitions.js.map +1 -0
  80. package/esm/operations/applications.d.ts +182 -0
  81. package/esm/operations/applications.d.ts.map +1 -0
  82. package/esm/operations/applications.js +802 -0
  83. package/esm/operations/applications.js.map +1 -0
  84. package/esm/operations/index.d.ts +2 -2
  85. package/esm/operations/index.d.ts.map +1 -1
  86. package/esm/operations/index.js +5 -7
  87. package/esm/operations/index.js.map +1 -1
  88. package/esm/operationsInterfaces/applicationDefinitions.d.ts +95 -0
  89. package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
  90. package/esm/operationsInterfaces/applicationDefinitions.js +9 -0
  91. package/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
  92. package/esm/operationsInterfaces/applications.d.ts +128 -0
  93. package/esm/operationsInterfaces/applications.d.ts.map +1 -0
  94. package/esm/operationsInterfaces/applications.js +9 -0
  95. package/esm/operationsInterfaces/applications.js.map +1 -0
  96. package/esm/operationsInterfaces/index.d.ts +3 -0
  97. package/esm/operationsInterfaces/index.d.ts.map +1 -0
  98. package/esm/operationsInterfaces/index.js +10 -0
  99. package/esm/operationsInterfaces/index.js.map +1 -0
  100. package/package.json +56 -16
  101. package/review/arm-managedapplications.api.md +443 -0
  102. package/rollup.config.js +181 -30
  103. package/src/applicationClient.ts +222 -0
  104. package/src/applicationClientContext.ts +70 -0
  105. package/src/coreClientLro.ts +323 -0
  106. package/src/index.ts +13 -0
  107. package/src/lro/azureAsyncPolling.ts +96 -0
  108. package/src/lro/bodyPolling.ts +54 -0
  109. package/src/lro/index.ts +26 -0
  110. package/src/lro/locationPolling.ts +30 -0
  111. package/src/lro/lroEngine.ts +61 -0
  112. package/src/lro/models.ts +173 -0
  113. package/src/lro/operation.ts +120 -0
  114. package/src/lro/passthrough.ts +23 -0
  115. package/src/lro/requestUtils.ts +105 -0
  116. package/src/lro/stateMachine.ts +138 -0
  117. package/src/models/index.ts +402 -794
  118. package/src/models/mappers.ts +290 -311
  119. package/src/models/parameters.ts +99 -50
  120. package/src/operations/applicationDefinitions.ts +810 -0
  121. package/src/operations/applications.ts +1069 -0
  122. package/src/operations/index.ts +5 -7
  123. package/src/operationsInterfaces/applicationDefinitions.ts +179 -0
  124. package/src/operationsInterfaces/applications.ts +225 -0
  125. package/src/operationsInterfaces/index.ts +10 -0
  126. package/tsconfig.json +3 -2
  127. package/dist/arm-managedapplications.js +0 -1855
  128. package/dist/arm-managedapplications.js.map +0 -1
  129. package/dist/arm-managedapplications.min.js +0 -1
  130. package/dist/arm-managedapplications.min.js.map +0 -1
  131. package/esm/managedApplicationClient.d.ts +0 -52
  132. package/esm/managedApplicationClient.d.ts.map +0 -1
  133. package/esm/managedApplicationClient.js +0 -87
  134. package/esm/managedApplicationClient.js.map +0 -1
  135. package/esm/managedApplicationClientContext.d.ts +0 -16
  136. package/esm/managedApplicationClientContext.d.ts.map +0 -1
  137. package/esm/managedApplicationClientContext.js +0 -56
  138. package/esm/managedApplicationClientContext.js.map +0 -1
  139. package/esm/models/applianceDefinitionsMappers.d.ts +0 -2
  140. package/esm/models/applianceDefinitionsMappers.d.ts.map +0 -1
  141. package/esm/models/applianceDefinitionsMappers.js +0 -9
  142. package/esm/models/applianceDefinitionsMappers.js.map +0 -1
  143. package/esm/models/appliancesMappers.d.ts +0 -2
  144. package/esm/models/appliancesMappers.d.ts.map +0 -1
  145. package/esm/models/appliancesMappers.js +0 -9
  146. package/esm/models/appliancesMappers.js.map +0 -1
  147. package/esm/operations/applianceDefinitions.d.ts +0 -167
  148. package/esm/operations/applianceDefinitions.d.ts.map +0 -1
  149. package/esm/operations/applianceDefinitions.js +0 -358
  150. package/esm/operations/applianceDefinitions.js.map +0 -1
  151. package/esm/operations/appliances.d.ts +0 -247
  152. package/esm/operations/appliances.d.ts.map +0 -1
  153. package/esm/operations/appliances.js +0 -482
  154. package/esm/operations/appliances.js.map +0 -1
  155. package/src/managedApplicationClient.ts +0 -138
  156. package/src/managedApplicationClientContext.ts +0 -62
  157. package/src/models/applianceDefinitionsMappers.ts +0 -24
  158. package/src/models/appliancesMappers.ts +0 -24
  159. package/src/operations/applianceDefinitions.ts +0 -492
  160. package/src/operations/appliances.ts +0 -716
@@ -0,0 +1,574 @@
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 "@azure/core-paging";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { LroEngine } from "../lro";
14
+ import { CoreClientLro } from "../coreClientLro";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class representing a ApplicationDefinitions. */
17
+ export class ApplicationDefinitionsImpl {
18
+ /**
19
+ * Initialize a new instance of the class ApplicationDefinitions class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Lists the managed application definitions in a resource group.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param options The options parameters.
29
+ */
30
+ listByResourceGroup(resourceGroupName, options) {
31
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: () => {
40
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
41
+ }
42
+ };
43
+ }
44
+ listByResourceGroupPagingPage(resourceGroupName, options) {
45
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
46
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
47
+ yield yield __await(result.value || []);
48
+ let continuationToken = result.nextLink;
49
+ while (continuationToken) {
50
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
51
+ continuationToken = result.nextLink;
52
+ yield yield __await(result.value || []);
53
+ }
54
+ });
55
+ }
56
+ listByResourceGroupPagingAll(resourceGroupName, options) {
57
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
58
+ var e_1, _a;
59
+ try {
60
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
61
+ const page = _c.value;
62
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
+ }
64
+ }
65
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
+ finally {
67
+ try {
68
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
69
+ }
70
+ finally { if (e_1) throw e_1.error; }
71
+ }
72
+ });
73
+ }
74
+ /**
75
+ * ListByResourceGroupNext
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
78
+ * @param options The options parameters.
79
+ */
80
+ listByResourceGroupNext(resourceGroupName, nextLink, options) {
81
+ const iter = this.listByResourceGroupNextPagingAll(resourceGroupName, nextLink, options);
82
+ return {
83
+ next() {
84
+ return iter.next();
85
+ },
86
+ [Symbol.asyncIterator]() {
87
+ return this;
88
+ },
89
+ byPage: () => {
90
+ return this.listByResourceGroupNextPagingPage(resourceGroupName, nextLink, options);
91
+ }
92
+ };
93
+ }
94
+ listByResourceGroupNextPagingPage(resourceGroupName, nextLink, options) {
95
+ return __asyncGenerator(this, arguments, function* listByResourceGroupNextPagingPage_1() {
96
+ let result = yield __await(this._listByResourceGroupNext(resourceGroupName, nextLink, options));
97
+ yield yield __await(result.value || []);
98
+ let continuationToken = result.nextLink;
99
+ while (continuationToken) {
100
+ result = yield __await(this._listByResourceGroupNextNext(resourceGroupName, continuationToken, options));
101
+ continuationToken = result.nextLink;
102
+ yield yield __await(result.value || []);
103
+ }
104
+ });
105
+ }
106
+ listByResourceGroupNextPagingAll(resourceGroupName, nextLink, options) {
107
+ return __asyncGenerator(this, arguments, function* listByResourceGroupNextPagingAll_1() {
108
+ var e_2, _a;
109
+ try {
110
+ for (var _b = __asyncValues(this.listByResourceGroupNextPagingPage(resourceGroupName, nextLink, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
111
+ const page = _c.value;
112
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
113
+ }
114
+ }
115
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
116
+ finally {
117
+ try {
118
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
119
+ }
120
+ finally { if (e_2) throw e_2.error; }
121
+ }
122
+ });
123
+ }
124
+ /**
125
+ * Gets the managed application definition.
126
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
127
+ * @param applicationDefinitionName The name of the managed application definition.
128
+ * @param options The options parameters.
129
+ */
130
+ get(resourceGroupName, applicationDefinitionName, options) {
131
+ return this.client.sendOperationRequest({ resourceGroupName, applicationDefinitionName, options }, getOperationSpec);
132
+ }
133
+ /**
134
+ * Deletes the managed application definition.
135
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
+ * @param applicationDefinitionName The name of the managed application definition to delete.
137
+ * @param options The options parameters.
138
+ */
139
+ beginDelete(resourceGroupName, applicationDefinitionName, options) {
140
+ return __awaiter(this, void 0, void 0, function* () {
141
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
142
+ return this.client.sendOperationRequest(args, spec);
143
+ });
144
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
145
+ var _a;
146
+ let currentRawResponse = undefined;
147
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
148
+ const callback = (rawResponse, flatResponse) => {
149
+ currentRawResponse = rawResponse;
150
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
151
+ };
152
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
153
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
154
+ return {
155
+ flatResponse,
156
+ rawResponse: {
157
+ statusCode: currentRawResponse.status,
158
+ body: currentRawResponse.parsedBody,
159
+ headers: currentRawResponse.headers.toJSON()
160
+ }
161
+ };
162
+ });
163
+ const lro = new CoreClientLro(sendOperation, { resourceGroupName, applicationDefinitionName, options }, deleteOperationSpec);
164
+ return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
165
+ });
166
+ }
167
+ /**
168
+ * Deletes the managed application definition.
169
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
170
+ * @param applicationDefinitionName The name of the managed application definition to delete.
171
+ * @param options The options parameters.
172
+ */
173
+ beginDeleteAndWait(resourceGroupName, applicationDefinitionName, options) {
174
+ return __awaiter(this, void 0, void 0, function* () {
175
+ const poller = yield this.beginDelete(resourceGroupName, applicationDefinitionName, options);
176
+ return poller.pollUntilDone();
177
+ });
178
+ }
179
+ /**
180
+ * Creates a new managed application definition.
181
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
182
+ * @param applicationDefinitionName The name of the managed application definition.
183
+ * @param parameters Parameters supplied to the create or update an managed application definition.
184
+ * @param options The options parameters.
185
+ */
186
+ beginCreateOrUpdate(resourceGroupName, applicationDefinitionName, parameters, options) {
187
+ return __awaiter(this, void 0, void 0, function* () {
188
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
189
+ return this.client.sendOperationRequest(args, spec);
190
+ });
191
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
192
+ var _a;
193
+ let currentRawResponse = undefined;
194
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
195
+ const callback = (rawResponse, flatResponse) => {
196
+ currentRawResponse = rawResponse;
197
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
198
+ };
199
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
200
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
201
+ return {
202
+ flatResponse,
203
+ rawResponse: {
204
+ statusCode: currentRawResponse.status,
205
+ body: currentRawResponse.parsedBody,
206
+ headers: currentRawResponse.headers.toJSON()
207
+ }
208
+ };
209
+ });
210
+ const lro = new CoreClientLro(sendOperation, { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateOperationSpec);
211
+ return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
212
+ });
213
+ }
214
+ /**
215
+ * Creates a new managed application definition.
216
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
217
+ * @param applicationDefinitionName The name of the managed application definition.
218
+ * @param parameters Parameters supplied to the create or update an managed application definition.
219
+ * @param options The options parameters.
220
+ */
221
+ beginCreateOrUpdateAndWait(resourceGroupName, applicationDefinitionName, parameters, options) {
222
+ return __awaiter(this, void 0, void 0, function* () {
223
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, applicationDefinitionName, parameters, options);
224
+ return poller.pollUntilDone();
225
+ });
226
+ }
227
+ /**
228
+ * Lists the managed application definitions in a resource group.
229
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
230
+ * @param options The options parameters.
231
+ */
232
+ _listByResourceGroup(resourceGroupName, options) {
233
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
234
+ }
235
+ /**
236
+ * Gets the managed application definition.
237
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
238
+ * @param applicationDefinitionName The name of the managed application definition.
239
+ * @param options The options parameters.
240
+ */
241
+ getById(resourceGroupName, applicationDefinitionName, options) {
242
+ return this.client.sendOperationRequest({ resourceGroupName, applicationDefinitionName, options }, getByIdOperationSpec);
243
+ }
244
+ /**
245
+ * Deletes the managed application definition.
246
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
247
+ * @param applicationDefinitionName The name of the managed application definition.
248
+ * @param options The options parameters.
249
+ */
250
+ beginDeleteById(resourceGroupName, applicationDefinitionName, options) {
251
+ return __awaiter(this, void 0, void 0, function* () {
252
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
253
+ return this.client.sendOperationRequest(args, spec);
254
+ });
255
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
256
+ var _a;
257
+ let currentRawResponse = undefined;
258
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
259
+ const callback = (rawResponse, flatResponse) => {
260
+ currentRawResponse = rawResponse;
261
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
262
+ };
263
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
264
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
265
+ return {
266
+ flatResponse,
267
+ rawResponse: {
268
+ statusCode: currentRawResponse.status,
269
+ body: currentRawResponse.parsedBody,
270
+ headers: currentRawResponse.headers.toJSON()
271
+ }
272
+ };
273
+ });
274
+ const lro = new CoreClientLro(sendOperation, { resourceGroupName, applicationDefinitionName, options }, deleteByIdOperationSpec);
275
+ return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
276
+ });
277
+ }
278
+ /**
279
+ * Deletes the managed application definition.
280
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
281
+ * @param applicationDefinitionName The name of the managed application definition.
282
+ * @param options The options parameters.
283
+ */
284
+ beginDeleteByIdAndWait(resourceGroupName, applicationDefinitionName, options) {
285
+ return __awaiter(this, void 0, void 0, function* () {
286
+ const poller = yield this.beginDeleteById(resourceGroupName, applicationDefinitionName, options);
287
+ return poller.pollUntilDone();
288
+ });
289
+ }
290
+ /**
291
+ * Creates a new managed application definition.
292
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
293
+ * @param applicationDefinitionName The name of the managed application definition.
294
+ * @param parameters Parameters supplied to the create or update a managed application definition.
295
+ * @param options The options parameters.
296
+ */
297
+ beginCreateOrUpdateById(resourceGroupName, applicationDefinitionName, parameters, options) {
298
+ return __awaiter(this, void 0, void 0, function* () {
299
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
300
+ return this.client.sendOperationRequest(args, spec);
301
+ });
302
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
303
+ var _a;
304
+ let currentRawResponse = undefined;
305
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
306
+ const callback = (rawResponse, flatResponse) => {
307
+ currentRawResponse = rawResponse;
308
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
309
+ };
310
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
311
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
312
+ return {
313
+ flatResponse,
314
+ rawResponse: {
315
+ statusCode: currentRawResponse.status,
316
+ body: currentRawResponse.parsedBody,
317
+ headers: currentRawResponse.headers.toJSON()
318
+ }
319
+ };
320
+ });
321
+ const lro = new CoreClientLro(sendOperation, { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateByIdOperationSpec);
322
+ return new LroEngine(lro, { intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs });
323
+ });
324
+ }
325
+ /**
326
+ * Creates a new managed application definition.
327
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
328
+ * @param applicationDefinitionName The name of the managed application definition.
329
+ * @param parameters Parameters supplied to the create or update a managed application definition.
330
+ * @param options The options parameters.
331
+ */
332
+ beginCreateOrUpdateByIdAndWait(resourceGroupName, applicationDefinitionName, parameters, options) {
333
+ return __awaiter(this, void 0, void 0, function* () {
334
+ const poller = yield this.beginCreateOrUpdateById(resourceGroupName, applicationDefinitionName, parameters, options);
335
+ return poller.pollUntilDone();
336
+ });
337
+ }
338
+ /**
339
+ * ListByResourceGroupNext
340
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
341
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
342
+ * @param options The options parameters.
343
+ */
344
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
345
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
346
+ }
347
+ /**
348
+ * ListByResourceGroupNextNext
349
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
350
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroupNext
351
+ * method.
352
+ * @param options The options parameters.
353
+ */
354
+ _listByResourceGroupNextNext(resourceGroupName, nextLink, options) {
355
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextNextOperationSpec);
356
+ }
357
+ }
358
+ // Operation Specifications
359
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
360
+ const getOperationSpec = {
361
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
362
+ httpMethod: "GET",
363
+ responses: {
364
+ 200: {
365
+ bodyMapper: Mappers.ApplicationDefinition
366
+ },
367
+ 404: {},
368
+ default: {
369
+ bodyMapper: Mappers.ErrorResponse
370
+ }
371
+ },
372
+ queryParameters: [Parameters.apiVersion],
373
+ urlParameters: [
374
+ Parameters.$host,
375
+ Parameters.resourceGroupName,
376
+ Parameters.subscriptionId,
377
+ Parameters.applicationDefinitionName
378
+ ],
379
+ headerParameters: [Parameters.accept],
380
+ serializer
381
+ };
382
+ const deleteOperationSpec = {
383
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
384
+ httpMethod: "DELETE",
385
+ responses: {
386
+ 200: {},
387
+ 201: {},
388
+ 202: {},
389
+ 204: {},
390
+ default: {
391
+ bodyMapper: Mappers.ErrorResponse
392
+ }
393
+ },
394
+ queryParameters: [Parameters.apiVersion],
395
+ urlParameters: [
396
+ Parameters.$host,
397
+ Parameters.resourceGroupName,
398
+ Parameters.subscriptionId,
399
+ Parameters.applicationDefinitionName
400
+ ],
401
+ headerParameters: [Parameters.accept],
402
+ serializer
403
+ };
404
+ const createOrUpdateOperationSpec = {
405
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
406
+ httpMethod: "PUT",
407
+ responses: {
408
+ 200: {
409
+ bodyMapper: Mappers.ApplicationDefinition
410
+ },
411
+ 201: {
412
+ bodyMapper: Mappers.ApplicationDefinition
413
+ },
414
+ 202: {
415
+ bodyMapper: Mappers.ApplicationDefinition
416
+ },
417
+ 204: {
418
+ bodyMapper: Mappers.ApplicationDefinition
419
+ },
420
+ default: {
421
+ bodyMapper: Mappers.ErrorResponse
422
+ }
423
+ },
424
+ requestBody: Parameters.parameters3,
425
+ queryParameters: [Parameters.apiVersion],
426
+ urlParameters: [
427
+ Parameters.$host,
428
+ Parameters.resourceGroupName,
429
+ Parameters.subscriptionId,
430
+ Parameters.applicationDefinitionName
431
+ ],
432
+ headerParameters: [Parameters.accept, Parameters.contentType],
433
+ mediaType: "json",
434
+ serializer
435
+ };
436
+ const listByResourceGroupOperationSpec = {
437
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions",
438
+ httpMethod: "GET",
439
+ responses: {
440
+ 200: {
441
+ bodyMapper: Mappers.ApplicationDefinitionListResult
442
+ },
443
+ default: {
444
+ bodyMapper: Mappers.ErrorResponse
445
+ }
446
+ },
447
+ queryParameters: [Parameters.apiVersion],
448
+ urlParameters: [
449
+ Parameters.$host,
450
+ Parameters.resourceGroupName,
451
+ Parameters.subscriptionId
452
+ ],
453
+ headerParameters: [Parameters.accept],
454
+ serializer
455
+ };
456
+ const getByIdOperationSpec = {
457
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
458
+ httpMethod: "GET",
459
+ responses: {
460
+ 200: {
461
+ bodyMapper: Mappers.ApplicationDefinition
462
+ },
463
+ 404: {},
464
+ default: {
465
+ bodyMapper: Mappers.ErrorResponse
466
+ }
467
+ },
468
+ queryParameters: [Parameters.apiVersion],
469
+ urlParameters: [
470
+ Parameters.$host,
471
+ Parameters.resourceGroupName,
472
+ Parameters.subscriptionId,
473
+ Parameters.applicationDefinitionName
474
+ ],
475
+ headerParameters: [Parameters.accept],
476
+ serializer
477
+ };
478
+ const deleteByIdOperationSpec = {
479
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
480
+ httpMethod: "DELETE",
481
+ responses: {
482
+ 200: {},
483
+ 201: {},
484
+ 202: {},
485
+ 204: {},
486
+ default: {
487
+ bodyMapper: Mappers.ErrorResponse
488
+ }
489
+ },
490
+ queryParameters: [Parameters.apiVersion],
491
+ urlParameters: [
492
+ Parameters.$host,
493
+ Parameters.resourceGroupName,
494
+ Parameters.subscriptionId,
495
+ Parameters.applicationDefinitionName
496
+ ],
497
+ headerParameters: [Parameters.accept],
498
+ serializer
499
+ };
500
+ const createOrUpdateByIdOperationSpec = {
501
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
502
+ httpMethod: "PUT",
503
+ responses: {
504
+ 200: {
505
+ bodyMapper: Mappers.ApplicationDefinition
506
+ },
507
+ 201: {
508
+ bodyMapper: Mappers.ApplicationDefinition
509
+ },
510
+ 202: {
511
+ bodyMapper: Mappers.ApplicationDefinition
512
+ },
513
+ 204: {
514
+ bodyMapper: Mappers.ApplicationDefinition
515
+ },
516
+ default: {
517
+ bodyMapper: Mappers.ErrorResponse
518
+ }
519
+ },
520
+ requestBody: Parameters.parameters3,
521
+ queryParameters: [Parameters.apiVersion],
522
+ urlParameters: [
523
+ Parameters.$host,
524
+ Parameters.resourceGroupName,
525
+ Parameters.subscriptionId,
526
+ Parameters.applicationDefinitionName
527
+ ],
528
+ headerParameters: [Parameters.accept, Parameters.contentType],
529
+ mediaType: "json",
530
+ serializer
531
+ };
532
+ const listByResourceGroupNextOperationSpec = {
533
+ path: "{nextLink}",
534
+ httpMethod: "GET",
535
+ responses: {
536
+ 200: {
537
+ bodyMapper: Mappers.ApplicationDefinitionListResult
538
+ },
539
+ default: {
540
+ bodyMapper: Mappers.ErrorResponse
541
+ }
542
+ },
543
+ queryParameters: [Parameters.apiVersion],
544
+ urlParameters: [
545
+ Parameters.$host,
546
+ Parameters.nextLink,
547
+ Parameters.resourceGroupName,
548
+ Parameters.subscriptionId
549
+ ],
550
+ headerParameters: [Parameters.accept],
551
+ serializer
552
+ };
553
+ const listByResourceGroupNextNextOperationSpec = {
554
+ path: "{nextLink}",
555
+ httpMethod: "GET",
556
+ responses: {
557
+ 200: {
558
+ bodyMapper: Mappers.ApplicationDefinitionListResult
559
+ },
560
+ default: {
561
+ bodyMapper: Mappers.ErrorResponse
562
+ }
563
+ },
564
+ queryParameters: [Parameters.apiVersion],
565
+ urlParameters: [
566
+ Parameters.$host,
567
+ Parameters.nextLink,
568
+ Parameters.resourceGroupName,
569
+ Parameters.subscriptionId
570
+ ],
571
+ headerParameters: [Parameters.accept],
572
+ serializer
573
+ };
574
+ //# sourceMappingURL=applicationDefinitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applicationDefinitions.js","sourceRoot":"","sources":["../../src/operations/applicationDefinitions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EAAE,aAAa,EAAwB,MAAM,kB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