@azure/arm-resourceconnector 1.0.0-alpha.20230417.1 → 1.0.0-alpha.20230427.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/dist/index.js +37 -16
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +12 -5
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +12 -5
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/appliancesListOperationsSample.js +12 -5
- package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +21 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/operations/appliances.js +36 -15
- package/dist-esm/src/operations/appliances.js.map +1 -1
- package/dist-esm/src/resourceConnectorManagementClient.js +1 -1
- package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -1
- package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts +4 -0
- package/dist-esm/test/resourceconnnector__operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/resourceconnnector__operations_test.spec.js +123 -0
- package/dist-esm/test/resourceconnnector__operations_test.spec.js.map +1 -0
- package/package.json +2 -2
- package/src/resourceConnectorManagementClient.ts +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 1.0.0 (2023-04-
|
|
3
|
+
## 1.0.0-beta.3 (2023-04-21)
|
|
4
4
|
|
|
5
5
|
The package of @azure/arm-resourceconnector is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
|
package/dist/index.js
CHANGED
|
@@ -1192,17 +1192,24 @@ class AppliancesImpl {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
listOperationsPagingAll(options) {
|
|
1194
1194
|
return tslib.__asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
|
|
1195
|
-
var e_1,
|
|
1195
|
+
var _a, e_1, _b, _c;
|
|
1196
1196
|
try {
|
|
1197
|
-
for (var
|
|
1198
|
-
|
|
1199
|
-
|
|
1197
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listOperationsPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1198
|
+
_c = _f.value;
|
|
1199
|
+
_d = false;
|
|
1200
|
+
try {
|
|
1201
|
+
const page = _c;
|
|
1202
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1203
|
+
}
|
|
1204
|
+
finally {
|
|
1205
|
+
_d = true;
|
|
1206
|
+
}
|
|
1200
1207
|
}
|
|
1201
1208
|
}
|
|
1202
1209
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1203
1210
|
finally {
|
|
1204
1211
|
try {
|
|
1205
|
-
if (
|
|
1212
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1206
1213
|
}
|
|
1207
1214
|
finally { if (e_1) throw e_1.error; }
|
|
1208
1215
|
}
|
|
@@ -1252,17 +1259,24 @@ class AppliancesImpl {
|
|
|
1252
1259
|
}
|
|
1253
1260
|
listBySubscriptionPagingAll(options) {
|
|
1254
1261
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
1255
|
-
var e_2,
|
|
1262
|
+
var _a, e_2, _b, _c;
|
|
1256
1263
|
try {
|
|
1257
|
-
for (var
|
|
1258
|
-
|
|
1259
|
-
|
|
1264
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1265
|
+
_c = _f.value;
|
|
1266
|
+
_d = false;
|
|
1267
|
+
try {
|
|
1268
|
+
const page = _c;
|
|
1269
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1270
|
+
}
|
|
1271
|
+
finally {
|
|
1272
|
+
_d = true;
|
|
1273
|
+
}
|
|
1260
1274
|
}
|
|
1261
1275
|
}
|
|
1262
1276
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1263
1277
|
finally {
|
|
1264
1278
|
try {
|
|
1265
|
-
if (
|
|
1279
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1266
1280
|
}
|
|
1267
1281
|
finally { if (e_2) throw e_2.error; }
|
|
1268
1282
|
}
|
|
@@ -1313,17 +1327,24 @@ class AppliancesImpl {
|
|
|
1313
1327
|
}
|
|
1314
1328
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
1315
1329
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1316
|
-
var e_3,
|
|
1330
|
+
var _a, e_3, _b, _c;
|
|
1317
1331
|
try {
|
|
1318
|
-
for (var
|
|
1319
|
-
|
|
1320
|
-
|
|
1332
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1333
|
+
_c = _f.value;
|
|
1334
|
+
_d = false;
|
|
1335
|
+
try {
|
|
1336
|
+
const page = _c;
|
|
1337
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1338
|
+
}
|
|
1339
|
+
finally {
|
|
1340
|
+
_d = true;
|
|
1341
|
+
}
|
|
1321
1342
|
}
|
|
1322
1343
|
}
|
|
1323
1344
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
1324
1345
|
finally {
|
|
1325
1346
|
try {
|
|
1326
|
-
if (
|
|
1347
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
1327
1348
|
}
|
|
1328
1349
|
finally { if (e_3) throw e_3.error; }
|
|
1329
1350
|
}
|
|
@@ -1868,7 +1889,7 @@ class ResourceConnectorManagementClient extends coreClient__namespace.ServiceCli
|
|
|
1868
1889
|
requestContentType: "application/json; charset=utf-8",
|
|
1869
1890
|
credential: credentials
|
|
1870
1891
|
};
|
|
1871
|
-
const packageDetails = `azsdk-js-arm-resourceconnector/1.0.0`;
|
|
1892
|
+
const packageDetails = `azsdk-js-arm-resourceconnector/1.0.0-beta.3`;
|
|
1872
1893
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
1873
1894
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
1874
1895
|
: `${packageDetails}`;
|