@azure/arm-managedapplications 2.0.1-alpha.20220105.1 → 2.0.1-alpha.20220201.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/dist/index.js +72 -50
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,6 +6,26 @@ var tslib = require('tslib');
|
|
|
6
6
|
var coreClient = require('@azure/core-client');
|
|
7
7
|
var coreLro = require('@azure/core-lro');
|
|
8
8
|
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
28
|
+
|
|
9
29
|
/*
|
|
10
30
|
* Copyright (c) Microsoft Corporation.
|
|
11
31
|
* Licensed under the MIT License.
|
|
@@ -13,6 +33,8 @@ var coreLro = require('@azure/core-lro');
|
|
|
13
33
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
14
34
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
15
35
|
*/
|
|
36
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
37
|
+
exports.KnownProvisioningState = void 0;
|
|
16
38
|
(function (KnownProvisioningState) {
|
|
17
39
|
KnownProvisioningState["Accepted"] = "Accepted";
|
|
18
40
|
KnownProvisioningState["Running"] = "Running";
|
|
@@ -940,7 +962,7 @@ class ApplicationsImpl {
|
|
|
940
962
|
* @param options The options parameters.
|
|
941
963
|
*/
|
|
942
964
|
get(resourceGroupName, applicationName, options) {
|
|
943
|
-
return this.client.sendOperationRequest({ resourceGroupName, applicationName, options }, getOperationSpec);
|
|
965
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationName, options }, getOperationSpec$1);
|
|
944
966
|
}
|
|
945
967
|
/**
|
|
946
968
|
* Deletes the managed application.
|
|
@@ -972,7 +994,7 @@ class ApplicationsImpl {
|
|
|
972
994
|
}
|
|
973
995
|
};
|
|
974
996
|
});
|
|
975
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationName, options }, deleteOperationSpec);
|
|
997
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationName, options }, deleteOperationSpec$1);
|
|
976
998
|
return new coreLro.LroEngine(lro, {
|
|
977
999
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
978
1000
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1022,7 +1044,7 @@ class ApplicationsImpl {
|
|
|
1022
1044
|
}
|
|
1023
1045
|
};
|
|
1024
1046
|
});
|
|
1025
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationName, parameters, options }, createOrUpdateOperationSpec);
|
|
1047
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationName, parameters, options }, createOrUpdateOperationSpec$1);
|
|
1026
1048
|
return new coreLro.LroEngine(lro, {
|
|
1027
1049
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1028
1050
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1058,7 +1080,7 @@ class ApplicationsImpl {
|
|
|
1058
1080
|
* @param options The options parameters.
|
|
1059
1081
|
*/
|
|
1060
1082
|
_listByResourceGroup(resourceGroupName, options) {
|
|
1061
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
1083
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
|
1062
1084
|
}
|
|
1063
1085
|
/**
|
|
1064
1086
|
* Gets all the applications within a subscription.
|
|
@@ -1075,7 +1097,7 @@ class ApplicationsImpl {
|
|
|
1075
1097
|
* @param options The options parameters.
|
|
1076
1098
|
*/
|
|
1077
1099
|
getById(applicationId, options) {
|
|
1078
|
-
return this.client.sendOperationRequest({ applicationId, options }, getByIdOperationSpec);
|
|
1100
|
+
return this.client.sendOperationRequest({ applicationId, options }, getByIdOperationSpec$1);
|
|
1079
1101
|
}
|
|
1080
1102
|
/**
|
|
1081
1103
|
* Deletes the managed application.
|
|
@@ -1108,7 +1130,7 @@ class ApplicationsImpl {
|
|
|
1108
1130
|
}
|
|
1109
1131
|
};
|
|
1110
1132
|
});
|
|
1111
|
-
const lro = new LroImpl(sendOperation, { applicationId, options }, deleteByIdOperationSpec);
|
|
1133
|
+
const lro = new LroImpl(sendOperation, { applicationId, options }, deleteByIdOperationSpec$1);
|
|
1112
1134
|
return new coreLro.LroEngine(lro, {
|
|
1113
1135
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1114
1136
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1160,7 +1182,7 @@ class ApplicationsImpl {
|
|
|
1160
1182
|
}
|
|
1161
1183
|
};
|
|
1162
1184
|
});
|
|
1163
|
-
const lro = new LroImpl(sendOperation, { applicationId, parameters, options }, createOrUpdateByIdOperationSpec);
|
|
1185
|
+
const lro = new LroImpl(sendOperation, { applicationId, parameters, options }, createOrUpdateByIdOperationSpec$1);
|
|
1164
1186
|
return new coreLro.LroEngine(lro, {
|
|
1165
1187
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1166
1188
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1199,7 +1221,7 @@ class ApplicationsImpl {
|
|
|
1199
1221
|
* @param options The options parameters.
|
|
1200
1222
|
*/
|
|
1201
1223
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
1202
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
1224
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
|
|
1203
1225
|
}
|
|
1204
1226
|
/**
|
|
1205
1227
|
* ListBySubscriptionNext
|
|
@@ -1211,8 +1233,8 @@ class ApplicationsImpl {
|
|
|
1211
1233
|
}
|
|
1212
1234
|
}
|
|
1213
1235
|
// Operation Specifications
|
|
1214
|
-
const serializer =
|
|
1215
|
-
const getOperationSpec = {
|
|
1236
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1237
|
+
const getOperationSpec$1 = {
|
|
1216
1238
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1217
1239
|
httpMethod: "GET",
|
|
1218
1240
|
responses: {
|
|
@@ -1232,9 +1254,9 @@ const getOperationSpec = {
|
|
|
1232
1254
|
subscriptionId
|
|
1233
1255
|
],
|
|
1234
1256
|
headerParameters: [accept],
|
|
1235
|
-
serializer
|
|
1257
|
+
serializer: serializer$2
|
|
1236
1258
|
};
|
|
1237
|
-
const deleteOperationSpec = {
|
|
1259
|
+
const deleteOperationSpec$1 = {
|
|
1238
1260
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1239
1261
|
httpMethod: "DELETE",
|
|
1240
1262
|
responses: {
|
|
@@ -1254,9 +1276,9 @@ const deleteOperationSpec = {
|
|
|
1254
1276
|
subscriptionId
|
|
1255
1277
|
],
|
|
1256
1278
|
headerParameters: [accept],
|
|
1257
|
-
serializer
|
|
1279
|
+
serializer: serializer$2
|
|
1258
1280
|
};
|
|
1259
|
-
const createOrUpdateOperationSpec = {
|
|
1281
|
+
const createOrUpdateOperationSpec$1 = {
|
|
1260
1282
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
1261
1283
|
httpMethod: "PUT",
|
|
1262
1284
|
responses: {
|
|
@@ -1286,7 +1308,7 @@ const createOrUpdateOperationSpec = {
|
|
|
1286
1308
|
],
|
|
1287
1309
|
headerParameters: [accept, contentType],
|
|
1288
1310
|
mediaType: "json",
|
|
1289
|
-
serializer
|
|
1311
|
+
serializer: serializer$2
|
|
1290
1312
|
};
|
|
1291
1313
|
const updateOperationSpec = {
|
|
1292
1314
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}",
|
|
@@ -1309,9 +1331,9 @@ const updateOperationSpec = {
|
|
|
1309
1331
|
],
|
|
1310
1332
|
headerParameters: [accept, contentType],
|
|
1311
1333
|
mediaType: "json",
|
|
1312
|
-
serializer
|
|
1334
|
+
serializer: serializer$2
|
|
1313
1335
|
};
|
|
1314
|
-
const listByResourceGroupOperationSpec = {
|
|
1336
|
+
const listByResourceGroupOperationSpec$1 = {
|
|
1315
1337
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications",
|
|
1316
1338
|
httpMethod: "GET",
|
|
1317
1339
|
responses: {
|
|
@@ -1329,7 +1351,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
1329
1351
|
subscriptionId
|
|
1330
1352
|
],
|
|
1331
1353
|
headerParameters: [accept],
|
|
1332
|
-
serializer
|
|
1354
|
+
serializer: serializer$2
|
|
1333
1355
|
};
|
|
1334
1356
|
const listBySubscriptionOperationSpec = {
|
|
1335
1357
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications",
|
|
@@ -1345,9 +1367,9 @@ const listBySubscriptionOperationSpec = {
|
|
|
1345
1367
|
queryParameters: [apiVersion],
|
|
1346
1368
|
urlParameters: [$host, subscriptionId],
|
|
1347
1369
|
headerParameters: [accept],
|
|
1348
|
-
serializer
|
|
1370
|
+
serializer: serializer$2
|
|
1349
1371
|
};
|
|
1350
|
-
const getByIdOperationSpec = {
|
|
1372
|
+
const getByIdOperationSpec$1 = {
|
|
1351
1373
|
path: "/{applicationId}",
|
|
1352
1374
|
httpMethod: "GET",
|
|
1353
1375
|
responses: {
|
|
@@ -1362,9 +1384,9 @@ const getByIdOperationSpec = {
|
|
|
1362
1384
|
queryParameters: [apiVersion],
|
|
1363
1385
|
urlParameters: [$host, applicationId],
|
|
1364
1386
|
headerParameters: [accept],
|
|
1365
|
-
serializer
|
|
1387
|
+
serializer: serializer$2
|
|
1366
1388
|
};
|
|
1367
|
-
const deleteByIdOperationSpec = {
|
|
1389
|
+
const deleteByIdOperationSpec$1 = {
|
|
1368
1390
|
path: "/{applicationId}",
|
|
1369
1391
|
httpMethod: "DELETE",
|
|
1370
1392
|
responses: {
|
|
@@ -1379,9 +1401,9 @@ const deleteByIdOperationSpec = {
|
|
|
1379
1401
|
queryParameters: [apiVersion],
|
|
1380
1402
|
urlParameters: [$host, applicationId],
|
|
1381
1403
|
headerParameters: [accept],
|
|
1382
|
-
serializer
|
|
1404
|
+
serializer: serializer$2
|
|
1383
1405
|
};
|
|
1384
|
-
const createOrUpdateByIdOperationSpec = {
|
|
1406
|
+
const createOrUpdateByIdOperationSpec$1 = {
|
|
1385
1407
|
path: "/{applicationId}",
|
|
1386
1408
|
httpMethod: "PUT",
|
|
1387
1409
|
responses: {
|
|
@@ -1406,7 +1428,7 @@ const createOrUpdateByIdOperationSpec = {
|
|
|
1406
1428
|
urlParameters: [$host, applicationId],
|
|
1407
1429
|
headerParameters: [accept, contentType],
|
|
1408
1430
|
mediaType: "json",
|
|
1409
|
-
serializer
|
|
1431
|
+
serializer: serializer$2
|
|
1410
1432
|
};
|
|
1411
1433
|
const updateByIdOperationSpec = {
|
|
1412
1434
|
path: "/{applicationId}",
|
|
@@ -1424,9 +1446,9 @@ const updateByIdOperationSpec = {
|
|
|
1424
1446
|
urlParameters: [$host, applicationId],
|
|
1425
1447
|
headerParameters: [accept, contentType],
|
|
1426
1448
|
mediaType: "json",
|
|
1427
|
-
serializer
|
|
1449
|
+
serializer: serializer$2
|
|
1428
1450
|
};
|
|
1429
|
-
const listByResourceGroupNextOperationSpec = {
|
|
1451
|
+
const listByResourceGroupNextOperationSpec$1 = {
|
|
1430
1452
|
path: "{nextLink}",
|
|
1431
1453
|
httpMethod: "GET",
|
|
1432
1454
|
responses: {
|
|
@@ -1445,7 +1467,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
|
1445
1467
|
subscriptionId
|
|
1446
1468
|
],
|
|
1447
1469
|
headerParameters: [accept],
|
|
1448
|
-
serializer
|
|
1470
|
+
serializer: serializer$2
|
|
1449
1471
|
};
|
|
1450
1472
|
const listBySubscriptionNextOperationSpec = {
|
|
1451
1473
|
path: "{nextLink}",
|
|
@@ -1465,7 +1487,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
1465
1487
|
subscriptionId
|
|
1466
1488
|
],
|
|
1467
1489
|
headerParameters: [accept],
|
|
1468
|
-
serializer
|
|
1490
|
+
serializer: serializer$2
|
|
1469
1491
|
};
|
|
1470
1492
|
|
|
1471
1493
|
/*
|
|
@@ -1541,7 +1563,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1541
1563
|
* @param options The options parameters.
|
|
1542
1564
|
*/
|
|
1543
1565
|
get(resourceGroupName, applicationDefinitionName, options) {
|
|
1544
|
-
return this.client.sendOperationRequest({ resourceGroupName, applicationDefinitionName, options }, getOperationSpec
|
|
1566
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationDefinitionName, options }, getOperationSpec);
|
|
1545
1567
|
}
|
|
1546
1568
|
/**
|
|
1547
1569
|
* Deletes the managed application definition.
|
|
@@ -1573,7 +1595,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1573
1595
|
}
|
|
1574
1596
|
};
|
|
1575
1597
|
});
|
|
1576
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, options }, deleteOperationSpec
|
|
1598
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, options }, deleteOperationSpec);
|
|
1577
1599
|
return new coreLro.LroEngine(lro, {
|
|
1578
1600
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1579
1601
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1623,7 +1645,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1623
1645
|
}
|
|
1624
1646
|
};
|
|
1625
1647
|
});
|
|
1626
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateOperationSpec
|
|
1648
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateOperationSpec);
|
|
1627
1649
|
return new coreLro.LroEngine(lro, {
|
|
1628
1650
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1629
1651
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1649,7 +1671,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1649
1671
|
* @param options The options parameters.
|
|
1650
1672
|
*/
|
|
1651
1673
|
_listByResourceGroup(resourceGroupName, options) {
|
|
1652
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec
|
|
1674
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
1653
1675
|
}
|
|
1654
1676
|
/**
|
|
1655
1677
|
* Gets the managed application definition.
|
|
@@ -1658,7 +1680,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1658
1680
|
* @param options The options parameters.
|
|
1659
1681
|
*/
|
|
1660
1682
|
getById(resourceGroupName, applicationDefinitionName, options) {
|
|
1661
|
-
return this.client.sendOperationRequest({ resourceGroupName, applicationDefinitionName, options }, getByIdOperationSpec
|
|
1683
|
+
return this.client.sendOperationRequest({ resourceGroupName, applicationDefinitionName, options }, getByIdOperationSpec);
|
|
1662
1684
|
}
|
|
1663
1685
|
/**
|
|
1664
1686
|
* Deletes the managed application definition.
|
|
@@ -1690,7 +1712,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1690
1712
|
}
|
|
1691
1713
|
};
|
|
1692
1714
|
});
|
|
1693
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, options }, deleteByIdOperationSpec
|
|
1715
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, options }, deleteByIdOperationSpec);
|
|
1694
1716
|
return new coreLro.LroEngine(lro, {
|
|
1695
1717
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1696
1718
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1740,7 +1762,7 @@ class ApplicationDefinitionsImpl {
|
|
|
1740
1762
|
}
|
|
1741
1763
|
};
|
|
1742
1764
|
});
|
|
1743
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateByIdOperationSpec
|
|
1765
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, applicationDefinitionName, parameters, options }, createOrUpdateByIdOperationSpec);
|
|
1744
1766
|
return new coreLro.LroEngine(lro, {
|
|
1745
1767
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1746
1768
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
@@ -1767,12 +1789,12 @@ class ApplicationDefinitionsImpl {
|
|
|
1767
1789
|
* @param options The options parameters.
|
|
1768
1790
|
*/
|
|
1769
1791
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
1770
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec
|
|
1792
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
1771
1793
|
}
|
|
1772
1794
|
}
|
|
1773
1795
|
// Operation Specifications
|
|
1774
|
-
const serializer$1 =
|
|
1775
|
-
const getOperationSpec
|
|
1796
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1797
|
+
const getOperationSpec = {
|
|
1776
1798
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
|
|
1777
1799
|
httpMethod: "GET",
|
|
1778
1800
|
responses: {
|
|
@@ -1794,7 +1816,7 @@ const getOperationSpec$1 = {
|
|
|
1794
1816
|
headerParameters: [accept],
|
|
1795
1817
|
serializer: serializer$1
|
|
1796
1818
|
};
|
|
1797
|
-
const deleteOperationSpec
|
|
1819
|
+
const deleteOperationSpec = {
|
|
1798
1820
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
|
|
1799
1821
|
httpMethod: "DELETE",
|
|
1800
1822
|
responses: {
|
|
@@ -1816,7 +1838,7 @@ const deleteOperationSpec$1 = {
|
|
|
1816
1838
|
headerParameters: [accept],
|
|
1817
1839
|
serializer: serializer$1
|
|
1818
1840
|
};
|
|
1819
|
-
const createOrUpdateOperationSpec
|
|
1841
|
+
const createOrUpdateOperationSpec = {
|
|
1820
1842
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
|
|
1821
1843
|
httpMethod: "PUT",
|
|
1822
1844
|
responses: {
|
|
@@ -1848,7 +1870,7 @@ const createOrUpdateOperationSpec$1 = {
|
|
|
1848
1870
|
mediaType: "json",
|
|
1849
1871
|
serializer: serializer$1
|
|
1850
1872
|
};
|
|
1851
|
-
const listByResourceGroupOperationSpec
|
|
1873
|
+
const listByResourceGroupOperationSpec = {
|
|
1852
1874
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions",
|
|
1853
1875
|
httpMethod: "GET",
|
|
1854
1876
|
responses: {
|
|
@@ -1868,7 +1890,7 @@ const listByResourceGroupOperationSpec$1 = {
|
|
|
1868
1890
|
headerParameters: [accept],
|
|
1869
1891
|
serializer: serializer$1
|
|
1870
1892
|
};
|
|
1871
|
-
const getByIdOperationSpec
|
|
1893
|
+
const getByIdOperationSpec = {
|
|
1872
1894
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
|
|
1873
1895
|
httpMethod: "GET",
|
|
1874
1896
|
responses: {
|
|
@@ -1890,7 +1912,7 @@ const getByIdOperationSpec$1 = {
|
|
|
1890
1912
|
headerParameters: [accept],
|
|
1891
1913
|
serializer: serializer$1
|
|
1892
1914
|
};
|
|
1893
|
-
const deleteByIdOperationSpec
|
|
1915
|
+
const deleteByIdOperationSpec = {
|
|
1894
1916
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
|
|
1895
1917
|
httpMethod: "DELETE",
|
|
1896
1918
|
responses: {
|
|
@@ -1912,7 +1934,7 @@ const deleteByIdOperationSpec$1 = {
|
|
|
1912
1934
|
headerParameters: [accept],
|
|
1913
1935
|
serializer: serializer$1
|
|
1914
1936
|
};
|
|
1915
|
-
const createOrUpdateByIdOperationSpec
|
|
1937
|
+
const createOrUpdateByIdOperationSpec = {
|
|
1916
1938
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}",
|
|
1917
1939
|
httpMethod: "PUT",
|
|
1918
1940
|
responses: {
|
|
@@ -1944,7 +1966,7 @@ const createOrUpdateByIdOperationSpec$1 = {
|
|
|
1944
1966
|
mediaType: "json",
|
|
1945
1967
|
serializer: serializer$1
|
|
1946
1968
|
};
|
|
1947
|
-
const listByResourceGroupNextOperationSpec
|
|
1969
|
+
const listByResourceGroupNextOperationSpec = {
|
|
1948
1970
|
path: "{nextLink}",
|
|
1949
1971
|
httpMethod: "GET",
|
|
1950
1972
|
responses: {
|
|
@@ -1974,7 +1996,7 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
|
1974
1996
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1975
1997
|
*/
|
|
1976
1998
|
/// <reference lib="esnext.asynciterable" />
|
|
1977
|
-
class ApplicationClient extends
|
|
1999
|
+
class ApplicationClient extends coreClient__namespace.ServiceClient {
|
|
1978
2000
|
/**
|
|
1979
2001
|
* Initializes a new instance of the ApplicationClient class.
|
|
1980
2002
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -2080,7 +2102,7 @@ class ApplicationClient extends coreClient.ServiceClient {
|
|
|
2080
2102
|
}
|
|
2081
2103
|
}
|
|
2082
2104
|
// Operation Specifications
|
|
2083
|
-
const serializer
|
|
2105
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2084
2106
|
const listOperationsOperationSpec = {
|
|
2085
2107
|
path: "/providers/Microsoft.Solutions/operations",
|
|
2086
2108
|
httpMethod: "GET",
|
|
@@ -2092,7 +2114,7 @@ const listOperationsOperationSpec = {
|
|
|
2092
2114
|
queryParameters: [apiVersion],
|
|
2093
2115
|
urlParameters: [$host],
|
|
2094
2116
|
headerParameters: [accept],
|
|
2095
|
-
serializer
|
|
2117
|
+
serializer
|
|
2096
2118
|
};
|
|
2097
2119
|
const listOperationsNextOperationSpec = {
|
|
2098
2120
|
path: "{nextLink}",
|
|
@@ -2105,7 +2127,7 @@ const listOperationsNextOperationSpec = {
|
|
|
2105
2127
|
queryParameters: [apiVersion],
|
|
2106
2128
|
urlParameters: [$host, nextLink],
|
|
2107
2129
|
headerParameters: [accept],
|
|
2108
|
-
serializer
|
|
2130
|
+
serializer
|
|
2109
2131
|
};
|
|
2110
2132
|
|
|
2111
2133
|
exports.ApplicationClient = ApplicationClient;
|