@azure/arm-loadtesting 1.0.1-alpha.20231010.1 → 1.0.1-alpha.20231024.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 +40 -68
- 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/loadTestsListByResourceGroupSample.js +3 -8
- package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js +3 -8
- package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js +3 -8
- package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +3 -8
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotasListSample.js +3 -8
- package/dist-esm/samples-dev/quotasListSample.js.map +1 -1
- package/dist-esm/src/operations/loadTests.js +9 -24
- package/dist-esm/src/operations/loadTests.js.map +1 -1
- package/dist-esm/src/operations/operations.js +3 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/quotas.js +3 -8
- package/dist-esm/src/operations/quotas.js.map +1 -1
- package/dist-esm/test/loadtesting_quota_operations.spec.js +7 -12
- package/dist-esm/test/loadtesting_quota_operations.spec.js.map +1 -1
- package/package.json +3 -10
- package/rollup.config.js +0 -122
package/dist/index.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var tslib = require('tslib');
|
|
6
4
|
var coreClient = require('@azure/core-client');
|
|
7
5
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
6
|
var coreLro = require('@azure/core-lro');
|
|
9
7
|
|
|
10
|
-
function
|
|
11
|
-
if (e && e.__esModule) return e;
|
|
8
|
+
function _interopNamespaceDefault(e) {
|
|
12
9
|
var n = Object.create(null);
|
|
13
10
|
if (e) {
|
|
14
11
|
Object.keys(e).forEach(function (k) {
|
|
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
|
|
|
21
18
|
}
|
|
22
19
|
});
|
|
23
20
|
}
|
|
24
|
-
n
|
|
21
|
+
n.default = e;
|
|
25
22
|
return Object.freeze(n);
|
|
26
23
|
}
|
|
27
24
|
|
|
28
|
-
var coreClient__namespace = /*#__PURE__*/
|
|
29
|
-
var coreRestPipeline__namespace = /*#__PURE__*/
|
|
25
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
26
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
30
27
|
|
|
31
28
|
/*
|
|
32
29
|
* Copyright (c) Microsoft Corporation.
|
|
@@ -930,34 +927,34 @@ const LoadTestsDeleteHeaders = {
|
|
|
930
927
|
|
|
931
928
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
932
929
|
__proto__: null,
|
|
933
|
-
|
|
934
|
-
Operation: Operation,
|
|
935
|
-
OperationDisplay: OperationDisplay,
|
|
936
|
-
ErrorResponse: ErrorResponse,
|
|
937
|
-
ErrorDetail: ErrorDetail,
|
|
938
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
939
|
-
QuotaResourceList: QuotaResourceList,
|
|
940
|
-
Resource: Resource,
|
|
941
|
-
SystemData: SystemData,
|
|
942
|
-
QuotaBucketRequestPropertiesDimensions: QuotaBucketRequestPropertiesDimensions,
|
|
943
|
-
LoadTestResourcePageList: LoadTestResourcePageList,
|
|
930
|
+
CheckQuotaAvailabilityResponse: CheckQuotaAvailabilityResponse,
|
|
944
931
|
EncryptionProperties: EncryptionProperties,
|
|
945
932
|
EncryptionPropertiesIdentity: EncryptionPropertiesIdentity,
|
|
946
|
-
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
947
|
-
UserAssignedIdentity: UserAssignedIdentity,
|
|
948
|
-
LoadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody,
|
|
949
|
-
OutboundEnvironmentEndpointCollection: OutboundEnvironmentEndpointCollection,
|
|
950
|
-
OutboundEnvironmentEndpoint: OutboundEnvironmentEndpoint,
|
|
951
933
|
EndpointDependency: EndpointDependency,
|
|
952
934
|
EndpointDetail: EndpointDetail,
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
TrackedResource: TrackedResource,
|
|
935
|
+
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
936
|
+
ErrorDetail: ErrorDetail,
|
|
937
|
+
ErrorResponse: ErrorResponse,
|
|
957
938
|
LoadTestResource: LoadTestResource,
|
|
939
|
+
LoadTestResourcePageList: LoadTestResourcePageList,
|
|
940
|
+
LoadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody,
|
|
958
941
|
LoadTestsCreateOrUpdateHeaders: LoadTestsCreateOrUpdateHeaders,
|
|
942
|
+
LoadTestsDeleteHeaders: LoadTestsDeleteHeaders,
|
|
959
943
|
LoadTestsUpdateHeaders: LoadTestsUpdateHeaders,
|
|
960
|
-
|
|
944
|
+
ManagedServiceIdentity: ManagedServiceIdentity,
|
|
945
|
+
Operation: Operation,
|
|
946
|
+
OperationDisplay: OperationDisplay,
|
|
947
|
+
OperationListResult: OperationListResult,
|
|
948
|
+
OutboundEnvironmentEndpoint: OutboundEnvironmentEndpoint,
|
|
949
|
+
OutboundEnvironmentEndpointCollection: OutboundEnvironmentEndpointCollection,
|
|
950
|
+
QuotaBucketRequest: QuotaBucketRequest,
|
|
951
|
+
QuotaBucketRequestPropertiesDimensions: QuotaBucketRequestPropertiesDimensions,
|
|
952
|
+
QuotaResource: QuotaResource,
|
|
953
|
+
QuotaResourceList: QuotaResourceList,
|
|
954
|
+
Resource: Resource,
|
|
955
|
+
SystemData: SystemData,
|
|
956
|
+
TrackedResource: TrackedResource,
|
|
957
|
+
UserAssignedIdentity: UserAssignedIdentity
|
|
961
958
|
});
|
|
962
959
|
|
|
963
960
|
/*
|
|
@@ -1157,16 +1154,11 @@ class OperationsImpl {
|
|
|
1157
1154
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1158
1155
|
var _a, e_1, _b, _c;
|
|
1159
1156
|
try {
|
|
1160
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1157
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1161
1158
|
_c = _f.value;
|
|
1162
1159
|
_d = false;
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1166
|
-
}
|
|
1167
|
-
finally {
|
|
1168
|
-
_d = true;
|
|
1169
|
-
}
|
|
1160
|
+
const page = _c;
|
|
1161
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1170
1162
|
}
|
|
1171
1163
|
}
|
|
1172
1164
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1291,16 +1283,11 @@ class QuotasImpl {
|
|
|
1291
1283
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
1292
1284
|
var _a, e_1, _b, _c;
|
|
1293
1285
|
try {
|
|
1294
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1286
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1295
1287
|
_c = _f.value;
|
|
1296
1288
|
_d = false;
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1300
|
-
}
|
|
1301
|
-
finally {
|
|
1302
|
-
_d = true;
|
|
1303
|
-
}
|
|
1289
|
+
const page = _c;
|
|
1290
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1304
1291
|
}
|
|
1305
1292
|
}
|
|
1306
1293
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1526,16 +1513,11 @@ class LoadTestsImpl {
|
|
|
1526
1513
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
1527
1514
|
var _a, e_1, _b, _c;
|
|
1528
1515
|
try {
|
|
1529
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1516
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1530
1517
|
_c = _f.value;
|
|
1531
1518
|
_d = false;
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1535
|
-
}
|
|
1536
|
-
finally {
|
|
1537
|
-
_d = true;
|
|
1538
|
-
}
|
|
1519
|
+
const page = _c;
|
|
1520
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1539
1521
|
}
|
|
1540
1522
|
}
|
|
1541
1523
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1593,16 +1575,11 @@ class LoadTestsImpl {
|
|
|
1593
1575
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
1594
1576
|
var _a, e_2, _b, _c;
|
|
1595
1577
|
try {
|
|
1596
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1578
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1597
1579
|
_c = _f.value;
|
|
1598
1580
|
_d = false;
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1602
|
-
}
|
|
1603
|
-
finally {
|
|
1604
|
-
_d = true;
|
|
1605
|
-
}
|
|
1581
|
+
const page = _c;
|
|
1582
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1606
1583
|
}
|
|
1607
1584
|
}
|
|
1608
1585
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
@@ -1661,16 +1638,11 @@ class LoadTestsImpl {
|
|
|
1661
1638
|
return tslib.__asyncGenerator(this, arguments, function* listOutboundNetworkDependenciesEndpointsPagingAll_1() {
|
|
1662
1639
|
var _a, e_3, _b, _c;
|
|
1663
1640
|
try {
|
|
1664
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, loadTestName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
1641
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listOutboundNetworkDependenciesEndpointsPagingPage(resourceGroupName, loadTestName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
1665
1642
|
_c = _f.value;
|
|
1666
1643
|
_d = false;
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1670
|
-
}
|
|
1671
|
-
finally {
|
|
1672
|
-
_d = true;
|
|
1673
|
-
}
|
|
1644
|
+
const page = _c;
|
|
1645
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
1674
1646
|
}
|
|
1675
1647
|
}
|
|
1676
1648
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|