@azure/arm-loadtesting 1.0.0-beta.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 (136) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +2209 -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/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.js +49 -0
  11. package/dist-esm/samples-dev/loadTestsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/loadTestsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/loadTestsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/loadTestsDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/loadTestsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/loadTestsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/loadTestsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/loadTestsGetSample.js +31 -0
  19. package/dist-esm/samples-dev/loadTestsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js +44 -0
  23. package/dist-esm/samples-dev/loadTestsListByResourceGroupSample.js.map +1 -0
  24. package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js +43 -0
  27. package/dist-esm/samples-dev/loadTestsListBySubscriptionSample.js.map +1 -0
  28. package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js +45 -0
  31. package/dist-esm/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/loadTestsUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/loadTestsUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/loadTestsUpdateSample.js +45 -0
  35. package/dist-esm/samples-dev/loadTestsUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  39. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  40. package/dist-esm/samples-dev/quotasCheckAvailabilitySample.d.ts +2 -0
  41. package/dist-esm/samples-dev/quotasCheckAvailabilitySample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/quotasCheckAvailabilitySample.js +37 -0
  43. package/dist-esm/samples-dev/quotasCheckAvailabilitySample.js.map +1 -0
  44. package/dist-esm/samples-dev/quotasGetSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/quotasGetSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/quotasGetSample.js +31 -0
  47. package/dist-esm/samples-dev/quotasGetSample.js.map +1 -0
  48. package/dist-esm/samples-dev/quotasListSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/quotasListSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/quotasListSample.js +44 -0
  51. package/dist-esm/samples-dev/quotasListSample.js.map +1 -0
  52. package/dist-esm/src/index.d.ts +6 -0
  53. package/dist-esm/src/index.d.ts.map +1 -0
  54. package/dist-esm/src/index.js +13 -0
  55. package/dist-esm/src/index.js.map +1 -0
  56. package/dist-esm/src/loadTestClient.d.ts +22 -0
  57. package/dist-esm/src/loadTestClient.d.ts.map +1 -0
  58. package/dist-esm/src/loadTestClient.js +102 -0
  59. package/dist-esm/src/loadTestClient.js.map +1 -0
  60. package/dist-esm/src/lroImpl.d.ts +16 -0
  61. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  62. package/dist-esm/src/lroImpl.js +29 -0
  63. package/dist-esm/src/lroImpl.js.map +1 -0
  64. package/dist-esm/src/models/index.d.ts +568 -0
  65. package/dist-esm/src/models/index.d.ts.map +1 -0
  66. package/dist-esm/src/models/index.js +68 -0
  67. package/dist-esm/src/models/index.js.map +1 -0
  68. package/dist-esm/src/models/mappers.d.ts +30 -0
  69. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  70. package/dist-esm/src/models/mappers.js +800 -0
  71. package/dist-esm/src/models/mappers.js.map +1 -0
  72. package/dist-esm/src/models/parameters.d.ts +15 -0
  73. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  74. package/dist-esm/src/models/parameters.js +136 -0
  75. package/dist-esm/src/models/parameters.js.map +1 -0
  76. package/dist-esm/src/operations/index.d.ts +4 -0
  77. package/dist-esm/src/operations/index.d.ts.map +1 -0
  78. package/dist-esm/src/operations/index.js +11 -0
  79. package/dist-esm/src/operations/index.js.map +1 -0
  80. package/dist-esm/src/operations/loadTests.d.ts +132 -0
  81. package/dist-esm/src/operations/loadTests.d.ts.map +1 -0
  82. package/dist-esm/src/operations/loadTests.js +661 -0
  83. package/dist-esm/src/operations/loadTests.js.map +1 -0
  84. package/dist-esm/src/operations/operations.d.ts +32 -0
  85. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  86. package/dist-esm/src/operations/operations.js +132 -0
  87. package/dist-esm/src/operations/operations.js.map +1 -0
  88. package/dist-esm/src/operations/quotas.d.ts +50 -0
  89. package/dist-esm/src/operations/quotas.d.ts.map +1 -0
  90. package/dist-esm/src/operations/quotas.js +207 -0
  91. package/dist-esm/src/operations/quotas.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/loadTests.d.ts +78 -0
  97. package/dist-esm/src/operationsInterfaces/loadTests.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/loadTests.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/loadTests.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/quotas.d.ts +27 -0
  105. package/dist-esm/src/operationsInterfaces/quotas.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/quotas.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/quotas.js.map +1 -0
  108. package/dist-esm/src/pagingHelper.d.ts +13 -0
  109. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  110. package/dist-esm/src/pagingHelper.js +32 -0
  111. package/dist-esm/src/pagingHelper.js.map +1 -0
  112. package/dist-esm/test/loadtesting_example.spec.d.ts +4 -0
  113. package/dist-esm/test/loadtesting_example.spec.d.ts.map +1 -0
  114. package/dist-esm/test/loadtesting_example.spec.js +108 -0
  115. package/dist-esm/test/loadtesting_example.spec.js.map +1 -0
  116. package/package.json +122 -0
  117. package/review/arm-loadtesting.api.md +437 -0
  118. package/rollup.config.js +122 -0
  119. package/src/index.ts +13 -0
  120. package/src/loadTestClient.ts +144 -0
  121. package/src/lroImpl.ts +34 -0
  122. package/src/models/index.ts +645 -0
  123. package/src/models/mappers.ts +855 -0
  124. package/src/models/parameters.ts +158 -0
  125. package/src/operations/index.ts +11 -0
  126. package/src/operations/loadTests.ts +887 -0
  127. package/src/operations/operations.ts +150 -0
  128. package/src/operations/quotas.ts +258 -0
  129. package/src/operationsInterfaces/index.ts +11 -0
  130. package/src/operationsInterfaces/loadTests.ts +152 -0
  131. package/src/operationsInterfaces/operations.ts +22 -0
  132. package/src/operationsInterfaces/quotas.ts +56 -0
  133. package/src/pagingHelper.ts +39 -0
  134. package/tsconfig.json +33 -0
  135. package/types/arm-loadtesting.d.ts +781 -0
  136. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/loadTestsDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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 { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Delete a LoadTest resource.
15
+ *
16
+ * @summary Delete a LoadTest resource.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Delete.json
18
+ */
19
+ function loadTestsDelete() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const resourceGroupName = "dummyrg";
23
+ const loadTestName = "myLoadTest";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new LoadTestClient(credential, subscriptionId);
26
+ const result = yield client.loadTests.beginDeleteAndWait(resourceGroupName, loadTestName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ loadTestsDelete().catch(console.error);
31
+ //# sourceMappingURL=loadTestsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/loadTestsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=loadTestsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/loadTestsGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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 { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Get a LoadTest resource.
15
+ *
16
+ * @summary Get a LoadTest resource.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Get.json
18
+ */
19
+ function loadTestsGet() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const resourceGroupName = "dummyrg";
23
+ const loadTestName = "myLoadTest";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new LoadTestClient(credential, subscriptionId);
26
+ const result = yield client.loadTests.get(resourceGroupName, loadTestName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ loadTestsGet().catch(console.error);
31
+ //# sourceMappingURL=loadTestsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsGetSample.js","sourceRoot":"","sources":["../../samples-dev/loadTestsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC3E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=loadTestsListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/loadTestsListByResourceGroupSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists loadtest resources in a resource group.
15
+ *
16
+ * @summary Lists loadtest resources in a resource group.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_ListByResourceGroup.json
18
+ */
19
+ function loadTestsListByResourceGroup() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const resourceGroupName = "dummyrg";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new LoadTestClient(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.loadTests.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ loadTestsListByResourceGroup().catch(console.error);
44
+ //# sourceMappingURL=loadTestsListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/loadTestsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,SAAS,CAAC,mBAAmB,CACzD,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=loadTestsListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/loadTestsListBySubscriptionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists loadtests resources in a subscription.
15
+ *
16
+ * @summary Lists loadtests resources in a subscription.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_ListBySubscription.json
18
+ */
19
+ function loadTestsListBySubscription() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new LoadTestClient(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.loadTests.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ loadTestsListBySubscription().catch(console.error);
43
+ //# sourceMappingURL=loadTestsListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/loadTestsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAjD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=loadTestsListOutboundNetworkDependenciesEndpointsSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsListOutboundNetworkDependenciesEndpointsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists the endpoints that agents may call as part of load testing.
15
+ *
16
+ * @summary Lists the endpoints that agents may call as part of load testing.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_ListOutboundNetworkDependenciesEndpoints.json
18
+ */
19
+ function listOutboundNetworkDependencies() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "subid";
23
+ const resourceGroupName = "default-azureloadtest-japaneast";
24
+ const loadTestName = "sampleloadtest";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new LoadTestClient(credential, subscriptionId);
27
+ const resArray = new Array();
28
+ try {
29
+ for (var _b = __asyncValues(client.loadTests.listOutboundNetworkDependenciesEndpoints(resourceGroupName, loadTestName)), _c; _c = yield _b.next(), !_c.done;) {
30
+ let item = _c.value;
31
+ resArray.push(item);
32
+ }
33
+ }
34
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
35
+ finally {
36
+ try {
37
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
38
+ }
39
+ finally { if (e_1) throw e_1.error; }
40
+ }
41
+ console.log(resArray);
42
+ });
43
+ }
44
+ listOutboundNetworkDependencies().catch(console.error);
45
+ //# sourceMappingURL=loadTestsListOutboundNetworkDependenciesEndpointsSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsListOutboundNetworkDependenciesEndpointsSample.js","sourceRoot":"","sources":["../../samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,iCAAiC,CAAC;QAC5D,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,SAAS,CAAC,wCAAwC,CAC9E,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=loadTestsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/loadTestsUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
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 { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Update a loadtest resource.
15
+ *
16
+ * @summary Update a loadtest resource.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Update.json
18
+ */
19
+ function loadTestsUpdate() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const resourceGroupName = "dummyrg";
23
+ const loadTestName = "myLoadTest";
24
+ const loadTestResourcePatchRequestBody = {
25
+ description: "This is new load test resource",
26
+ encryption: {
27
+ identity: { type: "SystemAssigned", resourceId: undefined },
28
+ keyUrl: "https://dummy.vault.azure.net/keys/dummykey1"
29
+ },
30
+ identity: {
31
+ type: "SystemAssigned,UserAssigned",
32
+ userAssignedIdentities: {
33
+ "/subscriptions/00000000000000000000000000000000/resourceGroups/dummyrg/providers/MicrosoftManagedIdentity/userAssignedIdentities/id1": {}
34
+ }
35
+ },
36
+ tags: { division: "LT", team: "Dev Exp" }
37
+ };
38
+ const credential = new DefaultAzureCredential();
39
+ const client = new LoadTestClient(credential, subscriptionId);
40
+ const result = yield client.loadTests.beginUpdateAndWait(resourceGroupName, loadTestName, loadTestResourcePatchRequestBody);
41
+ console.log(result);
42
+ });
43
+ }
44
+ loadTestsUpdate().catch(console.error);
45
+ //# sourceMappingURL=loadTestsUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/loadTestsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,YAAY,GAAG,YAAY,CAAC;QAClC,MAAM,gCAAgC,GAAqC;YACzE,WAAW,EAAE,gCAAgC;YAC7C,UAAU,EAAE;gBACV,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE;gBAC3D,MAAM,EAAE,8CAA8C;aACvD;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,6BAA6B;gBACnC,sBAAsB,EAAE;oBACtB,sIAAsI,EAAE,EAAE;iBAC3I;aACF;YACD,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,kBAAkB,CACtD,iBAAiB,EACjB,YAAY,EACZ,gCAAgC,CACjC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists all the available API operations for Load Test Resource.
15
+ *
16
+ * @summary Lists all the available API operations for Load Test Resource.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Operations_List.json
18
+ */
19
+ function operationsList() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new LoadTestClient(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.operations.list()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ operationsList().catch(console.error);
43
+ //# sourceMappingURL=operationsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAApC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=quotasCheckAvailabilitySample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotasCheckAvailabilitySample.d.ts","sourceRoot":"","sources":["../../samples-dev/quotasCheckAvailabilitySample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
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 { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Check Quota Availability on quota bucket per region per subscription.
15
+ *
16
+ * @summary Check Quota Availability on quota bucket per region per subscription.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_CheckAvailability.json
18
+ */
19
+ function quotasCheckAvailability() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const location = "westus";
23
+ const quotaBucketName = "testQuotaBucket";
24
+ const quotaBucketRequest = {
25
+ currentQuota: 40,
26
+ currentUsage: 20,
27
+ dimensions: { location: "westus", subscriptionId: "testsubscriptionId" },
28
+ newQuota: 50
29
+ };
30
+ const credential = new DefaultAzureCredential();
31
+ const client = new LoadTestClient(credential, subscriptionId);
32
+ const result = yield client.quotas.checkAvailability(location, quotaBucketName, quotaBucketRequest);
33
+ console.log(result);
34
+ });
35
+ }
36
+ quotasCheckAvailability().catch(console.error);
37
+ //# sourceMappingURL=quotasCheckAvailabilitySample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotasCheckAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/quotasCheckAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAsB,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,QAAQ,GAAG,QAAQ,CAAC;QAC1B,MAAM,eAAe,GAAG,iBAAiB,CAAC;QAC1C,MAAM,kBAAkB,GAAuB;YAC7C,YAAY,EAAE,EAAE;YAChB,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,oBAAoB,EAAE;YACxE,QAAQ,EAAE,EAAE;SACb,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAClD,QAAQ,EACR,eAAe,EACf,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=quotasGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotasGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/quotasGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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 { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Get the available quota for a quota bucket per region per subscription.
15
+ *
16
+ * @summary Get the available quota for a quota bucket per region per subscription.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_Get.json
18
+ */
19
+ function quotasGet() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
22
+ const location = "westus";
23
+ const quotaBucketName = "testQuotaBucket";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new LoadTestClient(credential, subscriptionId);
26
+ const result = yield client.quotas.get(location, quotaBucketName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ quotasGet().catch(console.error);
31
+ //# sourceMappingURL=quotasGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotasGetSample.js","sourceRoot":"","sources":["../../samples-dev/quotasGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,SAAS;;QACtB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,QAAQ,GAAG,QAAQ,CAAC;QAC1B,MAAM,eAAe,GAAG,iBAAiB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;QAClE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=quotasListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotasListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/quotasListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { LoadTestClient } from "@azure/arm-loadtesting";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Lists all the available quota per region per subscription.
15
+ *
16
+ * @summary Lists all the available quota per region per subscription.
17
+ * x-ms-original-file: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_List.json
18
+ */
19
+ function quotasList() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
23
+ const location = "westus";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new LoadTestClient(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.quotas.list(location)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ quotasList().catch(console.error);
44
+ //# sourceMappingURL=quotasListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotasListSample.js","sourceRoot":"","sources":["../../samples-dev/quotasListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,UAAU;;;QACvB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,QAAQ,GAAG,QAAQ,CAAC;QAC1B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,cAAc,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA,IAAA;gBAAxC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,UAAU,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /// <reference lib="esnext.asynciterable" />
2
+ export { getContinuationToken } from "./pagingHelper";
3
+ export * from "./models";
4
+ export { LoadTestClient } from "./loadTestClient";
5
+ export * from "./operationsInterfaces";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,13 @@
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
+ /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper";
10
+ export * from "./models";
11
+ export { LoadTestClient } from "./loadTestClient";
12
+ export * from "./operationsInterfaces";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,22 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, Quotas, LoadTests } from "./operationsInterfaces";
4
+ import { LoadTestClientOptionalParams } from "./models";
5
+ export declare class LoadTestClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the LoadTestClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The ID of the target subscription.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: LoadTestClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ operations: Operations;
19
+ quotas: Quotas;
20
+ loadTests: LoadTests;
21
+ }
22
+ //# sourceMappingURL=loadTestClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadTestClient.d.ts","sourceRoot":"","sources":["../../src/loadTestClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,qBAAa,cAAe,SAAQ,UAAU,CAAC,aAAa;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B;IA8ExC,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;CACtB"}